CLI tool to scaffold AccessNode projects for AccessTime. Clones the AccessNode repo, configures blockchain networks and contract addresses, and generates a node.config.ts file. Supports Light and Full modes for decentralized data querying with Ponder.
pnpm create accessnode
- Run the CLI with create-accessnode --project-name=my-node
- Enter a project name (default: accessnode-app)
- Select blockchain networks (e.g., Base, Base Sepolia)
- Provide contract addresses and start blocks for each chain
- The CLI clones the AccessNode repo and generates node.config.ts
- Navigate to the project: cd my-node
- Install dependencies: pnpm install
- Run the node:
- Light mode: pnpm start:light
- Full mode: pnpm start:full
- With UI: pnpm start:light:ui or pnpm start:full:ui