Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 574 Bytes

README.md

File metadata and controls

46 lines (32 loc) · 574 Bytes

ens-avatar-worker

Install

pnpm install

Setup

cp .example.vars .dev.vars

Run

pnpm start

Publish

pnpm publish

Note

The WEB3_ENDPOINT_MAP needs to be manually set as a secret value. The value should be a JSON object of network name => endpoint.

Value structure:

{
  "mainnet": "<MAINNET_RPC>",
  "goerli": "<GOERLI_RPC>",
  "sepolia": "<SEPOLIA_RPC>",
  "holesky": "<HOLESKY_RPC>"
}

The value can be set by using:

echo <VALUE> | pnpm wrangler secret put WEB3_ENDPOINT_MAP