Snapchain RPC Test

This is to help test the RPC URLs on the rollup instance machines

Pre-requisites:

  1. run yarn after cloning the repo
  2. run cp .env.example .env
  3. modify .env to change the urls to use your own slug
  4. run yarn run build to compile the contracts

How to use it:

  • yarn run http:simple https://rpc-l2.<your_slug>.snapchain.dev: simple RPC test (should work for both L1 and L2)
  • yarn run deploy:token <network>: deploy token test. <network> is defined in hardhat.config.ts. it can be either l1 or l2