Goal

Invoke transactions on your Braavos account from the Starknet command line tool

Setting up the environment

This tutorial uses alpha-goerli testnet.

{"alpha-goerli":
   {"__default__":{"address":"YOUR_ACCOUNT_ADDRESS",
                   "private_key":"YOUR_ACCOUNT_PRIVATE_KEY"}
   }
}

** **You are now ready to roll ****

Building The Transaction

Fetching the contract ABI

Let’s choose a contract to interact with. We will use an ERC20 test token, and execute a mint transaction. The token address we will use is 0x7394cbe418daa16e42b87ba67372d4ab4a5df0b05c6e554d158458ce245bc10

In order to execute a transaction on a contract, we need to get the contract ABI JSON file. We do this using the StarkNet CLI, and a JSON command line tool called jq. install jq by running on linux:

apt install jq

on mac: brew install jq