Skip to content

Batch Transfer NFTs - The easiest and fastest way to transfer some, or all your NFTs from one collection between addresses.

License

Notifications You must be signed in to change notification settings

Pedrojok01/MoveMyNFT

Repository files navigation

Move My NFT

The easiest and fastest way to transfer your NFTs between addresses.

Stargazers Issues MIT License codecov

Description

Multichain Dapp deployed on Ethereum, Optimism, Arbitrum, Polygon, Fantom and Binance Smart-Chain. Allow any user to quickly and simply transfer some, or all NFTs from a collection (either ERC721 or ERC1155) from one address to another in one clic.

Preview

Smart-contracts verified on:

Built With

  • React
  • typescript
  • AntDesign
  • Rainbowkit
  • prettier
  • ESLint

Front-end Installation

💿 Clone the repo and install all dependencies:

Start by cloning the repo:

git clone https://github.com/Pedrojok01/MoveMyNFT.git .

Then install all dependencies:

yarn

✏ Edit the .env.example file in the main folder with all required info. Don't forget to remove .example ! Example:

NEXT_PUBLIC_NODE_ENV = development;
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID = api_key_here;
MORALIS_API_KEY = api_key_here;
ALCHEMY_API_KEY = api_key_here;

🔎 Locate the file constant.js in src/data/constant.ts and paste your smart-contracts addresses;

export const MOVE_MY_NFT = "0x505E76dd375DEd411101eD80E23DEb93db4c323A";

🔎 Locate the ABIs files in the src/data/abis folder and edit your ABIs if you've made any changes to the smart-contracts;

export const NFT_ABI = ["NFT ABI here...];

🚴‍♂️ Run your App:

Dev. mode:

yarn dev

Prod. mode:

yarn start

Smart-contract deployment

💿 Move inside the hardhat folder and install all dependencies:

cd hardhat

Then install all dependencies:

yarn install

✏ Edit the .env.example file in the main folder with all required info. Don't forget to remove .example !

✏ Edit the hardhat.config.ts as needed, if needed, then make sure to select the correct network in the package.json script section.

"scripts": {
        ...
        "deploy": "hardhat run --network ethereum scripts/deploy.ts",
        ...
    },

💿 Test that everything is working as intended:

Note: The code coverage is limited to the smart-contracts, the front-end is not covered.

yarn test

💿 Run Slither analyzer:

yarn slither

💿 Deploy your contracts:

yarn deploy

Enjoy!!!

⭐️ ... and don't forget to leave a star if you like it! ⭐️

(back to top)