Skip to content

grassrootseconomics/ge-publish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ge-publish

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

GitHub release (latest by date)

Supported Smart Contracts:

  • SwapPool
  • DecimalQuote
  • PriceIndexQuote
  • Limiter
  • LimiterIndex
  • TokenRegistry
  • ERC20Demurrage
  • EthFaucet
  • SimplePeriodBackend
  • GiftableERC20
  • AccountsIndex
  • ContractsRegistry
  • CustodialRegistrationProxy

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.