Contract are partitioned into query and execute functions. Query functions
read contract state; whereas, execute functions may mutate state. These groups
of functions are contained in distinct modules: src/execute/
and src/query/
.
If the contract implements any other entrypoint, like reply
, one can create a
new reply
module following the established pattern.
make build
make schemas
make deploy
make instantiate
- Run local Juno node
make devnet
- Initialize Juno & Import key again
junod init --chain-id testing localdev
- Import key
junod keys add JunoWallet --recover
> Enter your bip39 mnemonic
clip hire initial neck maid actor venue client foam budget lock catalog sweet steak waste crater broccoli pipe steak sister coyote moment obvious choose
Edit $HOME/.juno/config/client.toml
and set keyring-backend = "test"
to match the Juno node running in Docker.
grep
- Need to runbrew install grep
. Follow post-install instructions to add new location to PATH
This lets you change the "owner" address associated with the contract.
Return one or more specified properties from state.