Currently we're dependent on ergo explorer for balances, etc.
While the built-in wallet for the ergo node supports balances it only supports a single wallet at any given time.
The solution to this is a blockchain indexer that can be shipped alongside wallet-x on users machines that indexes the blockchain via the running node.
Options:
Create a custom indexer specifically for getting balances, utxos etc
Use ergo-backend indexer module - not really suitable, its in Scala which makes it annoying to ship to end users (JVM) and depends on postgres which mostly rules it out as a option
Implement coinbase rosetta API with a indexer and use that.
The rosetta-go-sdk has a lot of nice features and makes it easy to store indexed data locally using badger kv db
The wallet becomes compatiable with other blockchains with rosetta implementations, we could easily support bitcoin, ethereum, cardano, etc in the future
We kill 2 birds with one stone by helping Ergo with a rosetta implementation
Currently we're dependent on ergo explorer for balances, etc.
While the built-in wallet for the ergo node supports balances it only supports a single wallet at any given time.
The solution to this is a blockchain indexer that can be shipped alongside
wallet-x
on users machines that indexes the blockchain via the running node.Options:
ergo-backend
indexer module - not really suitable, its in Scala which makes it annoying to ship to end users (JVM) and depends onpostgres
which mostly rules it out as a optionrosetta-go-sdk
has a lot of nice features and makes it easy to store indexed data locally usingbadger
kv dbhttps://github.com/ross-weir/rosetta-ergo