Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 553 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 553 Bytes

Sweat Coin

Testing

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