🧞 Powering Genie campaigns.
This repository has two main contracts:
genie-airdrop
: the contract to be instantiated per campaign, and which end users claim rewards fromphoenix-1
:1942
(code ID)osmosis-1
:256
(code ID)
genie-airdrop-factory
: the factory contract to instantiate thegenie-airdrop
contractphoenix-1
:1683
(code ID),terra1dcfnzx0lh27w7rjh69e6kl5838dc7yyjj3r3h84jmkjjf08kknuqxr0x3r
(contract)osmosis-1
:194
(code ID),osmo1vjq3e3fp4fcdnd83nmxk5764mlewwxjejsjmg9jyehgh5zklj0pslvs3na
(contract)
Refer to their respective READMEs for more information about how they work.
- Install Rust 1.44.1+
- Install Docker for compiling and ensuring that builds have similar checksums
- Install
wasm32-unknown-unknown
for rust
# Check rust versions
rustc --version
cargo --version
rustup target list --installed
# If `wasm32-unknown-unknown` is not listed, install it:
rustup target add wasm32-unknown-unknown
Run in the root of this project to produce an optimised build in the artifacts
directory:
./build.sh
See ./scripts
for details of the full E2E test using the pisco-1
testnet.