Consensys / Consensys/Token-Factory

Add basic token buy/sell escrow orders

Open
#12 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
473
Forks
295
PR merge metrics
No merged PRs in 30d

Description

EtherEx has a more complicated order matching system. For starters, one can build simple buy/order systems for tokens buy making an buy/sell escrow contract.

It's quite simple.

1) Create a contract with order filling functionality and setting a price someone else will pay per unit.
2) Approve a certain amount of tokens one wants to sell to this contract.
3) Someone else can then come in, send ether to it and then approved tokens are transferred to person buying the tokens.

Piper Merriam has built a simple version of this here: https://gist.github.com/pipermerriam/68ab56ad47358193a4d4ecf367f2e683

A variant of this was built by avsa. See here: https://ethereum.org/token#automatic-selling-and-buying

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.