Smart Contracts
Getting Started
Deployment
Instantiation
dApp Front EndsCustom Modules
Price OracleToken FactorySchedulerLast updated

Last updated
git clone https://github.com/Team-Kujira/core
cd core
make installcargo run-script optimize
kujirad keys add <local-account>
# This will generate an account for you, provide you with a seed phrase which
# you must store safely, and the associated kujira address. You will need to
# fund this address with KUJI tokens before the next step
kujirad tx wasm store <./path/to/optimized/code.wasm> --from <local-account>logs:
- events:
- attributes:
- key: action
value: /cosmwasm.wasm.v1.MsgStoreCode
- key: module
value: wasm
- key: sender
value: kujira1...
type: message
- attributes:
- key: code_id
value: "4"
type: store_codekujirad tx gov submit-proposal instantiate-contract 4 \
'{"count": 0}' \
--title "Instantiate CW-Template" \
--description "A more detailed description of this proposal" \
--label "CW-Template" \
--from <local-account> \
--admin <local-account-address> \
--run-as <local-account-address> \
--gas 1000000 \
--fees 1250ukujikujirad query wasm list-contract-by-code 4