Skip to content

Latest commit

 

History

History
54 lines (44 loc) · 945 Bytes

readme.md

File metadata and controls

54 lines (44 loc) · 945 Bytes

Develop

make fix 
make qa
make build
make clean

Run CI local

Installation act:

brew install act

Setup env vars:

echo "GITHUB_TOKEN=%GITHUB_TOKEN%" | tee .secrets

Run

act --help

Deploy test

make build
near dev-deploy
contractName=$(cat neardev/dev-account)
near state $contractName

Usage

accountId=ilyar.testnet
contractName=$(cat neardev/dev-account)
near view $contractName get_num
near call $contractName increment --accountId $accountId
near view $contractName get_num
near call $contractName decrement --accountId $accountId
near view $contractName get_num
near delete $contractName $accountId