Setup EVM ERC721 Contract
We're going to setup our erc721 first, then we'll deploy the atomictokenpeg contract.
Click atomicnft.sol then move to the deployment & run transactions tab.
Now to use metamask we'll change the ENVIRONMENT dropdown to Injected Web3
Make sure in metamask you have your token account selected and that it is connected, take note of the last 4 digits of your address and ensure under the ACCOUNT tab the same account is selected.
Specify a name, symbol and base token URI and click Transact.
If you get an error like the following, go back here and request more testnet resources
If not, click Confirm
In the console you should see the creation and if you click on the transaction you can copy and paste it into https://mumbai.polygonscan.com/​
From here we can see that a contract was created, let's go there and save the contract's address.
If you click the Contract tab, you should not need to verify the source code. If it's not verified, go here.
If you're here it means you have the green check, congrats!!
Now we'll transfer ownership of the NFT contract to the bridge contract.
Copy link