Skip to content

Proxy requests to the indexer using an API key.

Notifications You must be signed in to change notification settings

AbstractSDK/indexer-proxy

 
 

Repository files navigation

indexer-proxy

Proxy requests to the indexer using an API key.

Deployed at https://indexer.daodao.zone

Development

Run locally

npm run dev
# OR
wrangler dev --local --persist

Configuration

  1. Copy wrangler.toml.example to wrangler.toml.

  2. Configure secret:

echo <VALUE> | npx wrangler secret put API_KEY

Deploy

wrangler publish
# OR
npm run deploy

API

GET /:chainId/...:route

Passes the route through to the indexer with the API key attached.

Example: /juno-1/contract/junoDaoAddress/daoCore/dumpState

About

Proxy requests to the indexer using an API key.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%