state pfp
state
@statelayer
Is there a canonical bridge to move NFTs from mainnet to @base?
2 replies
0 recast
3 reactions

jesse.base.eth 🔵 pfp
jesse.base.eth 🔵
@jessepollak
you can use the native bridge for that, though there's not yet a UI for it @wilsoncusack @bayardo.eth do you know what the functions are? we welcome mainnet NFTs
1 reply
0 recast
3 reactions

Wilson Cusack pfp
Wilson Cusack
@wilsoncusack
Haven’t used, but is here https://etherscan.io/address/0x608d94945A64503E642E6370Ec598e519a2C1E53#writeProxyContract
5 replies
0 recast
4 reactions

Kames pfp
Kames
@kames
Is there is a public Github repo wgere I could check out the unit tests and general flow of the contracts? Could probably whip something up this weekend if I had little more context on how everything is expected to work.
1 reply
0 recast
0 reaction

Wilson Cusack pfp
Wilson Cusack
@wilsoncusack
Maybe start here? https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/test/L1/L1ERC721Bridge.t.sol
2 replies
0 recast
1 reaction

Kames pfp
Kames
@kames
Perfect - thank you. Looks like the L2 NFT needs to inherit OptimismMintableERC721.sol By any chance do you know if there is factory or registry contract that already exists for this? If not maybe I should write a CREATE2 factory that hashes the L1 NFT address and L2 chainId to create a deterministic L2 NFT contract?
1 reply
0 recast
0 reaction

Wilson Cusack pfp
Wilson Cusack
@wilsoncusack
There’s a factory in that same repo!
1 reply
0 recast
0 reaction

Kames pfp
Kames
@kames
🤦‍♂️missed that... thanks.
0 reply
0 recast
0 reaction