Transfer Native Tokens
Interact with native tokens
In this exercise, you will learn how to transfer native tokens on your own L1 in the Avalanche network using Foundry, a powerful toolkit for EVM application development.
Start by creating and deploying a new blockchain using the Avalanche Starter Kit. With your chain up and running, let's transfer some native tokens from one account to another using Foundry
Create a blockchain with the following configuration
Deploy blockchain on Local network
Create account
Retrieve the new address with and store it in an environment variable to match the following commands.
Check balances
Transfer funds
Check balances to confirm transfer
As you saw, funds were transfered from one count to another within the same chain (myblockchain)