The NFTBridgePass
is a simple implementation of an NFT minted on L1 as a fun way to incentivize bridging into L2. The idea came from a post written by Denis on Mirror.
We wrote a script that creates a new instance of NFTBridgePass
and mints an NFT while bridging to Optimism. You can run a script against the Kovan network with the following command:
forge run src/scripts/Contract.sol -vvvv --rpc-url ${_42}
See the Foudry Github repo for installation.
forge remappings > remappings.txt
cp .env.example .env
Update .env
to include all variables.
make build