- Install node js & npm
- Have an alfjores account with pre filled balance from the faucet
- Deploy the Test.sol file on the alfjores network and get the address the smart contract was deployed in
- Run
npm i
to install the dependencies - Export your private key, then create
.secret
file in the root directory and paste the private key there - Go to index.js file and replace the value for
deployedContractAddress
variable, with your deployed contract address (in step 1). - Run
node index.js