Please refer to the Envio documentation website for an introduction to Envio. This repo assumes you already have an Envio indexer.
pnpm devVisit http://localhost:8080 to see the GraphQL Playground, local password is testing.
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.
docker build . -f Dockerfile -t <your_account>/envio:latest
docker push <your_account>/envio:latestIn 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.
# 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.2xlargeThe wallet needs ETH and USDC on the Arbitrum One network.