Skip to content

marlinprotocol/envio-indexer

Repository files navigation

Verifiable Envio indexer on Marlin

Please refer to the Envio documentation website for an introduction to Envio. This repo assumes you already have an Envio indexer.

Run locally

pnpm dev

Visit http://localhost:8080 to see the GraphQL Playground, local password is testing.

Deploy on Marlin

0. Setup

Copy Dockerfile and docker-compose.yml to your indexer folder. For testing purposes, you can run the commands in this repo as-is to deploy an indexer that indexes POND balances on Arbitrum.

1. Publish a docker image with the indexer

docker build . -f Dockerfile -t <your_account>/envio:latest
docker push <your_account>/envio:latest

2. Configure compose file

In docker-compose.yml, look for marlinorg/envio:latest and replace it with <your_account>/envio:latest. Feel free to change configuration of the components as needed.

3. Deploy

# for amd64
oyster-cvm deploy --wallet-private-key <your_private_key> --duration-in-minutes 30 --docker-compose docker-compose.yml --arch amd64 --instance-type c6a.2xlarge
# for arm64
oyster-cvm deploy --wallet-private-key <your_private_key> --duration-in-minutes 30 --docker-compose docker-compose.yml --arch arm64 --instance-type c6g.2xlarge

The wallet needs ETH and USDC on the Arbitrum One network.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •