Skip to content

protocol-review/nft-bridge-pass

Repository files navigation

NFT Bridge Pass

Table of Contents

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}
Setup

Install Foundry

See the Foudry Github repo for installation.

Set up remappings

forge remappings > remappings.txt

Set up env

cp .env.example .env

Update .env to include all variables.

Compile files

make build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published