# Setup EVM ERC721 Contract

We're going to setup our erc721 first, then we'll deploy the atomictokenpeg contract.

![](https://4003270724-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MTfSc9O76OFJpqcb3QC%2F-MejhF6PdxSGWGDGz1B-%2F-MejkLJJGHSJDcYIGuV_%2F1.png?alt=media\&token=dbe4138e-1cb5-4091-bef8-f8e29ae767c7)

Click `atomicnft.sol` then move to the deployment & run transactions tab.

![](https://4003270724-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MTfSc9O76OFJpqcb3QC%2F-MejhF6PdxSGWGDGz1B-%2F-MejkrnoogZr-8EENvdw%2F2.png?alt=media\&token=6a2f267e-a300-4f61-8a6f-bfa75054ba38)

Now to use metamask we'll change the ENVIRONMENT dropdown to `Injected Web3`

![](https://4003270724-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MTfSc9O76OFJpqcb3QC%2F-Ma04tbOUc-J5LDCl5Gd%2F-Ma0E1o_KUUss0M5hWVG%2F6.png?alt=media\&token=be4d27e2-1131-4178-8a98-8867b68b4b85)

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.

![](https://4003270724-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MTfSc9O76OFJpqcb3QC%2F-Ma04tbOUc-J5LDCl5Gd%2F-Ma0El-2oGGAnusMZB-r%2F7.png?alt=media\&token=4df7a135-acbc-4ecd-bb35-f0819dfedd08)

Specify a name, symbol and base token URI and click `Transact`.

![](https://4003270724-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MTfSc9O76OFJpqcb3QC%2F-MejhF6PdxSGWGDGz1B-%2F-Mejleulz3fFyoqSCKQj%2F3.png?alt=media\&token=93346279-b649-4c5c-ac92-a5da4188f86b)

{% hint style="danger" %}
If you get an error like the following, go back [here](https://faucet.matic.network/) and request more testnet resources
{% endhint %}

![](https://4003270724-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MTfSc9O76OFJpqcb3QC%2F-MejhF6PdxSGWGDGz1B-%2F-MejmDb8uAOJmjvVaPoM%2F4.png?alt=media\&token=c2745a81-490e-4ebb-a37d-8f3b97e7a729)

If not, click **Confirm**

![](https://4003270724-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MTfSc9O76OFJpqcb3QC%2F-MejhF6PdxSGWGDGz1B-%2F-Mejmq_36WypZjictBS1%2F5.png?alt=media\&token=edca944f-5def-4874-b4f2-7b6399342148)

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/>

![](https://4003270724-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MTfSc9O76OFJpqcb3QC%2F-Ma04tbOUc-J5LDCl5Gd%2F-Ma0Fhb0zQcqwcH6DhcQ%2F10.png?alt=media\&token=cd66cf0a-7f88-4913-a826-76e660dcce19)

From here we can see that a contract was created, let's go there and save the contract's address.

![](https://4003270724-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MTfSc9O76OFJpqcb3QC%2F-MejnmlS7bPPHxX8FYEM%2F-MejoDQuQkCp-x2xpfNR%2F6.png?alt=media\&token=87440dbd-c537-4cf5-a58b-52868c1f98d7)

If you click the Contract tab, you should not need to verify the source code.  If it's not verified, go [here](https://docs.liquidapps.io/liquidapps-documentation/cross-chain-bridges/getting-started-with-liquidbridge/eosio-less-than-greater-than-evm-non-fungible-tokens/evm-side-setup/verify-source-code).

If you're here it means you have the green check, **congrats**!!

![](https://4003270724-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MTfSc9O76OFJpqcb3QC%2F-Ma0Ggo4jYBwjnT80XAI%2F-Ma0JUWzjjYhoJ1qKF7G%2F17.png?alt=media\&token=abdee898-2118-4a45-b049-9ca13b9a7d54)

Now we'll transfer ownership of the NFT contract to the bridge contract.
