curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup target add wasm32-unknown-unknown
Run tests
cargo test
Initialize the contract.
split bills.
build
cargo wasm
optimize
cargo run-script optimize
check
cargo run-script check
deploy
archwayd tx wasm store ./artifacts/split-vota.wasm --gas auto --gas-prices $(archwayd q rewards estimate-fees 1 --node 'https://rpc.constantine.archway.tech:443' --output json | jq -r '.gas_unit_price | (.amount + .denom)') --gas-adjustment 1.4 --from test-key --chain-id constantine-3 --node https://rpc.constantine.archway.tech:443 --broadcast-mode sync --output json -y
Generate Typescript SDK
cargo schema
cosmwasm-ts-codegen generate \
--plugin client \
--schema ./schema \
--out ./ts \
--name split-vota \
--no-bundle