This project is a decentralized naming service using Solidity for the backend smart contracts and React for the frontend interface. It allows users to register and manage unique names associated with Ethereum addresses on the Polygon network.
- Name Registration: Users can register unique names tied to their Ethereum addresses on the Polygon network.
- Frontend Interface: Built with React to interact with the Solidity smart contracts.
- Node.js & npm installed
- Metamask extension or any Ethereum-enabled browser
-
Navigate to the
Solidity
directory. -
Install dependencies with
npm install
. -
Compile the Solidity contracts using a Solidity compiler like
solc
.npx hardhat compile
-
Deploy the contracts to the Polygon Mumbai testnet using Hardhat
npx hardhat run scripts/deploy.js --network mumbai
- Navigate to the
React
directory. - Install dependencies with
npm install
. - Start the development server.
To deploy the contracts to the Polygon mainnet, modify the deployment script to target the mainnet in scripts/deploy.js, and execute the deployment command again.