Transaction Kit
Send Native Token
In this example we’re going to learn how to send a native token using transaction kit. This is the most basic Transaction Kit tutorial and a great place to start.
We have a code sandbox for this example which you can fork here.
Bootstrap a react app
Let’s keep it simple and use create-react-app here. Run the following command in a directory of your choice:
npm
The above command will install and bootstrap a basic React App into a directory called txkit-quickstart. Once the installation has finished, change directory into your newly bootstrapped React app by typing:
npm
Make sure you have the Transaction Kit and Ethers (version 5.4.0) packages installed, then we’ll edit two files. App.js and index.js.