TokelPlatform / tokel_dapp

Tokel's All-In-One application. Featuring a coin wallet, token wallet, tokenDEX, NFT marketplace and a token creation page.
https://tokel.io
MIT License
39 stars 24 forks source link

Recent Activity for all tokens/coins #11

Closed piggydoughnut closed 3 years ago

piggydoughnut commented 3 years ago

Add local db to store wallet transactions.

https://javascript.info/indexeddb https://jsstore.net/ or https://dexie.org/

NSPV docs https://developers.komodoplatform.com/basic-docs/smart-chains/smart-chain-setup/nspv.html#introduction

piggydoughnut commented 3 years ago

So, the battle plan is to run a couple of SPV servers ( KMD full nodes ), those will be run with addressindex=1 spentindex=1 so they will have a full index of all addresses and their txs. Those will be our explorer nodes. These servers will be added as peers to our nspv coin configuration (which is in the coins file of libnspv repo).

Plus we will have a local db for storing wallet txs. We will query the explorer nodes with some frequency during the day to make sure we are aware of all the txs that happen in the network by our address.

KMD docs on coins file setup

Here is the chat with jl about this