Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
There are two types of contracts used for Market Making.
To create a contract to buy and/or sell fully ERC20 compliant tokens, see TokenTrader And TokenTraderFactory - Market Maker Operations.
The Golem Network Token (GNT) contract is NOT fully ERC20 compliant - see below.
To create a contract to sell Golem Network Tokens (GNTs), see TokenSeller And TokenSellerFactory - Market Maker Operations. As the GNT contract does not support some ERC20 functions that would allow contracts to buy the tokens, the TokenSeller is a customised version of the TokenTrader contract that excludes the buying functionality.