Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

Latest commit

 

History

History
43 lines (28 loc) · 1.66 KB

README.md

File metadata and controls

43 lines (28 loc) · 1.66 KB

Notice: This repository, which was treated as a git submodule, has been merged with migaloo-core in commit b180e6cd23f87cd6a01ad38854fab64b810dc756.


Pool Network

White Whale's pool network is based on Terraswap, a Uniswap-inspired automated market-maker (AMM) protocol.

Contracts

Name Description
terraswap_factory
terraswap_pair
terraswap_router
terraswap_token CW20 (ERC20 equivalent) token implementation

Running the Pool Network

This repo is a submodule of Migaloo Core, White Whale's core infrastructure repository.

You will need Rust 1.44.1+ with wasm32-unknown-unknown target installed.

You can run unit tests on each contract directory via:

cargo test

To compile each individual contract, you can run:

cargo build
cargo wasm

Or for a production-ready (optimized) build, run the following from the migaloo-core repository:

scripts/build_release.sh

The optimized contracts are generated in the artifacts/ directory.