Skip to content

gks2022004/FxPortal_ERC721

Repository files navigation

NFT Bridge using FXPortal

This project showcases how the FXPortal bridge facilitates the seamless transfer of ERC721 NFTs from the Ethereum Goerli testnet to the Polygon Mumbai testnet.

Overview

In this project, there's a Solidity smart contract integrated to mint ERC721 NFTs on the Ethereum Sepolia testnet. Following their minting, these NFTs are subsequently transported to the Polygon Mumbai testnet using the FXPortal bridge.

Usage

  1. Fork this repository and clone it to your local machine.
  2. Run npm install to install all dependencies.
  3. Deploy the smart contract on the Ethereum Goerli testnet using the deploy.js script.
  4. Mint five ERC721 NFTs using the mint.js script.
  5. Transfer the NFTs to the Polygon Mumbai testnet using the FXPortal bridge using the approveDeposit.js script.
  6. You can then check the balance of the polygon contract to verify the transfer using the getBalance.js script.

Link for the deployed NFT collection

For Developers

Include the json files of the NFTs, and upload the pictures for NFTs on the pinata cloud.

This is a Hardhat project with four scripts. To run a script, use the following command:

npx hardhat run scripts/<scriptName> --network <networkName>

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published