James Bachini

September 2024

  • React Hooks Tutorial | The 7 Most Important React Hooks

    React Hooks Tutorial | The 7 Most Important React Hooks

    React Hooks provide a way to manage state, side effects, references and more in functional components. In this tutorial, we’ll look at the seven most commonly used React hooks When You Would Use These React Hooks useStateImagine you have a piece of data in your component that might change, like a number for a counter…

  • Value Investing In DeFi

    Value Investing In DeFi

    For value investors the goal is to find assets priced below their intrinsic value, providing a margin of safety and potential for significant future growth. Could applying this principle to DeFi help identify underappreciated projects that are gaining significant traction. Let’s find out… Market Cap, TVL & FDV Market capitalization is the total value of…

  • 7 Problems That DeFi Solves

    7 Problems That DeFi Solves

    Last month Vitalik caused a stir when he suggested that DeFi “can’t be the thing that brings crypto to another 10-100x adoption burst” In this article I’m going to share my thoughts on why DeFi is still the no.1 most important use case for Ethereum. Lack of Financial Inclusion In a world where millions remain…

  • 3 Ways AI Will Change Software Development by 2030

    3 Ways AI Will Change Software Development by 2030

    As a developer who wrote his first computer program on a Commodore64, I’ve seen my fair share of technological shifts. But nothing quite compares to the seismic changes I anticipate large language models will bring to software development in the coming years. Let me take you on a journey through my vision of the future,…

  • Building Rust Smart Contracts On Stellar Soroban

    Building Rust Smart Contracts On Stellar Soroban

    Soroban is the smart contract platform that allows developers to write and deploy smart contracts on the Stellar network. This tutorial will guide you through the process of building a simple smart contract using Rust and deploying it to Soroban. I recently took on the role of Developer in Residence with Stellar and this is…

  • Pump.fun Clone In Solidity

    Pump.fun Clone In Solidity

    Pump.fun is a token factory that lets users create and trade memecoins on Solana with dynamic pricing along a bonding curve. In this article I’ll show how I went about converting this concept to Solidity and deploying it on Ethereum. Full code for this is open source at: https://github.com/jamesbachini/Pump.sol Token Factory Contract At the core…

  • Over-Collateralized Lending In DeFi

    Over-Collateralized Lending In DeFi

    Decentralized finance has opened up many possibilities for holders of digital assets. One of the products which has gained traction over the last few years has been over-collateralized lending which is now a $30+ billion dollar industry. In this article I’m going to look at how over-collateralized lending works, why would someone want to do…

  • Creating Your Own Oracle Solidity & NodeJS

    Creating Your Own Oracle Solidity & NodeJS

    In this tutorial I’m going to go through the steps to setting up your own oracle service to bring data on-chain. We are going to be deploying a simple smart contract, then setting up a NodeJS client to fetch the price of Bitcoin, then uploading this to the contract. Full code for this is open…

  • Format JSON Tool

    Format JSON Tool

    A simple tool to lint and format JSON because I was fed up of using the ones covered in ads. Format JSON The Javascript code that makes this work is quite simple: It can be used to format outputs prior to displaying the results of API queries or any other JSON found wild around the…

  • Best Sketch To Image AI Generator

    Best Sketch To Image AI Generator

    Recent developments in AI image generation have led to the availability of tools which can convert your doodles into generative images. Here is an example run across some freemium web apps: FreePik https://www.freepik.com/pikaso/sketch OpenArt https://openart.ai/create?mode=create NewArc https://www.newarc.ai/ ChatGPT https://chatgpt.com/ WindyBot https://windybot.com/editor Which Is The Best AI Sketch To Image Generator? As of September 2024 I…

  • The Future Of Bitcoin, Ethereum & Web3

    The Future Of Bitcoin, Ethereum & Web3

    In this article I’m going to discuss where I think the industry is going over the next decade and how emerging developments will affect the following: Bitcoin Bitcoin, the pioneer and household name of crypto, has not evolved significantly from its origins as a digital currency. It is becoming increasingly recognized as a mainstream financial…

  • What’s Happened Since Chip War

    What’s Happened Since Chip War

    After reading Chip War by Chris Miller I was intrigued to see what developments have taken place since the book was written and if Moore’s Law is still alive and well. TSMC & Taiwan Strait Taiwan Semiconductor Manufacturing Company has maintained its position as the world’s leading chip manufacturer. The company announced ambitious plans for…

  • What Are Blockchains Good For?

    What Are Blockchains Good For?

    This article explores the strengths, limitations, and potential applications for blockchain technology. I will delve into six primary areas where blockchain technology shows promise: Transparency Blockchains are inherently transparent, making it a powerful tool for enhancing trust, accountability, and security in various applications. This transparency is evident in how transactions are recorded on a publicly…