James Bachini

Featured

  • Crypto Travel Rule | Creating A Surveillance State

    Crypto Travel Rule | Creating A Surveillance State

    From the 1st September 2023 the crypto travel rule will come into force in the UK, the EU is holding a grace period with plans to bring it in towards the end of 2024 and it’s already in place in the US, Canada and other parts of the globe. What Is The Crypto Travel Rule…

  • Tokenized US Treasuries | Ondo Finance vs MatrixDock

    Tokenized US Treasuries | Ondo Finance vs MatrixDock

    Tokenized US treasuries offer a yield on stablecoin holdings and with rising interest rates they are quickly gaining traction in DeFi markets. In this article I want to look at two projects to see how they compare and how the real world asset ecosystem is shaping up. Real World Assets In the last six months…

  • Automate Solidity With MEV

    Automate Solidity With MEV

    There are no cron jobs in Solidity or native to the Ethereum blockchain. To automate Solidity code we can either use an external service/oracle or we can incentivise MEV searchers to complete tasks efficiently on our behalf. This type of Solidity automation is very common and used widely across liquidation systems which require reliable, fast,…

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

  • Aevo Decentralized Options Platfor

    Aevo Decentralized Options Platfor

    Aevo is a hybrid decentralized options protocol running an off-chain orderbook with trades routed through a dedicated EVM appChain and settled on Ethereum mainnet. The exchange is built by the Ribbon Finance team who plan to migrate Ribbons products to Aevo options. For traders and market makers it offers a decentralized alternative to Deribit. How…

  • Hop Exchange | DeFi Analysis Report

    Hop Exchange | DeFi Analysis Report

    Hop Exchange is a bridging protocol that facilitates cross-chain token transfers by utilizing a network of bonders. I first heard it mentioned in a keynote by Vitalik at ethGlobal Waterloo. This is a write up of my internal research notes, this is not a sponsored post and I do not hold any exposure to Hop…

  • Infura vs Alchemy

    Infura vs Alchemy

    Most users connect to blockchains using RPC node services. This is sometimes taken care of in the background, for example Metamask uses Infura nodes to send and receive transactions. Web3 developers use custom RPC nodes for their deployment scripts and transactions. Operating the nodes requires a reliable infrastructure service, and two of the most popular…

  • ETHx Stader Labs | DeFi Analysis Report

    ETHx Stader Labs | DeFi Analysis Report

    ETHx from Stader Labs is a solution committed to decentralization and keeping Ethereum accessible, reliable, and rewarding. Having just launched ETH stakers earn 1.5x staking rewards and $800,000 in DeFi incentives across various protocols for the first month. This is a write up of my internal research notes, this is not a sponsored post and…

  • Building LayerZero OFT Tokens In Solidity

    Building LayerZero OFT Tokens In Solidity

    LayerZero OFT tokens are a new standard for cross-chain assets. OFT’s (Omnichain Fungible Tokens) are not actually tokens themselves, but rather a set of instructions that tell LayerZero how to transfer tokens between different blockchains. In this tutorial we will be building a LayerZero OFT ERC20 token using Solidity and Remix. How LayerZero OFT Tokens…

  • XRP Legal Case | What It Means For Developers

    XRP Legal Case | What It Means For Developers

    In this article I’m going to be breaking down the document filed by judge Torres yesterday and consider what it means to developers working in the blockchain and web3 space. Highlights From The Ruling The full document is available here:https://www.nysd.uscourts.gov/sites/default/files/2023-07/SEC%20vs%20Ripple%207-13-23.pdf I’ve picked out some highlights Programmatic SalesHaving considered the economic reality of the Programmatic Sales,…

  • Uniswap v4 Hooks

    Uniswap v4 Hooks

    Hooks in Uniswap v4 are external contracts that execute specific actions at certain points during the execution of a liquidity pool. These hooks provide flexibility and customization options for developers to create additional features for liquidity pools. Uniswap v4 hooks can be used to: A 3rd party developer can write a solidity hook contract with…

  • crvUSD Curve Stable | DeFi Analysis Report

    crvUSD Curve Stable | DeFi Analysis Report

    Curve finance recently launched their own stablecoin crvUSD. I was lucky enough to meet one of the developers working on crvUSD at ethDenver and have been impressed with the product and how it has been rolled out. It is an algorithmic stablecoin with massive potential backed by one of the biggest names in DeFi, let’s…

  • 3 Ways To Raise Web3 Funding

    3 Ways To Raise Web3 Funding

    In this article I’ll explore 3 ways in which you can raise funds for your project with web3 products. Membership NFT A NFT is a non-fungible token, they are often represented as a unique image which can contain additional rights such as: To execute a NFT drop, the following steps can be taken: If any…

  • FTX 2.0 ReLaunch

    FTX 2.0 ReLaunch

    FTX 2.0 is a proposed relaunch of the cryptocurrency exchange FTX.com, which filed for bankruptcy in November 2022. The FTX exchange was a profitable business, earning a small percentage from trading fees. However depositors funds were used to cover up losses from partner trading firm Alameda Research. Alameda also provided market maker services across all…

  • Raft Finance | DeFi Analysis Report

    Raft Finance | DeFi Analysis Report

    This DeFi analysis report for Raft Finance follows up on my analysis and investment in Lybra Finance. This is a write up of my internal research notes, this is not a sponsored post and I do not have any allocations at time of writing to Raft or the R stablecoin. Do your own research, not…

  • Can London Become A Crypto Hub?

    Can London Become A Crypto Hub?

    Earlier this week one of Silicon Valley’s largest VC firms Andreessen Horowitz announced it would be opening an office in London for their a16zCrypto arm. In this article we will look at how well positioned the UK is relative to the rest of the world to become a fintech capital and hub for the blockchain…

  • Lybra Finance | DeFi Analysis Report

    Lybra Finance | DeFi Analysis Report

    Lybra Finance allows stETH stakers to mint the eUSD stablecoin which has a 7.2% APY. This is a write up of my internal research notes, this is not a sponsored post however I have purchased an allocation of LBR Lybra Finance’s governance token in my personal portfolio. Do your own research, not investment advice. Update…

  • Raising Funds For Your Blockchain Project

    Raising Funds For Your Blockchain Project

    For founders looking to raise capital there are a number of options which we will explore in this article. Private Round A private round is where a founder will outreach and pitch their concept to investors in the space. For raises under $100k angel investors can provide initial funding to get a project started. For…

  • Prisma Finance | acUSD an LST backed stablecoin

    Prisma Finance | acUSD an LST backed stablecoin

    Prisma Finance is a DeFi project that aims to maximize the potential of Ethereum liquid staking tokens (LSTs). It introduces a stablecoin called acUSD, which is over collateralized by liquid staking tokens. The stablecoin is designed to be capital-efficient and offers additional incentives through integration with Curve and Convex Finance. This is a write up…

  • Assessing Smart Contract Security Auditors

    Assessing Smart Contract Security Auditors

    A smart contract audit can cost anything from $5,000-$250,000 USD. Within this range there is a wide range of services, some offer better value for money than others. In this article I will go through the options for founders looking to hire an auditor and some of the checks you can do to ensure you…

  • Proposer Builder Separation

    Proposer Builder Separation

    Proposer Builder Separation (PBS) is an Ethereum concept that aims to reduce relay centralization and redirect a proportion of MEV to validators staking Ethereum. In the current Ethereum network, validators are responsible for both proposing and building blocks. They are incentivised to coordinate with 3rd party MEV protocols which order the transactions in the blocks.…

  • Alchemix Self-Repaying Loans

    Alchemix Self-Repaying Loans

    Imagine a financial system where your loans automatically pay themselves off, interest-free and without the need for monthly repayments. Alchemix is a synthetic asset protocol run by community DAO. This is a write up of my research notes and is not sponsored in any way. I currently at time of writing have no stake in…

  • Mastering Volatility In Crypto Markets

    Mastering Volatility In Crypto Markets

    Volatility represents the degree of price fluctuation within a crypto asset, reflecting the magnitude of price changes over a given period. It is the source of both risk and opportunity, capable of testing the nerves of even the most experienced investors. Understanding the nature of volatility is paramount, for it is through this lens that…

  • Effective Altruism | Leveraging Innovation & Transparency for Social Good

    Effective Altruism | Leveraging Innovation & Transparency for Social Good

    Effective altruism is a philosophy rooted in maximizing the positive impact of our actions to improve the lives of others. It has gained significant traction in recent years, especially among proponents in crypto circles who resonate with the data driven approach. This article explores how effective altruism, when combined with innovation and transparency, becomes 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…

  • Ultimate Guide To Hire A Solidity/Web3 Developer

    Ultimate Guide To Hire A Solidity/Web3 Developer

    In this comprehensive guide, I will explore how to hire a Solidity/Web3 developer. Contractor, Partner or Employee The first thing you need to decide is whether you want to hire someone on a permanent basis or not. With Solidity development the contracts don’t tend to get updated once they are deployed so the bulk of…

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

  • Is My Token A Security? The Howey Test For Digital Assets

    Is My Token A Security? The Howey Test For Digital Assets

    The SEC & Securities Regulations The Securities and Exchange Commission (SEC) is an independent agency of the United States federal government that is responsible for regulating securities and protecting investors. In practice they have done more to protect Wall Steet financial institutions than they have ever done for individual investors. The SEC regulates securities through…

  • Introduction to Flash Loans | Unleashing Capital On Demand

    Introduction to Flash Loans | Unleashing Capital On Demand

    In this tutorial on flash loans we will be creating a Solidity smart contract which takes a flash loan from Uniswap v3. This allows you to borrow huge amounts of capital with the catch that you have to pay it back in the same block or the whole transaction is reverted. James On YouTube Watch…

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

  • Trading The Lifecycle Of Crypto Narratives

    Trading The Lifecycle Of Crypto Narratives

    The blockchain sector moves fast and attention shifts rapidly as crypto narratives emerge inflating valuations for sub-sectors before moving on to the next big thing. In this article I’m going to outlay my research into the lifecycle of crypto narratives to explore how we can best position our portfolios and allocate funds in a +EV…

  • Defending Against Sandwich Attacks and MEV | A Guide to Flashbots Protect

    Defending Against Sandwich Attacks and MEV | A Guide to Flashbots Protect

    By using a private mempool such as Flashbots protect, Ethereum users can protect themselves against MEV (maximum extractable value) including sandwich attacks. It doesn’t cost anything to use and is easy to setup with existing digital wallets, such as Metamask. Sandwich Attack Protection MEV refers to the potential profit that miners can extract from the…

  • How To Create A BRC20 Bitcoin Token

    How To Create A BRC20 Bitcoin Token

    In this tutorial we will create our own BRC20 token on the Bitcoin network. James On YouTube Watch On YouTube: https://youtu.be/6eTN2fVd4Pw |Subscribe What are BRC20 Tokens? BRC20 tokens are created using the Bitcoin Ordinals protocol. The Ordinals protocol is a set of rules that govern how inscriptions are created, transferred and managed. Bitcoin and the…

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

  • What is Pepe | A Memecoin Story

    What is Pepe | A Memecoin Story

    The Pepe memecoin is a cryptocurrency based on the Pepe the Frog meme, which originated on the imageboard website 4chan in 2005. The meme gained mainstream popularity in 2016 when it was adopted by supporters of then-presidential candidate Donald Trump. PepeToken is an ERC20 token on the Ethereum blockchain. It is widely traded across many…

  • MEV Uncovered | The Dark Side Of DeFi

    MEV Uncovered | The Dark Side Of DeFi

    MEV (Maximal Extractable Value) is a term used to describe the maximum value that can be extracted from block production beyond the standard block reward and gas fees by including, excluding, and changing the order of transactions in a block. MEV can be thought of as the economic value that arises from the ability to…

  • Protodanksharding & Danksharding Explained

    Protodanksharding & Danksharding Explained

    Protodanksharding and Danksharding are two approaches to scaling the amount of data on-chain for a future version of Ethereum. The goal of both upgrades is to ensure that the data on-chain is made available to archiving parties when it was first posted. This is accomplished through a technique called Data Availability Sampling (DAS). When &…

  • Quadratic Voting | Make Democracy Great Again

    Quadratic Voting | Make Democracy Great Again

    Quadratic voting has gained popularity in recent years through adoption on applications such as Gitcoin Grants. Quadratic voting has the potential to fundamentally improve how public decisions are made. This essay will explain what quadratic voting is, how it works and what problems it solves. How Quadratic Voting Works The process of quadratic voting involves…

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

  • What is DVT? | Distributed Validator Technology

    What is DVT? | Distributed Validator Technology

    Distributed Validator Technology (DVT) enables a group of network validators, in a proof of stake system such as Ethereum, to act as a single validator. This can create a form of decentralized staking solution for the network which is more censorship resilient and secure. What Is DVT? The role of providing a consensus mechanism has…

  • AutoGPT Tutorial | Automated Agents In Practice

    AutoGPT Tutorial | Automated Agents In Practice

    AutoGPT is an open source app that uses ChatGPT and several other plugin based modules to carry out every step needed to achieve a goal. AutoGPT is capable of interacting with 3rd party software and services both external such as the web and APIs and internal like spreadsheet apps. AutoGPT vs ChatGPT AutoGPT is a…

  • Advice For Hackathons | 9 Tips For Competing In Hackathons

    Advice For Hackathons | 9 Tips For Competing In Hackathons

    Hackathons are a great way to socialise with other developers and build projects over a short period of time for fun and profit. James On YouTube Watch On YouTube: https://youtu.be/mnBofeo1Ib0 |Subscribe Work on something you are passionate about This starts with choosing a hackathon that is based on tech that you are interested in. I’m…

  • Frax Finance | DeFi Analysis Report

    Frax Finance | DeFi Analysis Report

    Frax is a growing ecosystem of DeFi products built on Ethereum. This is a write up of my internal research notes, this is not a sponsored post and I have no stake currently in Frax or FXS. What Is Frax? Founded in 2019 by Jason Huan, Sam Kazemian & Travis Moore. Frax has a legal…

  • Web3 Investment Thesis

    Web3 Investment Thesis

    This Web3 investment thesis covers the potential disruption from decentralized permissionless computing. As blockchains scale it’s going to be possible to use smart contracts to enable users to store their own data creating the opportunity for a new era of decentralized applications. Web3 Disrupting Data Web3 disrupts the way we store data online by using…

  • Private Funding vs Public Funding Rounds | How To Raise Capital In Crypto

    Private Funding vs Public Funding Rounds | How To Raise Capital In Crypto

    Since the 2018 ICO bust, venture capital funding has become the primary avenue for blockchain startups to raise money. This comes with pros & cons which we will explore in this article alongside how raising capital works in the blockchain sector. How Private Funding Rounds Work During a private funding round the founders of a…

  • Blockchain Jobs | A Definitive List Of Roles & Salaries In Crypto

    Blockchain Jobs | A Definitive List Of Roles & Salaries In Crypto

    With the growing popularity of digital assets and decentralized finance, blockchain jobs are becoming increasingly lucrative and desirable. If you’re looking for a career with the potential for innovation, challenge, and outstanding opportunity, this list will guide you though the different jobs in the blockchain sector and what to expect. Executive Blockchain Jobs The founders…

  • DeFi Futures – GMX vs DyDx

    DeFi Futures – GMX vs DyDx

    Trading DeFi Futures products on decentralized exchanges such as GMX and DyDx has never been easier. The user experience is getting close to on par with centralized exchanges. Liquidity however, not so much… In this article we will look at how DeFi futures work, the market opportunity for decentralized futures exchanges and the two most…

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

  • EigenLayer | DeFi Analysis Report

    EigenLayer | DeFi Analysis Report

    EigenLayer is a protocol which allows Ethereum stakers to restake their ETH. This is a write up of my internal research notes, this is not a sponsored post and I have no stake currently in EigenLayer. EigenLayer is being developed by EigenLabs which is headed by CEO Sreeram Kannan. Sreeram has an academic background and…

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

  • How The Twitter Algorithm Works

    How The Twitter Algorithm Works

    On the 31st March 2023 Twitter open-sourced large sections of it’s algorithm which ranks content. This provided refreshing insights into how large scale social media applications rank content. In this article I’m going to look at how the algorithm works and how content creators can use this new information to gain more reach and influence.…

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

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

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

  • ERC20 Carbon Credits | Creating A Depleting Token

    ERC20 Carbon Credits | Creating A Depleting Token

    Carbon credits are used to tokenise finances put towards carbon offsetting. On-chain products often have a purchase and burn mechanism where a user must first purchase the token on a DEX and then manually execute a transaction to burn the token. I had the idea to create a automatically depleting token which you just hold…

  • zkEVM | Are Zero-Knowledge Rollups The Future Of Ethereum Or A Ticking Time Bomb?

    zkEVM | Are Zero-Knowledge Rollups The Future Of Ethereum Or A Ticking Time Bomb?

    zkEVM is a zero knowledge Ethereum virtual machine, credited as being “the ultimate solution to Ethereum scaling” The Ethereum ecosystem continues to grow alongside concerns around its scalability and privacy. A new technology currently being rolled out aims to address these issues through the implementation of zero-knowledge rollups. In this article, we’ll take a closer…

  • ETHDenver | Thoughts & Takeaways From The Biggest US Blockchain Conference

    ETHDenver | Thoughts & Takeaways From The Biggest US Blockchain Conference

    This article is aimed at providing an overview summary of what was talked about at ETHDenver and some of the things I picked up while being there. Buzz Word Bingo I took the schedule and ran through how many talks there were on each of these subjects. Buzz Word No. Of Talks Zero Knowledge 18…

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

  • How To Stake Ethereum | Earn More Yield With Ethereum Staking

    How To Stake Ethereum | Earn More Yield With Ethereum Staking

    Staking Ethereum has become a popular way for crypto investors to earn passive returns on their holdings. Liquid staking tokens like stETH make this process easily accessible. You can buy staking tokens and effortlessly enjoy the rewards of staking Ethereum without having to manage the technicalities of running a node. Lido Finance were first to…

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

  • Crypto Market Thesis 2023

    Crypto Market Thesis 2023

    Once viewed as a fringe market for tech-savvy libertarians, the crypto market has grown exponentially in recent years and is now being recognized as a legitimate asset class by mainstream investors. As we move into 2023, the crypto market is at a crucial juncture, with the potential to continue its explosive growth or face regulatory…

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

  • LayerZero Example | How To Send Cross-Chain Messages In Solidity

    LayerZero Example | How To Send Cross-Chain Messages In Solidity

    In this article we are going to look at how to send messages or data from one chain to another. In this LayerZero example we will be sending a string from Ethereum’s Goerli Testnet to Optimisms Layer 2 Goerli Testnet. Cross-Chain Tutorial Video James On YouTube Watch On YouTube: https://youtu.be/rKVhQHmljXM |Subscribe How LayerZero Works LayerZero…

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

  • RAILGUN 2.0 | ZK Privacy Protocol

    RAILGUN 2.0 | ZK Privacy Protocol

    Railgun just announced the launch of version 2.0 this week and in this article we are going to explore the zero knowledge wallet and discuss why privacy protocols are important. In August 2022 Alexey Pertsev was arrested and he has been imprisoned without trial ever since. He was a developer on a ZK mixer called…

  • Timeframe & Budgets For Web3 Development

    Timeframe & Budgets For Web3 Development

    In this article I’m going to provide a timeframe, gantt chart and budget costs for web3 development projects. This assumes a medium sized project for something like a new, innovative DeFi protocol consisting of 5-10 interconnected smart contracts and around 1000 lines of code plus an external audit and dApp frontend. If you are just…

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

  • FTX Collapse Explained | The Story Of Scam Bankrun Fraud

    FTX Collapse Explained | The Story Of Scam Bankrun Fraud

    In November 2022 the world’s second largest cryptocurrency exchange FTX collapsed, stopped withdrawals and filed for bankruptcy. The stories of the last week are so far-fetched they deserve a Netflix documentary. Here we will look at how FTX was able to defraud the crypto industry of somewhere in the region of $10 Billion US dollars.…

  • POAP vs NFT | A Guide With Examples

    POAP vs NFT | A Guide With Examples

    In this article we will look at what POAPs are and how their technology is built on top of NFT standards. We will also look at how to create simple POAPs and NFTs. In the conclusion I’ve put together some thoughts on why I think POAPs should only be used for fun and not for…

  • SAFT Template | Simple Agreement Future Tokens

    SAFT Template | Simple Agreement Future Tokens

    Below I’ve shared an example SAFT legal agreement and a smart contract which can be used to lock up tokens. James On YouTube Watch On YouTube: https://youtu.be/hpsegda6gvo |Subscribe What Is A SAFT? A SAFT is a simple agreement for future tokens. It is used primarily for blockchain projects to sell tokens at an early stage…

  • Ethereum DevCon Bogotá Write Up

    Ethereum DevCon Bogotá Write Up

    In this post I’m going to try to summarise some of the most interesting talks at from DevCon 2022. Here’s a video summary about the key takeaways from the conference. James On YouTube Watch On YouTube: https://youtu.be/kgiAV7z1fwo |Subscribe The main topics for this years event were: One of the best things about the event is…

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

  • The State Of CBDC Central Bank Digital Currency

    The State Of CBDC Central Bank Digital Currency

    Nation states across the world are exploring CBDC’s (central bank digital currency). Many governments including France, Canada, Saudi Arabia & China have pilot schemes already in place. The US dollar is the global reserve currency, it’s used throughout the world as a base asset and more recently as a political weapon in the form of…

  • Twitter Crypto Ads  | Blockchain Advertising Is Live On Twitter

    Twitter Crypto Ads | Blockchain Advertising Is Live On Twitter

    Twitter crypto ads are live after the platform unofficially relaxed its ban on advertising crypto products. Perhaps due to the Elon bid there seem to be more ads showing up and less stringent controls on ad quality. This opens up an opportunity for companies in the sector to use the platform for growth. In this…

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

  • Ownable vs Permissionless Smart Contracts

    Ownable vs Permissionless Smart Contracts

    One of the beautiful things about smart contracts is they can be permissionless where the developers relinquish control to the community and all users are treated equally. However less than 20% of the top 50 protocols by TVL on Ethereum are using fully permissionless contracts. In this article we will look at why this is,…

  • Solidity Tutorial | Fixed Rate Staking Contract

    Solidity Tutorial | Fixed Rate Staking Contract

    In this tutorial we will create a fixed rate staking contract that pays out 1 token for every 1 token staked per year. The contract will be built on an OpenZeppelin ERC20 token library with additional functionality for staking. The user will stake their tokens which will lock them in the smart contract at what…

  • Zero Knowledge Proof | How ZKP Works In Blockchain Applications

    Zero Knowledge Proof | How ZKP Works In Blockchain Applications

    Zero knowledge proofs offer a method for developers to prove data validity or knowledge of data without revealing the data or additional information about the prover. Zero knowledge proofs are becoming widely used in blockchain applications from smart contracts like Tornado Cash to ZKrollups which are layer 2 blockchains on top of Ethereum. In this…

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

  • GameFi 2.0 | Sustainable Tokenomics & Business Models

    GameFi 2.0 | Sustainable Tokenomics & Business Models

    GameFi utilises digital assets such as cryptocurrency tokens and NFT’s to create internal economies within games. In this article I look at how tokenomics can be designed to create sustainable business models for gamers, investors and developers. James On YouTube Watch On YouTube: https://youtu.be/Ul_Mza9IyYE |Subscribe GameFi 1.0 Play2Earn Growing up I played computer games on…

  • Bear Markets | How Human Psychology Works Against Us

    Bear Markets | How Human Psychology Works Against Us

    Is loss aversion causing long-term underperformance in our portfolios? In bear markets I find it harder to rebalance my portfolio and allocate capital to riskier investments. This creates an unintentional de-risking in bear markets where there is a better long-term risk to reward. James On YouTube Watch On YouTube: https://youtu.be/6F1Cpk14stE |Subscribe Not a financial advisor,…

  • SBTs 👻 | Soulbound Token Solidity Example

    SBTs 👻 | Soulbound Token Solidity Example

    Soulbound tokens are non-transferable digital assets. The core concept is storing on-chain data directly relating to a specific address. This is nothing new but there is potential for a ERC SBT contract to provide a industry standard for how we manage user data. James On YouTube Watch On YouTube: https://youtu.be/yCHeHI8hUY8 |Subscribe Ethereum gas costs make…

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

  • Blood in the streets for crypto markets

    Blood in the streets for crypto markets

    A year ago I outlined my 60/40 digital asset portfolio which was 60% crypto and 40% USD stablecoins. One of the biggest benefits to this portfolio is that during market downturns it leaves you with capital to deploy. Today has been one of the most chaotic days in crypto markets ever and I’m going to…

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

  • Which Token Will Coinbase List Next?

    Which Token Will Coinbase List Next?

    Coinbase has come under criticism for insider trading which has led them to open up about what tokens they are considering listing in the future. In this article we will look at the opportunity this brings alongside an analysis of all 50 projects. We will end by looking at how we can identify and track…

  • Why The PoS Basis Trade Will Generate $100B TVL

    Why The PoS Basis Trade Will Generate $100B TVL

    Proof of stake revenue provides a new opportunity for investors and funds to collect double digit APR’s on a PoS basis trade pegged to the USD. A basis trade (aka cash and carry) involves buying an asset and then short selling the same futures contract. Traditionally this has been to collect the funding premium on…

  • 5 DeFi Growth Metrics For Better Valuations

    5 DeFi Growth Metrics For Better Valuations

    Growth metrics have been used by tech VC’s for years to predict and monitor companies growth patterns. Terms like CAC (Customer acquisition cost) and LTV (Lifetime value) are critical to how we value startups in the traditional space. In DeFi the landscape is different and the metrics that we use are too. However on-chain transparency…

  • Prevent Phishing | 8 Tips To Avoid Getting Your Crypto Hacked

    Prevent Phishing | 8 Tips To Avoid Getting Your Crypto Hacked

    Earlier today @Arthur_0x released details about how his digital wallet was compromised and assets were stolen. Arthur is a technically minded crypto native which goes to show this could happen to anyone. A good time to review and discuss how to prevent phishing attacks and avoid getting your crypto hacked. How Digital Wallets Get Hacked…

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

  • 3 Yield Farming Stablecoin Strategies

    3 Yield Farming Stablecoin Strategies

    Yield farming stablecoin strategies provide high returns on low volatility digital assets. In this article I explore three ways to generate yield on USD stablecoin holdings. For an introduction on what stablecoins are and the different stablecoins compared see this article: https://jamesbachini.com/stablecoins/ Note that stablecoin farming strategies are changing all the time and this article…