Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ERC-20, ERC-223 and ERC-721 tokens #4

Open
5 tasks
HarryR opened this issue Jun 25, 2018 · 0 comments
Open
5 tasks

Support ERC-20, ERC-223 and ERC-721 tokens #4

HarryR opened this issue Jun 25, 2018 · 0 comments

Comments

@HarryR
Copy link
Owner

HarryR commented Jun 25, 2018

To play nicely with the Ethereum token and asset economy the HTLC contract needs to support the various widely used token standards.

The core HTLC logic should be separated into it's own contract, which can then be used by frontend contracts for the specific token.

TODO

  • add address token to Exchange struct
  • When token == address(0x0) it's Ether? Or separate contract for Ether.
  • Write tests for ERC-20 token
  • Python client support for the supported tokens
  • Include token address in HASH(...) = exchGUID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant