A relayer able to mirror any NFT to an arbitrary L2
- Launch MongoDB using docker compose
docker compose up
- Launch relayer
yarn start
And that's pretty much it
- Deploy
curl -X POST -H "Content-Type: application/json" -d '{"constructorArgs":["arg1", "arg2"]}' http://localhost:3000/deploy/--l1ContractAddress--
- Login
http://localhost:3000/login/--L1 EOA--/--L1 NFT ADDRESS--/--Token Id--
- Update L1
http://localhost:3000/login/--l2ContractAddress--/--tokenId--