Learn Secret Network
git clone https://github.com/maiyude2018/secret-network-learn.git
cd secret-network-learn
npm init -y
npm install --save secretjs dotenv
Replace in .env file with your API KEY
#1
node connect.js
#2
node create_account.js
Copy address and mnemonic from output of part2.js into .env
#3
node query.js
#4
Get free testnet tokens: https://faucet.secrettestnet.io/
node transfer.js
#5
node deploy2.js