一起写区块链上的去中心交易所-1

2017-10-31  本文已影响0人  HelloSun

Exchange Coin 交易所的核心组建:

Taker

  1. take a order to trade.
  2. trade status.

Maker

  1. make a order.
  2. order status.

Geter

  1. get all orders.
  2. get all trades.
  3. get self trades.

Deposit, Withdraw

  1. in amounts.
  2. out amounts.

Match Engine

  1. auto sells, buys match

中心化交易所才需要的功能:

User

  1. login, logout
  2. register
  3. resetpassword
  4. message notification

各种交易所的原型代码在exchange-prototype

上一篇 下一篇

猜你喜欢

热点阅读