Skip to content
BokkyPooBah edited this page Feb 5, 2017 · 71 revisions

Welcome to the CryptoDerivatives.Market TokenTrader wiki!

The TokenTrader and TokenSeller decentralised trustless exchange contract allows:

  • Market Makers to list an Ethereum smart contract to buy and/or sell ERC20-compliant digital assets for ethers
  • Market Takers can execute an transaction against the Maker's contract to buy or sell the digital assets in exchange for in one atomic transaction.

These exchange contracts are decentralised as they execute on the winning miner's node, and then get executed on each node of the 5800+ computers running the Ethereum network.

These exchange contracts are trustless as they perform an atomic swap between the ERC20 token and ethers in a single atomic transaction. If the transaction fails, both transfers in the ERC20 token and ether are not executed.

There are two types of these contracts:

  • TokenTrader - Market Maker can buy and/or sell digital assets for ethers.
  • TokenSeller - Market Maker can only sell digital asset for ethers.

There is also a soon-to-be-deprecated GNTTokenTrader & Factory contract deployed at 0xc4af56cd5254aef959d4bce2f75874007808b701. This is the contract supported by the current https://cryptoderivatives.market/ site.

You can find a list of compatible ERC20-compliant digital assets in ERC20 Tokens. A testing token has also been deployed to Testnet.


Latest Deployed Contracts - Feb 05 2017

The TokenTraderFactory.sol and TokenSellerFactory.sol contracts have been updated with the following changes:

  • Bug fix in the change calculation for the Unicorn token with natural number 1
  • Here are the diffs in TokenTraderFactory and TokenSellerFactory

Deployed the following to Mainnet:

Deployed the following to Testnet:

These new TokenTrader(Factory) and TokenSeller(Factory) contracts can now be used. These are not currently listed on https://cryptoderivatives.market/ but are listed on the fully-functional Test site https://cryptoderivatives.market/test/. The Test version will be moved into Production once the documentation in this site is completed.


Bug Bounty

A Bug Bounty on the TokenTrader(Factory) and TokenSeller(Factory) contracts is currently active.


History

See History for previous deployments.



Actions Outstanding



Enjoy. (c) JonnyLatte, Cintix & BokkyPooBah 2017. The MIT licence.

Clone this wiki locally