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

Utilizing relayers for order matching #20

kasima opened this issue Apr 20, 2018 · 1 comment

Utilizing relayers for order matching #20

kasima opened this issue Apr 20, 2018 · 1 comment


Copy link

@kasima kasima commented Apr 20, 2018

No description provided.

@smartcontracts smartcontracts changed the title utilizing relayers for order matching Utilizing relayers for order matching Apr 20, 2018
Copy link

@smartcontracts smartcontracts commented Apr 20, 2018


Relayers are an interesting construction that permit order matching in a centralized manner. The basic idea is that users will send special order transactions to relayers. These special transactions work such that they can be executed if they're matched with another order transaction.

For example, Alice signs an order transaction selling 1 ETH and buying 1 BTC. Bob signs a transaction selling 1 BTC and buying 1 ETH. Both send the transactions to a relayer. The relayer then matches the two transactions and broadcasts it to the child chain.

Currently, these transactions still need to be confirmed by the two parties. This leaves the system open to reneging if either parties decides they don't want to transact. It's possible for the relayer to blacklist any users that have failed to sign a confirmation.

Relayers will look a lot like 0x relayers, so I think there are some potential lessons learned from 0x. Some research should be done on 0x's Open Orderbook vs Matching models.

Research Questions

  • Can we remove the need for the confirmation signature?
  • Is blacklisting good enough?
  • How are these special transactions formed in practice?
  • What problems did 0x face when implementing relayers?
  • Who should be a relayer?


On Radar and Relayers
0x Protocol Wiki: Open Orderbook
0x Protocol Wiki: Matching

@kasima kasima added this to To do in Plasma May 9, 2018
@kasima kasima closed this Mar 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
No open projects
To do
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants