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

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

你可能感兴趣的:(一起写区块链上的去中心交易所-1)