Create and fund accounts
Prerequisites:
- Ability to make an HTTP request.
How to fund your main chain account with test ada tokens
In this tutorial, you will learn how to claim test ada tokens on the main chain testnet (to pay for main chain transaction fees).
Note: This is a dedicated Cardano testnet separate from the preview and pre-production testing environments.
Generating keys
To generate keys for the Cardano testnet you need the cardano-cli binary. Open a shell and run the following commands:
# Set network name
network=--testnet-magic=7
cardano-cli address key-gen \
--verification-key-file payment.vkey \
--signing-key-file payment.skey
cardano-cli address build \
--payment-verification-key-file payment.vkey \
--out-file payment.addr \
$network
export MC_ADDR=$(cat payment.addr)
These steps are based on this keys and adresses creation tutorial (opens in a new tab).
Request test ada using the web-app (opens in a new tab)
How to fund your sidechain account with test SC_token
Create a sidechain account using a compatible Web3 wallet connected to the EVM sidechain test network (ex: MetaMask).
- Working with MetaMask.
Request test SC_Token using the web-app (opens in a new tab)