Skip to content

dorahacksglobal/split-vota

Repository files navigation

Split Bills on Vota

Quick Start

Setup Rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup target add wasm32-unknown-unknown

Run tests

cargo test

Scripts Entry

initialize

Initialize the contract.

split

split bills.

Publish

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published