Enter Astroport XYK pools with any combination of the two assets.
For an overview of the math behind zapping, see this explainer.
- Rust 1.57.0
wasm32-unknown-unknown
target- Docker and
rust-optimizer
- Node.js v16
In ./contracts/astrozap
directory:
cargo test
In ./contracts/astrozap
directory:
docker run --rm -v "$(pwd)":/code \
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
cosmwasm/rust-optimizer:0.12.5
In ./scripts
directory:
npm install
ts-node 4_deploy.ts --network {mainnet|testnet} [--code-id codeId]
Contents of this repository are open-sourced under GNU Public License v3