Indexer and API of Memo NFT contract
make install # Install dependencies
# Add .env.local with required environment variables
make dev # Start development (DB + indexer + API)- Install deps with
pnpm i - Add .env.local with required environment variables
- Run indexer and api with
pnpm dev
Run make help to see all available commands including:
make dev- Full development setupmake test- Run code quality checksmake health- Check API healthmake logs- View database logs
PONDER_DATABASE_URL: PostgreSQL connection stringPONDER_RPC_URL_8453: Base mainnet RPC URLPONDER_RPC_URL_84532: Base Sepolia testnet RPC URLAPP_ENV: "PROD" for Base mainnet, otherwise Base SepoliaMEMO_NFT_ADDRESS: DwarvesMemo contract addressSTART_BLOCK: Block number to start indexing from
ENABLE_DISCORD_NOTIFICATIONS: Set to "false" to disable (default: enabled)DISCORD_WEBHOOK_URL: Discord webhook URL for notificationsOPENAI_API_KEY: Required for MCP Discord clientMCP_CONNECTION_TIMEOUT: Connection timeout in ms (default: 10000)MCP_RETRY_ATTEMPTS: Number of retry attempts (default: 3)
Note: Discord notifications are optional. The server will start and function normally even if Discord MCP connection fails.
- Setup env follow
.env.local.examplefile - Use
pnpm startcommand to run