Contracts and infrastructure related to the Paloma Blockchain.
Name | Description |
---|---|
dex |
Automatic market maker |
dex-tokenomics |
Tokenomics related smart contracts |
egg |
Simple contract for a minting contest |
wormhole |
Contracts for communicating with other chains |
You will need Rust 1.58.1+ with wasm32-unknown-unknown target installed.
You can run unit tests with
cargo test
Run the following from the repository root
./scripts/build_release.sh
The optimized contracts are generated in the artifacts/ directory.
You can compile contracts to wasm with cargo wasm
.
The compiled wasm can be found at target/wasm32-unknown-unknown/release/<contract>.wasm
.