James Bachini

Tools

  • TradingView Pine Script Examples | Master Pine Script With 6 Real World Examples

    TradingView Pine Script Examples | Master Pine Script With 6 Real World Examples

    TradingView’s Pine Script coding language has emerged as the leading tool for traders looking to craft custom indicators and strategies with accuracy and ease. In this Pine Script tutorial I’ll provide a practical gateway into the intricacies of this coding language, tailored with useful examples to get you started. Whether you’re a novice coder or…

  • How I Track Developer Activity For Crypto Projects

    How I Track Developer Activity For Crypto Projects

    In this article I’m going to share how to track developer activity for crypto projects for fundamental analysis. James On YouTube Watch On YouTube: https://youtu.be/DTI7ELSA6CA |Subscribe Understanding the Crypto Development Ecosystem Cryptocurrencies like Bitcoin and Ethereum as well as the majority of blockchain projects are fundamentally software. They are applications that run on a decentralized…

  • OpenZeppelin 5 Solidity Common Errors

    OpenZeppelin 5 Solidity Common Errors

    OpenZeppelin have just released version 5 of their Solidity smart contract libraries and there are some breaking changes that are going to cause errors. The two main ones are the Ownable.sol import which allows devs to create onlyOwner functions and the token hooks on ERC20, ERC721 & ERC1155 contracts. Ownable Constructor If you are getting…

  • Celestia | Modular AppChains

    Celestia | Modular AppChains

    Celestia is one of the most widely used scaling solutions for projects that need high throughput, cheap transactions on a dedicated decentralized public blockchain. The aim is for “developers to deploy their own blockchain as easy as deploying a new smart contract” This is a write up of my internal research notes, this is not…

  • Hardhat vs Foundry

    Hardhat vs Foundry

    I started developing solidity with Truffle, then moved to Hardhat, then moved to Foundry, then moved back to Hardhat before eventually settling using both on a regular basis. In this article I’ll talk about the benefits and disadvantages of Hardhat and Foundry so you can make an informed decision about which framework is better for…

  • Gnosis Safe | The Most Secure Multisig Wallet For Your Crypto

    Gnosis Safe | The Most Secure Multisig Wallet For Your Crypto

    Gnosis Safe multisig wallets are used by institutions and individuals to hold some of the largest quantities of funds on the Ethereum network. The free to use wallet includes multisignature functionality for enhanced security and control over digital assets. It is developed by Gnosis, a blockchain technology company based out of Switzerland and Germany, known…

  • Snapshot | Gasless Voting for Decentralized Communities

    Snapshot | Gasless Voting for Decentralized Communities

    In decentralized communities voting plays a crucial role in governance and development of roadmaps. Snapshot is disrupting the traditional DAO voting model with a gas free voting platform. This is not a sponsored post and I have no stake in Snapshot, I do however like to use and promote open source tools which enable decentralized…

  • Uniswap Market Maker Bot | Managing Token Liquidity On Uniswap

    Uniswap Market Maker Bot | Managing Token Liquidity On Uniswap

    In this tutorial I am going to go through how I built a market maker bot to manage liquidity on Uniswap v3 for a token pair. The idea is to create a automated trading bot which buys tokens when price falls below a base line value and sells tokens when price is above the base…

  • OpenZeppelin Libraries | Solidity Tips & Examples

    OpenZeppelin Libraries | Solidity Tips & Examples

    OpenZeppelin libraries are popular for building secure smart contracts on top of pre-audited code in Solidity. The framework includes a number of reusable smart contract components, such as token contracts, access control contracts, and math libraries. In this article we will explore the various Libraries available within the OpenZeppelin framework to give you a tool…

  • Advanced MidJourney Prompt Engineering | Unleash Your Inner Artist

    Advanced MidJourney Prompt Engineering | Unleash Your Inner Artist

    As the leading AI image generator, MidJourney consistently produces stunning, high-quality images that range from the bizarre to the breathtaking. As someone who lacks artistic talent, I’ve taken the time to study and master this tool, and in this post I share my insights and tips for getting the most out of it. Follow my…

  • Remixd Tutorial | How To Take The Solidity IDE To The Next Level

    Remixd Tutorial | How To Take The Solidity IDE To The Next Level

    I’ve gone full circle from Remix > Hardhat > Foundry > Remix I find that I enjoy coding most when I’m experimenting with ideas and proof of concepts within the Remix IDE at https://remix.ethereum.org However for more serious projects I inevitably find myself moving out of creative mode and into testing mode in either Hardhat…

  • Trading The Merge

    Trading The Merge

    Once or twice a year the crypto markets align to provide exceptional trading volumes and volatility. I believe the Ethereum merge will presents one such opportunity for low time frame system trading. James On YouTube Watch On YouTube: https://youtu.be/3ltpF4UGir4 |Subscribe About The Ethereum Merge The merge is happening in just a few days. This is…

  • Dune Analytics Tutorial | How To Create A Dune Analytics Dashboard

    Dune Analytics Tutorial | How To Create A Dune Analytics Dashboard

    In this Dune Analytics Tutorial we will look at how the platform works and get up to speed with creating our own queries, visualisations and dashboards to analyse and present blockchain data. Queries, Visualisations & Dashboards Dune Analytics dashboards are built using a 3 step process. First we make SQL queries to pull data into…

  • Hardhat Plugins & Hacks For Solidity Developers

    Hardhat Plugins & Hacks For Solidity Developers

    Hardhat provides a lot of features out of the box but with the addition of some 3rd party plugins and some additional code snippets we can add custom functionality to streamline our testing and migration processes. Top 3 Hardhat Plugins These plugins add a lot of functionality to make your life as a developer easier…

  • Foundry Tutorial | How To Debug & Deploy Solidity Smart Contracts

    Foundry Tutorial | How To Debug & Deploy Solidity Smart Contracts

    Foundry is a Solidity Framework for building, testing, fuzzing, debugging and deploying Solidity smart contracts. In this Foundry tutorial we will cover the following: Introduction To Foundry [Video] James On YouTube Watch On YouTube: https://youtu.be/VhaP9kYvlOA |Subscribe Smart contracts are most often written in Solidity but tested and deployed using Javascript frameworks such as Truffle or…

  • How To Generate Artwork For NFT’s With Jang.js

    How To Generate Artwork For NFT’s With Jang.js

    This article explains how to generate artwork for NFT’s like cryptopunks where there are 10,000 profile pictures. Most of the NFT generators you’ll find online are designed for simplicity and ease of use for non-developers. I wanted to create something which was customisable and expandable to allow for more innovative NFT collections. Jang.js “Just Another…

  • Blockchain Developer Roadmap | A Guide To Learning Blockchain Development

    Blockchain Developer Roadmap | A Guide To Learning Blockchain Development

    This blockchain developer roadmap lays out a framework for learning blockchain development. It should provide a wealth of resources and information for aspiring blockchain developers. Blockchain Developer Roadmap James On YouTube Watch On YouTube: https://youtu.be/h-IcAZX7250 Understanding The Moving Parts There are a number of roles within the blockchain sector and an understanding of what each…

  • How To Create A TradingView Indicator | Easy Pinescript 5 Tutorial

    How To Create A TradingView Indicator | Easy Pinescript 5 Tutorial

    In this Pinescript tutorial we will build out a simple TradingView indicator using the latest version of Pinescript v5. TradingView Indicator Tutorial This video goes through the Tradingview indicator tutorial with more details and code snippets available in the article below. James On YouTube Watch On YouTube: https://youtu.be/gWw6Hv3CuBU Getting Started With Indicators TradingView indicators are…

  • Markdown Tutorial | How To Get Started With Markdown 🖋

    Markdown Tutorial | How To Get Started With Markdown 🖋

    In this markdown tutorial I’ll be showing you how to get started with writing simple markdown for docs and social media before going on to some more advanced concepts and exploring the things you can do with markdown. Markdown Tutorial This video goes through the basics step by step. There are more details, copy &…

  • Deno JS | Deno vs Node.JS

    Deno JS | Deno vs Node.JS

    Deno is a Javascript and Typescript runtime from the creator of Node.js For anyone that doesn’t know Node.js is a server-side Javascript runtime. It’s used by millions of projects across the globe and powers the backends and API’s of many of the world’s leading websites. Then came Deno (aka Deno.js or Deno JS), an improved…

  • How to encrypt text file in Visual Studio Code (VSCode)

    How to encrypt text file in Visual Studio Code (VSCode)

    I wanted a way to quickly encrypt and decrypt text files in VSCode using a memorised pass phrase so I created an easy to use plugin to encrypt text in Visual Studio Code. VSC has become the text editor of choice for most developers and it is relatively simple to create and publish a plugin…

  • Prevent Mobile Browsers From Turning Off

    Prevent Mobile Browsers From Turning Off

    The following code has been published to prevent mobile browsers from turning off and going into sleep mode. This was affecting setTimeout functions as the javascript code in the browser is effectively paused preventing the event loop from processing once sleep mode is activated. I originally looked at nosleep.js but ended up simplifying the code…

  • Pop Under Code 2020

    Pop Under Code 2020

    Updated September 2020 This pop under code is used for running pop under traffic on your own site. It adds an onclick function to every link on the page which opens a new tab with the clicked link and changes the existing window (underneath) to a popped ad URL. Opening links in new tabs isn’t…

  • Beautiful Email Template [Download]

    Beautiful Email Template [Download]

    Here is a beautiful email template layout which you can download from here: http://jamesbachini.com/misc/email.zip View the HTML page: http://jamesbachini.com/misc/email.htm Update all the images and links before you send out. The background skyline is in the zip file, you could modify to suit your niche just keep the color the same.

  • A simple floating feedback/support button

    A simple floating feedback/support button

    Updated for 2020 with a cleaner design. This uses the mail command in PHP to send the email but if this is disabled on your server you can connect it to Sendgrid/Mailchimp/AWS etc for the sending of email queries. There is a working example at: https://jamesbachini.com/misc/feedbackexample.html The code for this is really easy to implement…

  • New: Facebook interest targeting brainstorm tool

    New: Facebook interest targeting brainstorm tool

    This is more for my use but others might find it helpful when trying to come up with targeting ideas for interests on Facebook Ads. Facebook Ads Targeting Tool

  • RAM & CPU Usage PHP Script | Server Health Check

    RAM & CPU Usage PHP Script | Server Health Check

    This single file server health check script works on Windows, Linux and possibly others. It is written in PHP to show CPU usage, RAM usage, Incoming Connections and Hard disk usage. Update September 2020 Server Check PHP was getting a lot of downloads so I’ve updated the code and open sourced it on Github. If…

  • Basic exit intent pop up script

    Basic exit intent pop up script

    The following script will launch a pop up and redirect if the user moves the mouse off the page. You can add this to your landing page targeted at desktop users, on mobile it wont work obviously. This is just a basic version but you can change the popUp() function to load an email capture…

  • Download: Basic Email Newsletter Template

    Download: Basic Email Newsletter Template

    Here is a template for a basic email newsletter: http://www.jamesbachini.com/misc/emailnewsletter.zip http://www.jamesbachini.com/misc/emailnewsletter.html Some important things to note when creating email newsletters: Inline CSS Only, no style sheets or <style> tags as they will be stripped by most clients. Make it responsive, a lot of email is read on mobile, it should collapse and expand beautifully. Add…

  • Tool to generate a guest blog post request

    Tool to generate a guest blog post request

    This tool can be used to generate a guest blog post request for SEO purposes. This is a great way to not only build SEO juice but it also gets your name out there and helps interact with the community surrounding your niche. http://www.jamesbachini.com/misc/guestpostrequest.php Simply enter your name,site,niche and theirs and it will generate a…

  • A Simple Mobile Landing Page Template

    A Simple Mobile Landing Page Template

    Here’s a quick design template which is very flexible for mobile app / pin submit type offers. You can view the page at: http://jamesbachini.com/misc/simplemobile.htm And download it from: http://jamesbachini.com/misc/simplemobile.zip Obviously be careful that your button is above the fold on old and new phones. Big image + long headers can push it below which wouldn’t…

  • Daily Calcs Profit And Loss Spreadsheet Download For Affiliate Marketers

    Daily Calcs Profit And Loss Spreadsheet Download For Affiliate Marketers

    Here is the spreadsheet I use to monitor my profit and loss accounts on a daily basis. It’s provided here as a downloadable spreadsheet but I would recommend setting it up how you want and then uploading to Google Docs so it can be worked on from anywhere by anyone. This document works by inputting…

  • Simple PPC List Builder

    Simple PPC List Builder

    I used to use a programme called JAH Simple PPC to build out wordlists for pay per click campaigns. Basically it would combine different key word variations. I couldn’t find it anymore so decided to build my own and get a bit of practice with javascript. Hope this is useful to someone. http://www.jamesbachini.com/misc/ppc.htm http://www.jamesbachini.com/misc/ppc.htm The…