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

Move remaining data needs to backend APIs #1691

Open
aristidesstaffieri opened this issue Nov 20, 2024 · 2 comments
Open

Move remaining data needs to backend APIs #1691

aristidesstaffieri opened this issue Nov 20, 2024 · 2 comments

Comments

@aristidesstaffieri
Copy link
Contributor

aristidesstaffieri commented Nov 20, 2024

We aim to move all data fetching to our backend in order to move away from Horizon and setup for a multi platform future.
We should find ways to moving the following remaining Horizon calls to the backend -
server.loadAccount(..pubkey..)
server.accounts()
server.feeStats()
server.assets()
server.checkMemoRequired()

Should we move these?
Federation.Server.resolve()

@aristidesstaffieri aristidesstaffieri changed the title All instances of server.loadAccount should go through backend Move remaining Horizon calls to backend Nov 20, 2024
@JakeUrban
Copy link
Contributor

Is this worth doing if we're going to move away from Horizon entirely? It may make sense to update this task to state that all calls for network data should be made on the backend (if thats the goal). Where we fetch that network data on the backend can be a task for stellar/freighter-backend.

@aristidesstaffieri
Copy link
Contributor Author

Yeah I think this just needs re-wording. We should still make it so all data comes from an API call to the backend.

@aristidesstaffieri aristidesstaffieri changed the title Move remaining Horizon calls to backend Move remaining data needs to backend APIs Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants