To fund an AEA for testing on a test-net you need to request some test tokens from a faucet.
First, make sure you have installed the crypto plugin of the target test-net. E.g. for Fetch.AI:
And for Ethereum:
Add a private key to the agent
If you already have keys in your project, the commands prompt you to confirm whether to replace the existing keys.
Using a Faucet Website¶
First, print the address:
This will print the address to the console. Copy the address into the clipboard and request test tokens from the faucet here for Fetch.ai or here for Ethereum. It will take a while for the tokens to become available.
Second, after some time, check the wealth associated with the address:
Using the CLI¶
Simply generate wealth via the CLI:
This approach can be unreliable for non-fetchai test nets.