Wallet indexer

indexer service for various assets with JSON-RPC and Websocket api

Features:

JSON-RPC

getTransactionsByAddress: Get ETH transactions by address.

WebSocket:

subscribeToAccount: Websocket events for new ERC20 token and ETH transfers for an address.

Backends:

Ankr

We provide a proxy for using Ankr as your data provider. Using the Ankr proxy allows your to easily access ETH mainnet or testnets

Hardhat

Using the the Hardhat proxy, you're able run an indexer on your local hardhat instance. See the wallet-test-tools repo to setup your local instance.

Setup and Run

Clone the wallet indexer repo

git clone [email protected]:tetherto/lib-wallet-indexer.git
cd lib-wallet-indexer

Install dependencies and copy config

npm install
cp ./config.json.example ./config.json 

Run

For running with hardhat backend:

npm run start-hardhat

For running against ankr:

npm run start-ankr

Last updated