This is a tutorial of how to make a ETH transaction by using only low level cryptograhpy libraries.
This demo required node.js >=20.12.0 (loadEnvFile feature)
Please install it first
First install dependency
npm i
This demo suppose to work with a nbn testnet mostly bacausse this testnet have a good faucet (no discord, twitter posting subscription, etc). But it easy to use other chains too https://www.bnbchain.org/en/testnet-faucet
Given command will generate priate key for you and save it to .env file
node src/01-GenerateKey.js
This is step by step guide to sign a transaction and broadcast it. Please take a look at codebase to understand it
node node src/02-TransferNative.js