CLI tool to publish GE related smart contracts to Celo.
Supported Smart Contracts:
- SwapPool
- DecimalQuote
- PriceIndexQuote
- Limiter
- LimiterIndex
- TokenRegistry
- ERC20Demurrage
Note: All smart contracts are compiled with v 0.8.19 unless otherwise stated.
Download and extract the binary for your OS/Arch from the releases page.
Alternatively you can install with:
curl -L https://ge-publish.grassecon.net/install.sh | bash
ge-publish --help
# Set your private key
export PRIVATE_KEY=
ge-publish --testnet publish limiter
# Set your private key
export PRIVATE_KEY=
ge-publish --testnet publish swap-pool --name MySwapPool --symbol SWP1 --decimals 6 --token-registry 0x000000000000000000000000000000000000dEaD --token-limiter 0x000000000000000000000000000000000000dEaD