ge-publish

CLI tool to publish GE related smart contracts to any EVM chain.

GitHub release (latest by date)

Supported Smart Contracts:

Note: All smart contracts are compiled with v0.8.25, Istanbul hard fork 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=
# Set the network chain id
export CHAIN_ID=
ge-publish publish limiter

SwapPool

# Set your private key
export PRIVATE_KEY=
# Set the network chain id
export CHAIN_ID=
ge-publish publish swap-pool --name MySwapPool --symbol SWP1 --decimals 6 --token-registry 0x000000000000000000000000000000000000dEaD --token-limiter 0x000000000000000000000000000000000000dEaD

License

AGPL-3.0.