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

OrderHistory #87

Open
skullnbonesdao opened this issue Jul 28, 2022 · 1 comment
Open

OrderHistory #87

skullnbonesdao opened this issue Jul 28, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@skullnbonesdao
Copy link

Problem

Using the StarAtlas/factory there seems to be no way to get a order-history atm?

Solution

Provide a function to receive the order history per asset.
Just like the getOpenOrdersForAsset() just for successful transfers.

Notes

As always thanks for your time.

@MikeLuDev
Copy link
Member

@skullnbonesdao order history (as-is) would require crawling through the Solana transaction history for any given user or for the entire program which is extremely network heavy.

We have internal plans to index all historical Galactic Marketplace data in a centralized database in the future rather than supporting the above querying through direct on-chain calls since it's so inefficient - no details or timelines on that ready at this moment but more to come soon™

@MikeLuDev MikeLuDev added the enhancement New feature or request label Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants