Skip to content

evgeniuz/smartweave-clarity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage:

Deploy contract

smartweave-cli --key-file <keyfile.json> --create --contract-src contract.js --init-state init-state.json

Check state, should have all flags set to false

smartweave-cli --key-file <keyfile.json> --contract <contract-tx-id> --get-state

Send "hello"

smartweave-cli --key-file <keyfile.json> --interact --contract <contract-tx-id> --input-file call-hello.json

Check state, should have only heardHello as true

Send "world"

smartweave-cli --key-file <keyfile.json> --interact --contract <contract-tx-id> --input-file call-world.json

Check state, should have all flags set to true

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published