James Bachini

Tutorials

  • Creating A Solidity Escrow Smart Contract

    Creating A Solidity Escrow Smart Contract

    In this tutorial, we will create an Escrow contract using Solidity and deploy it to an Ethereum testnet. An Escrow contract is a financial agreement where a third party (the arbitrator) holds and regulates payment of the funds required for two parties involved in a given transaction. It helps make transactions more secure as it…

  • How To Create ERC404 Tokens Solidity Tutorial

    How To Create ERC404 Tokens Solidity Tutorial

    An ERC404 token is a digital asset that combines the characteristics of ERC20 fungible tokens and ERC721 non-fungible tokens (aka NFT’s) to enable fractional ownership of an NFT. In essence, ERC404 tokens represent divisible parts of an NFT, allowing multiple individuals to own shares of a single NFT. This approach is designed to enhance the…

  • Vyper Tutorial | Learn Vyper In 24 Hours

    Vyper Tutorial | Learn Vyper In 24 Hours

    Vyper is a pythonesque smart contract language that can be compiled and deployed on Ethereum and other EVM blockchains. 90%+ of blockchain devs use Solidity but there are some big projects such as Curve using Vyper and it’s growing in popularity and tooling compatibility. The best way to get started with Vyper is to head…

  • Using Vyper With Remix

    Using Vyper With Remix

    You can now use Vyper (a smart contract programming language similar to python) with remix to build and deploy contracts on Ethereum and other EVM blockchains. The first step is installing the Vyper plugin at https://remix.ethereum.org/ where you’ll find a list of plugins using the icon in the bottom left. You’ll then get an extra…

  • Sell Me This Pen.sol

    Sell Me This Pen.sol

    What happens when you ask a blockchain developer to sell you a pen? Etch your words permanently on the Ethereum blockchain where they will outlive you & create an everlasting record of your thoughts, contemplations & predictions. This is your chance to leave an eternal mark and express your presence in the digital age while…

  • How To Deploy A Website Or dApp To IPFS | Fleek Tutorial

    How To Deploy A Website Or dApp To IPFS | Fleek Tutorial

    Gm, in this tutorial we are going to be deploying a website to IPFS to create a decentralized frontend. To do this I’ll be using Fleek which has a free tier and which suits our needs. James On YouTube Watch On YouTube: https://youtu.be/https://youtu.be/DmpXbmjnpec |Subscribe We will start by getting our site on Github. We can…

  • 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…

  • Solidity Proxy Contract Tutorial With Example Code

    Solidity Proxy Contract Tutorial With Example Code

    This Solidity proxy contract tutorial delves into the concept of upgradeable proxy contracts in Solidity, specifically utilizing OpenZeppelin’s proxy contract template. We’ll start with an understanding of how these contracts work, the compromise of immutable decentralization vs upgradeability and then dive into practical code examples. Upgradeable Proxy Contracts A proxy contract is a design pattern…

  • Web3 Session Keys

    Web3 Session Keys

    We are going on a journey to seamlessly integrate session keys into a web3 dApp, striking a balance between autonomy and ease of use that your users are yearning for. The goal is to enable users to authenticate with a digital wallet and store a session key on their device. This session key will provide…

  • Ethers-rs Tutorial | The Rust Web3 Library

    Ethers-rs Tutorial | The Rust Web3 Library

    In this tutorial we will be setting up a Rust script to connect to a smart contract on a blockchain network to display on-chain data using the ethers-rs library. James On YouTube Watch On YouTube: https://youtu.be/FA7WFGtyri8 |Subscribe Let’s start by setting up a new Rust project (you’ll need rust installed on your device and I’ll…

  • How I Built A Smart Money List On Twitter

    How I Built A Smart Money List On Twitter

    X formerly known as Twitter includes two features which allows us to create a list of accounts from people that frontrun narratives and successful trades. tl;dr if you just want to see the final list it is here: https://twitter.com/i/lists/1712044491618545903 James On YouTube Watch On YouTube: https://youtu.be/4qYraarbsYs |Subscribe Step 1. Collecting Project Data My main focus…

  • Hardhat Solidity Tutorial

    Hardhat Solidity Tutorial

    Hardhat is an extensive framework for developing, testing and deploying solidity smart contracts. In this Hardhat Solidity tutorial you will learn how to set it up, how to create hardhat unit test tricks, working with hardhat scripts and finally some Hardhat tips and tricks for Solidity developers. Hardhat Easy Setup Hardhat is built on NodeJS…

  • Calculating The Intrinsic Value Of Bitcoin & Ethereum

    Calculating The Intrinsic Value Of Bitcoin & Ethereum

    Calculating the intrinsic value of Bitcoin, Ethereum and other digital assets is challenging due to its intangible nature. In this analysis I’m going to discuss common methods of calculating intrinsic value and then create a model using a combination of the methods. tl;dr based on the models described below: Methods Of Calculating Intrinsic Value Store…

  • The Essential Checklist For Deploying A New Token

    The Essential Checklist For Deploying A New Token

    In this article we are going to look at all the things that need doing when launching a new token to create a token deployment checklist for developers and founders. At the end there is a big list of all the token listing sites that you can submit your new token to. Unit Tests &…

  • Solidity Tutorial | Gas Paying NFT

    Solidity Tutorial | Gas Paying NFT

    The challenge is to create a NFT contract that charges 1 ETH to mint but then stores the entire amount as collateral in a liquid staking token. As staking rewards come in they get distributed to the holders of the NFTs. At any time a user can burn the NFT to reclaim the 1 ETH.…

  • Web3 PWA Boilerplate | How To Create Next Generation dApps

    Web3 PWA Boilerplate | How To Create Next Generation dApps

    One of Web3’s biggest issues is getting around the centralization of app stores and their stringent terms on the commission requirements for digital asset payments and transfers. Progressive Web Apps (PWAs) in my opinion are the best solution as it allows you to install dApps directly on to a mobile device without using the app…

  • Using Ethereum To Offset Bitcoin’s Carbon Footprint

    Using Ethereum To Offset Bitcoin’s Carbon Footprint

    Never have I sounded more like an Ethereum maxi, but there is a point beyond the provocative title. In this post I’m going to explore the potential for investors to use carbon credit tokens on Ethereum to offset the electrical consumption of BTC mining on their Bitcoin holdings. This novel idea provides the opportunity to…

  • How To Shuffle A Deck Of Cards In Solidity

    How To Shuffle A Deck Of Cards In Solidity

    In this post I explore how to simulate the shuffling of a deck of cards, addressing the challenges of randomness and predictability in a solidity smart contract environment where every input and output is part of the public record. Whether you’re looking to create an on-chain poker game, a collectible card game, or you’re simply…

  • The Secrets Web3 Marketers Use To Launch New Crypto Projects

    The Secrets Web3 Marketers Use To Launch New Crypto Projects

    My previous background in digital marketing and now having worked in the blockchain sector for 6 years provides unique vantage point on the differences between conventional and web3 marketing. Successful crypto projects create communities of advocates who act as micro-influencers championing the cause. In this article I’ll discuss why “build it and they will come”…

  • Solana SoLang Tutorial | How To Deploy Solidity On Solana

    Solana SoLang Tutorial | How To Deploy Solidity On Solana

    In this SoLang tutorial I’ll show you how to deploy Solidity code on Solana. We will start by setting up a dev environment before looking at some of the nuances in writing SoLang contracts. I’ll end on a few security considerations and a comparison to developing on Solana with SoLang vs Rust. Setting Up A…

  • 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…

  • 3 Tips For Gas Efficient Solidity Smart Contracts

    3 Tips For Gas Efficient Solidity Smart Contracts

    Here are 3 tips which could be considered the low hanging fruit of gas efficient solidity smart contracts. James On YouTube Watch On YouTube: https://youtu.be/xfNHzqkMWEQ |Subscribe Use Correct Modifiers & Declarations This is the simplest way to get some small wins with gas optimisation. Go through your contract and define anything that shouldn’t change as…

  • How To Create Your Own Memecoin With Solidity and Uniswap

    How To Create Your Own Memecoin With Solidity and Uniswap

    In this tutorial we will be creating a permissionless, ERC20 memecoin and deploying it with a Uniswap v3 liquidity pool so users can buy it on the decentralized exchange. This tutorial is for demonstration purposes, don’t speculate on memecoins. James On YouTube Watch On YouTube: https://youtu.be/-bVzqtIa0bc |Subscribe The full source code for this is at:…

  • Technical Analysis For Crypto Degenerates

    Technical Analysis For Crypto Degenerates

    For cynics technical analysis is seen as astrology for middle aged white guys for others it is the holy grail, which when mastered, inevitably leads to trading success. The truth is somewhere in the middle, it is undeniable that price action reacts more at some levels than others. It’s important for anyone involved in investing…

  • Sign In With Ethereum Tutorial

    Sign In With Ethereum Tutorial

    To sign in with Ethereum using Metamask we will be using the ERC4361 specification that allows Ethereum accounts to authenticate with off-chain services using a standard message format. This technology offer users a self-custodial alternative to centralized identity providers that generally use email:password credentials. In Web3 applications we can improve user experiences and establish a…

  • Solidity Callback | Solidity Tips & Examples

    Solidity Callback | Solidity Tips & Examples

    A callback function in Solidity allows us to pass a function reference from one contract to another and have it execute as part of an atomic transaction. James On YouTube Watch On YouTube: https://youtu.be/pjm0eOelPXc |Subscribe Let’s first take a look at an example from the Solidity Snippets Github repo. Full code at: https://github.com/jamesbachini/Solidity-Snippets/blob/main/contracts/Callback.sol This code…

  • Strings in Solidity | Solidity Tips & Examples

    Strings in Solidity | Solidity Tips & Examples

    A string in Solidity is a data type used to store text. Working with strings in Solidity can be challenging due to the limitations and efficiency required by the Ethereum virtual machine. This article aims to provide a comprehensive guide on how to use strings in Solidity, covering their properties, limitations, and best practices for…

  • Timestamp in Solidity | Solidity Tips & Examples

    Timestamp in Solidity | Solidity Tips & Examples

    A timestamp is a numerical value that represents a specific moment in time. It’s often used to track when a certain event occurred or when a piece of data was created or modified. The most common way to represent a timestamp is by using the number of seconds that have elapsed since a specific moment…

  • encodeCall in Solidity | Solidity Tips & Examples

    encodeCall in Solidity | Solidity Tips & Examples

    From Solidity version 0.8.11 we can use an interface to define a function to pass to encodeCall parameters. encodeCall is a function that allows you to encode a function call with its parameters into a single byte array. This byte array can then be used to make a low-level call to another contract’s function. Here…

  • Custom Error Handling in Solidity | Solidity Tips & Examples

    Custom Error Handling in Solidity | Solidity Tips & Examples

    Custom error handling enables Solidity developers to efficiently handle reverts and failed transactions including logging parameters. Let’s first take a look at an example from the Solidity Snippets Github repo: Note that the Solidity compiler version must be greater than 0.8.4 to use custom errors. Customer errors are supported by Etherscan and most other block…

  • Solidity Libraries | Solidity Tips & Examples

    Solidity Libraries | Solidity Tips & Examples

    A solidity library is a reusable contract that contains functions that can be called by other contracts. When you import a Solidity library into your contract, you can use the functions provided by the library. How To Import Solidity Libraries In your smart contract, you can import the library by using the import keyword followed…

  • Random Numbers in Solidity | Solidity Tips & Examples

    Random Numbers in Solidity | Solidity Tips & Examples

    Generating a random number in Solidity is not as straightforward as in some other programming languages, because the Ethereum blockchain is deterministic, meaning that multiple execution clients or nodes must come to the same conclusion about the state of the blockchain. For many use cases using the new prevrandao global variable provides “good enough” randomness…

  • Conditional Statements & Loops in Solidity | Solidity Tips & Examples

    Conditional Statements & Loops in Solidity | Solidity Tips & Examples

    Conditional statements & loops in Solidity are fairly intuitive and follow the conventions of other languages such as Javascript. In this article we will go through some examples of each before looking at the relational operators we can use within these statements. if statement The “if” statement is used to execute a block of code…

  • Natspec in Solidity | Solidity Tips & Examples

    Natspec in Solidity | Solidity Tips & Examples

    Natspec comments are important for Solidity developers to understand because sooner or later you will come across a code base that requires you work with them. Proponents will say Natspec makes the code more readable and understandable. While I personally disagree with this and prefer to separate code and documentation, the format is popular and…

  • ERC1155 Token Contract | Solidity Tips & Examples

    ERC1155 Token Contract | Solidity Tips & Examples

    ERC1155 offers a more flexible and efficient way of managing fungible and non-fungible tokens, making it an attractive option for developers who want to create complex digital assets with multiple use cases. In this blog post, we’ll dive into the details of ERC1155 and explore why it’s becoming a preferred choice for Solidity developers looking…

  • ERC721 Token Contract | Solidity Tips & Examples

    ERC721 Token Contract | Solidity Tips & Examples

    The ERC721 Token contract is the original industry standard for NFTs (Non-fungible tokens). In this article we will look at a simple example and talk about some of the best practices around building ERC721 Tokens. James On YouTube Watch On YouTube: https://youtu.be/B64VBGt3tMU |Subscribe Why Use ERC721 Token ERC721 is a standard interface for NFTs on…

  • ERC20 Token Contract | Solidity Tips & Examples

    ERC20 Token Contract | Solidity Tips & Examples

    ERC20 tokens have become the de facto standard for creating tokens on Ethereum and are widely used in many DeFi protocols for things like governance and utility tokens. Why Use ERC20 Token Solidity developers use ERC20 tokens because they are the industry standard for fungible tokens (where every token is equal to another one). The…

  • Merkle Tree in Solidity | Solidity Tips & Examples

    Merkle Tree in Solidity | Solidity Tips & Examples

    Merkle Trees provide an efficient way to verify data in Solidity. This reduces the gas cost for on-chain storage when validating large data sets such as a large list of addresses. James On YouTube Watch On YouTube: https://youtu.be/NTPpyL4pJG0 |Subscribe How Do Merkle Trees Work Merkle trees are a data structure that allow efficient and secure…

  • How To Emit Events in Solidity | Solidity Tips & Examples

    How To Emit Events in Solidity | Solidity Tips & Examples

    A Solidity Event is a way for smart contracts to communicate with the outside world by providing a mechanism for emitting messages that can be observed by external applications. It’s like a signalling message that is broadcast when a certain condition is met within the smart contract. Emitting Events In Solidity Here is a simple…

  • Bulk Send Tokens & ETH Contract | Solidity Tips & Examples

    Bulk Send Tokens & ETH Contract | Solidity Tips & Examples

    Sending payments in bulk can be a tedious and time-consuming process, especially when dealing with a large number of recipients. However, with a Solidity smart contract, bulk payments can be executed in a matter of seconds, providing a more efficient and cost-effective solution for managing bulk transfers. In this article, I will walk you through…

  • Multiple Return Values | Solidity Tips & Examples

    Multiple Return Values | Solidity Tips & Examples

    In Solidity we can multiple return values from a function. This enables us to efficiently move data about within the application flow of a smart contract. In this example we are returning three variables enclosed within brackets. Note that the data types of these variables are defined at the top of the function in the…

  • Modifiers in Solidity | Solidity Tips & Examples

    Modifiers in Solidity | Solidity Tips & Examples

    Modifiers in Solidity are a way to add a certain condition to functions within a smart contract. They allow developers to define a piece of code that can be reused across multiple functions and contracts, making your code more modular and easier to read. A modifier is defined using the modifier keyword, followed by a…

  • Struct in Solidity | Solidity Tips & Examples

    Struct in Solidity | Solidity Tips & Examples

    A struct in Solidity is a data type that allows you to group together multiple variables of different data types into a single unit. This is useful because it gives us a convenient container to package structured data, it enables us to pack variables into memory slots more efficiently and it allows us to get…

  • Ownable Contracts | Solidity Tips & Examples

    Ownable Contracts | Solidity Tips & Examples

    Ownable contracts in Solidity are used to implement access control for certain functions. The idea is that only the contract owner, who is typically the deployer of the contract, can execute these protected functions. To do this we will first import the OpenZeppelin library Inside our contract we can then add the onlyOwner modifier to…

  • Payable Transfers | Solidity Tips & Examples

    Payable Transfers | Solidity Tips & Examples

    Payable transfers are one of a number of ways to send ether from a Solidity smart contract to an external address. In this next example we create a fallback function so that any user can send this contract ether and it will get split between the different addresses. Full code at: https://github.com/jamesbachini/Solidity-Snippets/blob/main/contracts/PaymentDivider.sol Payable fails if…

  • Solidity Interface | Solidity Tips & Examples

    Solidity Interface | Solidity Tips & Examples

    A Solidity interface is code that provides a set of function declarations without any implementation details. Interfaces are used to interact with 3rd party contracts or external systems by defining a common set of functions that both parties agree to implement. Interfaces are used to define a contract’s external-facing functions, which is the only part…

  • 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…

  • Arrays in Solidity | Solidity Tips & Examples

    Arrays in Solidity | Solidity Tips & Examples

    Arrays are a fundamental data structure in programming, and Solidity is no exception. In Solidity, there are several types of arrays available, including dynamic arrays, fixed-size arrays, and multi-dimensional arrays. Dynamic Arrays Dynamic arrays are the most common type of array in Solidity. These are arrays whose length can be changed during runtime. To declare…

  • Get Contract Balance | Solidity Tips & Examples

    Get Contract Balance | Solidity Tips & Examples

    To get the contract balance in solidity there are a few different methods depending on if you want the Ether balance or an ERC20 token balance. Contract Balance Eth You can use the address type’s balance property to get the balance of any address, including the contract’s own address. The this value is used to…

  • Mapping in Solidity | Solidity Tips & Examples

    Mapping in Solidity | Solidity Tips & Examples

    This article explores how mapping in Solidity is used to for storing key->value pairs, where the keys are of a specific data type and the values can be of any data type. Mappings are declared using the mapping keyword, followed by the key data type in parentheses and the value data type after the parentheses.…

  • Variables in Solidity | Solidity Tips & Examples

    Variables in Solidity | Solidity Tips & Examples

    Variables in Solidity can be classified into several categories based on their data types and scope. In this article we will explore all the different uses of variables in Solidity and look at some example code. Variables in Solidity Solidity variables are used to store and manipulate data in our smart contracts. They come in…

  • ERC721 vs ERC1155 | Solidity Tips & Examples

    ERC721 vs ERC1155 | Solidity Tips & Examples

    Today we will discuss the differences between ERC721 vs ERC1155 smart contracts and the use cases where each is best suited. These are the two most popular types of smart contracts used for the creation of NFTs (non-fungible tokens). James On YouTube Watch On YouTube: https://youtu.be/B64VBGt3tMU |Subscribe ERC721 Smart Contract ERC721 is the original standard…

  • The Feynman Technique 2.0

    The Feynman Technique 2.0

    The Feynman Technique is a learning tool developed by the infamous physicist Richard Feynman. It involves breaking down complex concepts into simple terms and explaining them as if you were teaching the subject. In March 2020 Covid lockdowns were imposed and I started creating content based on what I was learning or interested about at…

  • Anonymous Developer Tutorial | How & Why You Should Code Anonymously

    Anonymous Developer Tutorial | How & Why You Should Code Anonymously

    There are plenty of articles and content about why you should be an anonymous developer for blockchain projects but I haven’t seen much content about best practices and how to actually set up an anonymous development environment. In this article we will cover the following:- Anonymous Developer Video Tutorial James On YouTube Watch On YouTube:…

  • 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…

  • Advanced ChatGPT Prompt Engineering

    Advanced ChatGPT Prompt Engineering

    By now you have probably experimented with ChatGPT and realised the huge potential this “calculator for words” has. In this article I share the results of my research on how to make the most of this powerful tool. Whether you’re using ChatGPT as a personal assistant or in a professional setting, you’ll find some valuable…

  • 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…

  • How To Debug Solidity Smart Contracts

    How To Debug Solidity Smart Contracts

    If you’ve ever received a “gas message” error which makes no sense in Solidity then you’ve probably come across one of it’s greatest flaws. Error reporting and debugging isn’t great for blockchain developers but in this tutorial I’m going to provide some tips, tools and resources to debug Solidity smart contracts. James On YouTube Watch…

  • Dynamic Evolving NFTs | How To Create Dynamic NFTs & dApps

    Dynamic Evolving NFTs | How To Create Dynamic NFTs & dApps

    Dynamic NFTs include logic that evolves the underlying data that the NFT contract holds. In this example we will build a picture profile NFT that is upgradeable to an alien 👽 All the source code for this project is available at: https://github.com/jamesbachini/WomenWhoCode Dynamic NFT Smart Contract The Solidity smart contracts will comprise of two tokens:…

  • Aligning Founders, VC’s and Stakeholders Interests In A Smart Contract

    Aligning Founders, VC’s and Stakeholders Interests In A Smart Contract

    The blockchain sector prides itself on openness and transparency. Except that is when it comes to early stage VC deals and token allocations. In this article we are going to look at an experimental solidity smart contract which lays out terms, vesting schedules and milestone bonuses on-chain. Team Allocations and VC Unlock Schedules 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…

  • 3 Examples Of How To Use Assembly In Solidity

    3 Examples Of How To Use Assembly In Solidity

    Ethereum developers can directly use assembly in Solidity to improve the performance of their code. When OpenSea released the Seaport upgrade it reported the use of assembly reduced gas fees by 35% saving it’s users an estimated $460m per year. Today we are going to go through some simple examples of how and when to…

  • Solidity for Beginners

    Solidity for Beginners

    Solidity is the programming language used to develop smart contracts on Ethereum and other compatible blockchains. In this “Solidity for Beginners” tutorial I will take you from setting up solidity tools to deploying your first contract. James On YouTube Watch On YouTube: https://youtu.be/yM6oRMdMiTM |Subscribe Tools & Setup We will be starting in Remix which is…

  • Solidity Interface Examples | How To Connect The Lego Bricks Of DeFi

    Solidity Interface Examples | How To Connect The Lego Bricks Of DeFi

    Solidity interfaces allow developers to call external contracts from within their own smart contract. This enables us to build on top of the existing DeFi ecosystem. In this tutorial we will be looking at how solidity interfaces work and going through some example code for common tasks. James On YouTube Watch On YouTube: https://youtu.be/GWZmklp7RTg |Subscribe…

  • 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…

  • Crypto Index Funds | Set Protocol & Index Coop

    Crypto Index Funds | Set Protocol & Index Coop

    This article looks at the future of crypto index funds running on DeFi and in particular the Set Protocol and Index Coop. Crypto index funds known as sets provide a single token which represents a managed or fixed fund of digital assets. Index Funds in TradFi and DeFi In traditional finance index funds are the…

  • Intermediate Solidity Tutorial | Building On DeFi Lego Bricks With Hardhat 👷

    Intermediate Solidity Tutorial | Building On DeFi Lego Bricks With Hardhat 👷

    In this intermediate solidity tutorial I’ll be building, testing and deploying a smart contract to rebalance a digital asset portfolio. The idea is to look at how we can work with external smart contracts to start building our own products on the lego bricks of DeFi. The Challenge To create a solidity smart contract to…

  • Optimism Tutorial | How To Use Optimism On Ethereum

    Optimism Tutorial | How To Use Optimism On Ethereum

    In this Optimism tutorial we will be looking at what Optimism layer 2 is, how to use it and how to develop smart contracts on the Ethereum layer 2. What is Optimism & Layer 2? Optimism is a layer 2 scaling solution for Ethereum which offers lower transaction fees. For consumers who are used to…

  • 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 &…

  • Arbitrum Tutorial | How To Use The Ethereum Layer 2 Solution

    Arbitrum Tutorial | How To Use The Ethereum Layer 2 Solution

    This Arbitrum Tutorial explores what Arbitrum is and how it works, the opportunities layer 2’s present for investors and developers, before testing the deployment of smart contracts on the Arbitrum network and calculating gas fee reductions. What Is Arbitrum? Arbitrum is a layer 2 scaling solution for the Ethereum network. The L2 has opened it’s…

  • How To Create A New Token And Uniswap Liquidity Pool

    How To Create A New Token And Uniswap Liquidity Pool

    In this article I will create a new token and make it available to swap on a decentralised exchange. I’ll be deploying a solidity smart contract to mint an ERC20 token on Ethereum and setting up a liquidity pool on Uniswap v3. Create A New Token & Liquidity Pool [Video] This video provides an overview…

  • Solidity Tutorial | For Developers Coming From Javascript, C++, Python

    Solidity Tutorial | For Developers Coming From Javascript, C++, Python

    In this Solidity tutorial I’ll be going through the work flow to develop smart contracts on Ethereum using the Solidity programming language. Solidity Developer Tutorial [Video] James On YouTube Introduction To Solidity Smart Contracts Solidity is the programming language of Ethereum and many other blockchains that use the Ethereum virtual machine. A developer will write…

  • Twitter Trading Bot | Elon + DOGE = Profit

    Twitter Trading Bot | Elon + DOGE = Profit

    In this article I’ll share how I built a Twitter trading bot to trade a cryptocurrency called DOGE every time Elon Musk tweeted something mentioning it. I’ll be using NodeJS to query the Twitter API and then executing trades on FTX. Building A Twitter Trading Bot Video James On YouTube The “Elon Effect” Opportunity Anything…

  • Sharpe Ratio Explained | How To Calculate Risk Adjusted Returns

    Sharpe Ratio Explained | How To Calculate Risk Adjusted Returns

    In this article we look at how to calculate risk adjusted returns using the sharpe ratio. We look at some modern examples which you can try using the share ratio calculator. Sharpe Ratio Calculator This calculator uses the simplified Sharpe ratio as discussed here. Possibilities Success Chances: % Return: $ Break Even Chances: % Return:…

  • Pine Script Tutorial | How To Develop Real Trading Strategies On TradingView

    Pine Script Tutorial | How To Develop Real Trading Strategies On TradingView

    In this pine script tutorial I’ll be showing you how to get started with TradingView scripting for technical analysis and trading strategy development. We will start by looking at how pine script works and a simple example. From there we will move on to inputs and indicators before creating a complete trading strategy using pine…

  • DeFi Passive Income | How To Generate Yield On Crypto Assets

    DeFi Passive Income | How To Generate Yield On Crypto Assets

    This ultimate how to guide will show you how to earn a passive income on your crypto holdings. We will start by looking at different types of DeFi passive income and how it works. Then I’ll explain how liquidity providers earn transaction fees and explore market leaders including Uniswap, Pancake Swap, Pangolin and Raydium. Finally…

  • Deribit Review | Read This First

    Deribit Review | Read This First

    Deribit is the leading options trading platform for cryptocurrencies. In this article I’ll be doing a comprehensive Deribit review and providing insights and strategies for options trading on deribit.com Deribit Demo [Video] James On YouTube Bitcoin Futures & Options The Deribit brand combines Derivatives with Bitcoin and these derivatives come in two forms futures and…

  • Solana Tutorial | Building Smart Contracts & dApps For The Solana Hackathon

    Solana Tutorial | Building Smart Contracts & dApps For The Solana Hackathon

    This Solana tutorial goes through a step by step process of setting up a development environment for Solana, writing and deploying smart contracts and my experiences with entering the Solana Hackathon. Getting Started With Solana Solana is a high performance modern blockchain with impressive throughput capabilities. It can handle 50,000 transactions per second which makes…

  • Separating Signal From Noise on WallStreetBets [Niche Website]

    Separating Signal From Noise on WallStreetBets [Niche Website]

    This case study looks at how I went about building a one page website around the trending WallStreetBets community. Creating A Niche Website To Filter WallStreetBets [Video] The Problem & A Simple Solution Starting With A Script Lean Methodology For Niche Websites Marketing A Niche Website Niche Website Monetisation & Financials Conclusion Creating A Niche…

  • Digital Marketing Overview | Beginners Guide

    Digital Marketing Overview | Beginners Guide

    In this beginners guide I provide a digital marketing overview of how to setup and run online marketing campaigns. Check out the video and there’s more detailed information below and in the digital marketing tutorials section. [Video] Digital Marketing For Beginners How Online Marketing Works Performance Marketing Process Analytics & Tracking Website, Landing Page Design…

  • Direct Linking | How To Set Up Quick Affiliate Campaigns 🏹

    Direct Linking | How To Set Up Quick Affiliate Campaigns 🏹

    In this article we look at how direct linking affiliate offers works including a real world campaign setup video. What Is Direct Linking? Benefits Of Direct Linking Finding Affiliate Offers Finding A Traffic Source Testing & Initial Results Optimizing Direct Link Campaigns Scaling Up Affiliate Campaigns 3 Tips For Direct Linking Video Example Direct Linking…

  • Custom QR Code Design | How To Create Custom QR Codes For Marketing

    Custom QR Code Design | How To Create Custom QR Codes For Marketing

    Here is an example of a custom QR Code which you can scan with any camera app to get a link back to this website In this article I’m going to show you how you can create these using a free tools. How Do QR Codes Work Generate QR Code Link Import QR Code To…

  • Brand Narrative | How To Create Narratives With Brand Storytelling 🖋️

    Brand Narrative | How To Create Narratives With Brand Storytelling 🖋️

    This module is part of a free online course where you can learn digital marketing. Brand Narrative & The Art Of Storytelling [Video] How Narratives Affect Business & Markets The Why That Drives Your Company Building A Brand With A Strong Narrative 3 Brand Narrative Examples Expressing Narratives With Brand Storytelling How To Share Your…

  • 5 Retargeting Examples| Remarketing Strategies With Facebook & Google Ads

    5 Retargeting Examples| Remarketing Strategies With Facebook & Google Ads

    This module is part of a free online course where you can learn digital marketing. Here are some retargeting examples of how to run effective remarketing campaigns on Google & Facebook Ads. As I go through the examples I will be introducing new concepts and more advanced retargeting methods. Content (Re)Marketing Bombardment URL & Event…

  • Creating Google Ads | Tips, Tools & Strategies

    Creating Google Ads | Tips, Tools & Strategies

    This article is part of a free online course where you can learn digital marketing. In this module I’ll be showing you how to create Google Ads effectively to get the best return on ad spend. Creating Google Ads Video Where Google Displays Ads Setting Up Google Ads Campaigns PPC Keyword List Tool Tracking Conversions…

  • How To Monetise Your Website | 8 Ways To Make Money Online 💰

    How To Monetise Your Website | 8 Ways To Make Money Online 💰

    This article is part of a free online course where you can learn digital marketing. The following 8 methods are the most effective ways to monetise your website. Banner Ads Affiliate Marketing Accept Donations Consulting Merchandise Sponsored Content / Links / Shoutouts Creating Digital Products Selling The Site The Passive Income Spectrum 8 Ways To…

  • Copywriting for Websites | Marketing Psychology Secrets

    Copywriting for Websites | Marketing Psychology Secrets

    This article is part of a free online course where you can learn digital marketing. This article provides original research on how copywriting for websites converts visitors to customers and how to write better sales copy on your next website or landing page. 32 Copywriting Tricks Learned From Analysing 210 Landing Pages Marketing Psychology Concepts…

  • SEO Content | How To Rank On Google 🕵️

    SEO Content | How To Rank On Google 🕵️

    This article is part of a free online course where you can learn digital marketing. In this article we are going to go through the complete process of creating SEO content that ranks at the top of Google. SEO in 90 Seconds What Content Ranks Well On Google Keyword Research High Click Through Rate Titles…

  • Browser Automation With Javascript

    Browser Automation With Javascript

    In this article I am going to demonstrate how anyone can learn some simple code to automate common tasks using a standard web browser. Browser automation is a great tool for productivity and scaling up repetitive tasks. James On YouTube What Can Be Automated and Why? Have you ever found yourself carrying out the same…

  • CRO | Conversion Rate Optimisation

    CRO | Conversion Rate Optimisation

    This article is part of a free online course where you can learn digital marketing. Conversion rate optimisation or CRO is the process of making a website, landing page or app convert more visitors into leads and customers. What is CRO and do I need it? What is the Average Improvement to Conversion Rate? How…

  • 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…

  • What is Online Marketing? | A Definitive Guide

    What is Online Marketing? | A Definitive Guide

    This article is part of a free online course where you can learn digital marketing. Introduction In this document I explain how online marketing works, provide online marketing tips and show how online marketers make money. There is a deep dive into building web properties, which traffic sources are being used and how to scale…

  • ReasonLIGO | Building Smart Contracts & Dapps On Tezos

    ReasonLIGO | Building Smart Contracts & Dapps On Tezos

    Tezos smart contracts are compiled from a custom low level language called Michelson. For web developers however learning a new low level programming language is a barrier to entry… Enter LIGO and specifically ReasonLigo. ReasonLIGO  is the most accessible way to develop smart contracts for web developers. ReasonLIGO is based on ReasonML which is based…

  • How do you turn a website into an app in 7 steps

    How do you turn a website into an app in 7 steps

    This is a step by step guide to using a open-source package called Cordova to turn a website into mobile app on Android and iOS. I’ll be using a windows device for this but all the packages are also available for a Mac. To publish an app to the iOS app store you need to…

  • Micro Conversions | Complete Guide To Optimising & Scaling With Micro Conversions

    Micro Conversions | Complete Guide To Optimising & Scaling With Micro Conversions

    What are micro conversions? Micro conversions are minor events such as clicks and scrolls that we can use to track visitor behaviour and optimise advertising and landing pages faster. They are generally not directly linked to key performance indicators for an advertising campaign but can be used to scale (increase traffic volumes) more effectively. James…