Skip to content

meed-limited/MoveMyWallet-app

Repository files navigation



Transfer all the assets from one wallet to another easily.

Stargazers Issues MIT License

Description

Cross-chain Dapp deployed on Ethereum, Binance Smart-Chain and Polygon. Allow any user to quickly and simply transfer all assets (ERC20, ERC721 and ERC1155) from one address to another.

Preview

Front-end Installation

💿 Clone the repo and install all dependencies:

git clone https://github.com/superultra-io/MoveMyWallet-app.git
cd MoveMyWallet-App
yarn install

✏ 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_ALCHEMY_API_KEY = api_key_here;
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID = api_key_here;

MORALIS_API_KEY = api_key_here;
ALCHEMY_API_KEY = api_key_here;
MONGODB_URI = uri_here;
MONGODB_COLLECTION = collection_name;

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

// Production:
export const MOVE_MY_WALLET_ETHEREUM = "";
export const MOVE_MY_WALLET_BSC = "";
export const MOVE_MY_WALLET_POLYGON = "";

// Development:
export const MOVE_MY_WALLET_GOERLI = "";
export const MOVE_MY_WALLET_MUMBAI = "";
export const MOVE_MY_WALLET_BSC_TESTNET = "";

🔎 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
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:

yarn test

💿 Deploy your contracts:

yarn deploy

Enjoy!!!

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

(back to top)