99e2d4ac09 | ||
---|---|---|
.. | ||
artifacts | ||
contracts | ||
devnet | ||
packages/cw721 | ||
test | ||
tools | ||
.dockerignore | ||
Cargo.lock | ||
Cargo.toml | ||
Dockerfile | ||
Dockerfile.build | ||
README.md | ||
build.sh | ||
rustfmt.toml |
README.md
Deploy
First build the contracts
docker build -f Dockerfile.build -o artifacts .
Then, for example, to deploy token_bridge.wasm
, run in the tools
directory
npm ci
node deploy_single.js --network mainnet --artifact ../artifacts/token_bridge.wasm --mnemonic "..."
which will print something along the lines of
Storing WASM: ../artifacts/token_bridge.wasm (367689 bytes)
Deploy fee: 88446uluna
Code ID: 2435