/ge-publish

CLI tool to publish GE related smart contracts

Primary LanguageGoGNU Affero General Public License v3.0AGPL-3.0

ge-publish

CLI tool to publish GE related smart contracts to Celo.

GitHub release (latest by date)

Supported Smart Contracts:

  • SwapPool
  • DecimalQuote
  • PriceIndexQuote
  • Limiter
  • LimiterIndex
  • TokenRegistry
  • ERC20Demurrage

Note: All smart contracts are compiled with v 0.8.19 unless otherwise stated.

Install

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

Usage

ge-publish --help

Examples

Limiter

# Set your private key
export PRIVATE_KEY=
ge-publish --testnet publish limiter

SwapPool

# 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

License

AGPL-3.0.