- Notifications
You must be signed in to change notification settings - Fork10
Conduit - Open Source 0x Relayer API implemented in NodeJS
johnrjj/conduit
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
[Work in progress, PR/Contributions welcome! Testing on Kovan test network]
ZeroEx Open Source Relayer using theOpen Orderbook strategy.
Follows ZeroExStandard Relayer API V0 Draft specification.
To start the local dev server:
yarn installyarn dev
The server is hosted athttp://localhost:3000
To make sure it is working, make a GET request tohttp://localhost:3000/api/v0/token_pairs
┌──────────────┐ │ │ │ Client │ │ │ └──────────────┘ ▲ ▲ ┌───────┘ └───────┐ │ ▼ ┌─────────────┐ ┌─────────────┐ │ │ │ │ │ WebSocket │ │ HTTP API │ │ │ │ │ └─────────────┘ └─────────────┘ ▲ ▲ │ emits │ └─events┐ ┌──────┘ │ │ │ ▼ ┌──────────────────┐ ┌──────────────┐ ┌──────────────┐ │ Relevant event │ │ │ │◦◦◦◦◦◦◦◦◦◦◦◦◦◦│ │ streams │─────▶│ App Engine │◀─────▶│◦◦◦◦0x.js◦◦◦◦◦│ │ (includes 0x.js) │ │ │ │◦◦◦◦◦◦◦◦◦◦◦◦◦◦│ └──────────────────┘ └──────────────┘ └──────────────┘ ▲ │ ▼ ┌──────────────┐ │ │ │ Orderbook │ │ │ └──────────────┘ ▲ │ ▼ ┌──────────────┐ │ │ │ Data store │ │ │ └──────────────┘
I'll be adding support forMatching as soon asthis proposal is implemented. I personally think the matching strategy will lead to a better UX (atomic, no race conditions, faster relay feedback), but currently requires large upfront capital. Matching engine will use sorted sets on top of red-black trees and will be configured as a separate strategy.
About
Conduit - Open Source 0x Relayer API implemented in NodeJS
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.