pyth-crosschain/terra
Csongor Kiss 99e2d4ac09 Add terra build & deploy instructions 2022-02-10 15:37:19 -05:00
..
artifacts terra: columbus-5 contracts by default 2021-10-04 16:41:31 +00:00
contracts terra/token_bridge: remove migration code 2022-01-28 10:44:10 +00:00
devnet terra/devnet: update to bombay network 2021-10-04 16:41:31 +00:00
packages/cw721 terra/nft_bridge: vendor cw721 and cw721-base (#696) 2022-01-07 16:43:53 +01:00
test fix bytes -> string, flip arg order to be less confusing 2021-07-28 16:00:44 +00:00
tools Add terra build & deploy instructions 2022-02-10 15:37:19 -05:00
.dockerignore Terra contract deployment moved to a separate k8s job (#130) 2020-12-03 14:37:23 +01:00
Cargo.lock sdk: fixes to types and builds 2022-01-14 13:09:12 +00:00
Cargo.toml terra/nft_bridge: Implement nft-bridge for terra (#698) 2022-01-07 16:47:33 +01:00
Dockerfile terra/nft_bridge: vendor cw721 and cw721-base (#696) 2022-01-07 16:43:53 +01:00
Dockerfile.build Add terra build & deploy instructions 2022-02-10 15:37:19 -05:00
README.md Add terra build & deploy instructions 2022-02-10 15:37:19 -05:00
build.sh Implement pyth2wormhole for Terra 2021-12-02 14:56:02 +00:00
rustfmt.toml terra/contracts: add columbus-5 clone 2021-09-06 14:58:48 +00:00

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