A simple fork of the Louper V2 project that can be run on a local environment for testing.
The src/lib/config.ts
file has been modified to simply include only the following local string:
rpcUrl: 'http://localhost:8545/',
explorerUrl: 'http://localhost:4000',
explorerApiUrl: 'http://localhost:4000/api',
chainId: '1337'
You will need a Subabase local db instance. Follow the instructions to get set up.
Run:
npx supabase login init
npx supabase login start
npx supabase login db reset
You should now have a working DB.
Run:
cp .env.example .env
supabase status
Copy the service_role key
and paste that as the value of SUPABASE_KEY
in .env
Ensure you have pnpm installed.
Run:
pnpm install
pnpm run dev
You should now have a working dev environment.
MIT License