In this post I'm going to breakdown the different parts of a system trading bot that I built to execute trend following and mean reversion strategies. There's a short video here if you prefer a quick walkthrough: https://youtube.com/shorts/3tWl4ETbqTw Building a robust and profitable system tr| JamesBachini.com
OpenZeppelin has just launched the first few contract libraries for the Soroban ecosystem. Let's take a look and build out a token using their fungible token module. James On YouTube Watch On YouTube: https://youtu.be/2Ak_nHyfrEU | Subscribe Deploying a Fungible Token on So| JamesBachini.com
The 18th annual "Top 10 Web Hacking Techniques of 2024" highlighted web security research through community nominations and expert panel voting. From 121 initial nominations, 103 qualified entries were evaluated, culminating in the selection of the most innovative web security findings. Confus| JamesBachini.com
Today I'm going to show you how I deployed a simple NFT contract to Soroban, Stellar's smart contract platform. Whether you're an artist, a developer, or just curious about blockchain, this tutorial will guide you through the process step-by-step. Let’s get started. You'll need a few things to ge| JamesBachini.com
In this tutorial, we'll explore how data is stored on Stellar's Soroban smart contract platform, focusing on Soroban's state management and the types of storage available. Understanding these concepts will allow you to manage data optimally and keep your decentralized applications efficient.| JamesBachini.com
Blockchain storage is limited and block space is therefore expensive, especially at times of peak congestion. Solidity developers must employ strategies to optimise data storage whilst maintaining the integrity and accessibility of their smart contracts. One of the most effective approaches is to| JamesBachini.com
Among Solidity's essential features are the fallback and receive functions, which play crucial roles in handling Ether transactions and contract interactions. A thorough understanding of these functions is vital for developers aiming to create robust and secure smart contracts. The Fallback Funct| JamesBachini.com
The Inevitable Loss Facing Early Cryptocurrency Hodlers Substantial amounts of digital assets are going to be lost forever over the next few decades. The first generation of crypto hodlers will be dying off and many of their holdings will die with them. These losses, often caused by misplaced| JamesBachini.com
In this tutorial we will be setting up scripts to send and monitor transfers on the Stellar network. James On YouTube Watch On YouTube: https://youtu.be/gVC5ijif2-0 | Subscribe I'll be using Node.js and the Stellar-SDK library. All the code is open source and you can fork t| JamesBachini.com
Cross-Chain Interoperability Gas Fees For Deployment & Users Block Times & Frontend Considerations Layer 2 solutions have emerged as a crucial component in addressing scalability issues. Optimising smart contracts for these Layer 2 chains is essential to harness their full potentia| JamesBachini.com
In this tutorial I modelled the optimal rebalancing frequency for a digital asset portfolio holding: 40% USDC 40% ETH 20% BTC This is a 60/40 crypto portfolio which I've discussed before. You can run the code with different assets (anything with a historical price feed). Starting wi| JamesBachini.com
Solidity libraries enable blockchain developers to create modular reusable code. This shared usage avoids duplicating code, saves gas during deployment and promotes consistency within a code base. Let's create a basic library that demonstrates how this works: // SPDX-License-Identifier: MIT pr| JamesBachini.com
How events work in web3 Simple event emitter contract Setting up Ethers.js with React Subscribing to events Filtering the event data Event based state changes How events work in web3 Events in Web3 act as logs of significant occurrences within a smart contract. When a specific| JamesBachini.com
In this tutorial we are going to be deploying a simple NFT contract to Ethereum and then minting new NFT's using a bot built with Rust and ethers-rs Let's start by heading to Remix and deploying this contract to Ethereum's Sepolia testnet. It has already been deployed here if you want to skip th| JamesBachini.com
This tutorial will guide you through the process of building a token bridge using LayerZero v2, specifically employing the OFTAdapter on mainnet and the OFT.sol contract on all other chains. We'll cover the setup and deployment workflow, ensuring you have a comprehensive understanding of the process| JamesBachini.com