solana-labs / solana

Web-Scale Blockchain for fast, secure, scalable, decentralized apps and marketplaces.
https://solanalabs.com
Apache License 2.0
13.02k stars 4.19k forks source link

getting historical state of a token account #35672

Closed degenSumi closed 4 hours ago

degenSumi commented 4 hours ago

hey,

I am trying to get the historical state of a token account so that we can track an users balance historically, however i can't find links in this answer in a related question:

Hi @leoluk, we have created an AccountsDb plugin framework enabling replicating accounts data to external data stores such as db or Kafka on top of which one can build applications serving clients with accounts data an offloading the core validator. We have an reference implementation with PostgreSQL. You can get more info in https://github.com/lijunwangs/solana/tree/master/accountsdb-plugin-interface and https://github.com/lijunwangs/solana/tree/master/accountsdb-plugin-postgres. This enables one to persist the historical data for accounts. Please check it out and let me know if you have any questions/suggestions.

github-actions[bot] commented 4 hours ago

This repository is no longer in use. Please re-open this issue in the agave repo: https://github.com/anza-xyz/agave