genesisdotre / trustless-token-transfer-trade

Deployed to GitHub pages. Contract deployed to Ropsten (testnet), do not send real ETH.
https://genesis.re/trustless-token-transfer-trade/
3 stars 6 forks source link

OTC TTTT - Trustless Token Transfer Trade

1 you meet a year ago at a conference and he is a cool guy but wouldn't trust with 1 BTC

Design goals

Running tests

truffle test

Known attacks

Front-running:

Workaround: pass the rate to the kamikaze function. YEAH, I've called the function kamikaze because I want to make you think and read the code.

License

https://en.wikipedia.org/wiki/WTFPL

WTFPL + immutable laws of the universe (including but not limited to karma) are still in play.

Just don't be a dick or an asshole.

Disclaimer

It's crypto, DYOR (do your own research), always ensure you know what you are doing. Try on the testnet first. When on mainnet - try with a small amount. If you don't know how to deploy the code, you probably should not use it.

Hire me

Do you like my code? Do you like my style? You may want to hire me for side projects.

https://genesis.re/wiki#Plan_B

Developed with

$ truffle version
Truffle v5.0.14 (core: 5.0.14)
Solidity v0.5.0 (solc-js)
Node v10.15.3
Web3.js v1.0.0-beta.37