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

Create an order book contract for the exchange contract family #10

Open
cmickeyb opened this issue Oct 4, 2023 · 0 comments
Open

Create an order book contract for the exchange contract family #10

cmickeyb opened this issue Oct 4, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@cmickeyb
Copy link
Contributor

cmickeyb commented Oct 4, 2023

An order book is typically used to match buyers and sellers. I can imagine an order book for the exchange contract family that would store exchange/order contract pointers and/or auction pointers. The order book would be a place where exchange opportunities could be discovered.

Some potential ideas for the order book:

  • The order book is a list of open exchange contracts; it should include all of the information necessary for a buyer to discover and interact with the order which may include all of the contract files (*.pdo) and all of the context files.
  • Listing an order may require that the seller include a deposit with the order book in order to ensure that those sellers continue to maintain the order book; that is, I can imagine that an order added to the order book would have a limited duration after which the deposit is forfeited to the order book. This is really about ensuring that information in the order book is not stale.
@cmickeyb cmickeyb added enhancement New feature or request good first issue Good for newcomers labels Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant