pyth-crosschain/terra/README.md

24 lines
453 B
Markdown
Raw Normal View History

2022-01-25 08:30:19 -08:00
# Deploy
First build the contracts
``` sh
docker build -f Dockerfile.build -o artifacts .
```
Then, for example, to deploy `token_bridge.wasm`, run in the `tools` directory
``` sh
npm ci
node deploy_single.js --network mainnet --artifact ../artifacts/token_bridge.wasm --mnemonic "..."
```
which will print something along the lines of
``` sh
Storing WASM: ../artifacts/token_bridge.wasm (367689 bytes)
Deploy fee: 88446uluna
Code ID: 2435
```