- See
.env.example
for the env file needed - Set
ranges
andnumbers
fields insyncConfig.json
file. Leave as empty array if not needed - Both
fromBlock
andtoBlock
are inclusive in range - All numbers must be integers, not strings
- npm startTestnet
- npm startMainnet
- npm startTestnet -- --sync
- npm startMainnet -- --sync
- npm run showAll -- --network mainnet
- https://explorer.electronlabs.org/
- https://explorer.electronlabs.org/transaction/?nonce=33&source=eth
- https://testnet.explorer.electronlabs.org/list_transactions/?per_page=5&page_no=0
- Set apropriate
DATABASE_URL
in the .env file - run
npx prisma migrate dev