Install near-cli: npm install -g near-cli
Deploy to TestNet:
near dev-deploy --wasmFile=res/sweat_coin.wasm
This will output the account name where it was deployed like dev-1637234761005-51631980292450
.
Setup the contract:
near call new '{"oracle_id": ".near", "limit_per_day": "10000000000000000000000000"}' --accountId
Record the batch of steps:
near call batch_record '{"steps": [["testmewell.testnet", 1000000]]}' --accountId