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. We will use the blockchain you have create in the last chapter.
Save the Key to an Environment Variable
Retrieve the new address with and store it in an environment variable to match the following commands.
Check the Balance
Now we are checking the balance of that key on your L1. Make sure to replace the --rpc-url
flag with appropriate name of your L1.
As you saw, funds were transfered from one count to another within the same chain (myblockchain)