-
Notifications
You must be signed in to change notification settings - Fork 50
Home
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.
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
andTokenSellerFactory
Deployed the following to Mainnet:
- TokenTraderFactory.sol to 0x21ca8ee818f008692d3a6abd1a1beda5aaecf0e3
- TokenSellerFactory.sol to 0xb1eb96f752c624dc784d80961a1accfaf348c923
Deployed the following to Testnet:
-
TestERC20Token.sol to 0x583cbbb8a8443b38abcc0c956bece47340ea1367:
- Name: BokkyPooBah Test Token
- Symbol: BOKKY
- Decimals: 18
- Send Testnet ETHs to the contract address and receive the equivalent numbers of Testnet BOKKY tokens
- TokenTraderFactory.sol to 0xbc5424cbef24d71b955c6a714bf8720e762d09ca
- TokenSellerFactory.sol to 0x2b8ce19465f35419e757e4458defc1c3fd0ffb40
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.
A Bug Bounty on the TokenTrader(Factory) and TokenSeller(Factory) contracts is currently active.
See History for previous deployments.
- Completed - Security Testing. Result Jan 15 2017
- Completed - Document usage of the GNTTokenTrader & Factory contracts
- Completed - Announce the Bug Bounty
- Completed - List the new contracts on the fully-functional Test site https://cryptoderivatives.market/test/
- Document usage of the TokenTraderFactory and TokenSellerFactory contracts in this wiki
- Deploy the new site to https://cryptoderivatives.market
- Rewrite https://github.com/bokkypoobah/FindGNTTokenTrader to list the new TokenTraderFactory and TokenSellerFactory contracts
Enjoy. (c) JonnyLatte, Cintix & BokkyPooBah 2017. The MIT licence.
Most of this wiki is currently work in progress. GNTTokenTrader & Factory, GNT ‐ Golem Network Token and Bug Bounty are complete.
- 1ST ‐ First Blood
- AMIS ‐ AMIS
- ARC ‐ Arcade City
- BARF ‐ BARF (discontinued)
- BERP ‐ BokkyPooBah´s Ether Refundable Prize
- DAO ‐ The DAO
- DGD ‐ Digix DAO
- DGDb ‐ Digix DAO Badge
- DICE ‐ Etheroll
- EDG ‐ Edgeless
- EMV ‐ Ethereum Movie Venture
- ETB ‐ Ethbits
- GNO ‐ Gnosis Token
- GNT ‐ Golem Network Token
- GNTW ‐ Wrapped Golem Network Token
- GUP ‐ Matchpool Guppy
- HKG ‐ Hacker Gold
- HMQ ‐ Humaniq
- ICN ‐ Iconomi
- INC ‐ Incent
- LOVE - I Love You
- LUN ‐ Lunyr-Token
- MKR ‐ Maker DAO
- MLN ‐ Melon Token
- PLU ‐ Pluton
- RBX ‐ Ripto Bux
- REP ‐ Augur
- RLC ‐ iEx.ec Network Token
- SNGLS ‐ SingularDTV
- SWT ‐ Swarm City
- TAAS ‐ Token-as-a-Service
- TIME ‐ Chronobank
- TKN ‐ TokenCard
- TRST ‐ WeTrust
- UNI - Unicorn 🦄
- VSL - vSlice
- WAV ‐ Waves Token
- WBC ‐ Waves Bitcoin Token
- WCT ‐ Waves Community Token
- WINGS ‐ WINGS
- XAUR ‐ Xaurum