Skip to content

shreyasrajiv327/Domain-Naming-Service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Domain-Naming-Service

Screenshot 2023-11-28 at 5 34 40 PM

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.

Features

Features

  • 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.

Installation

Prerequisites

  • Node.js & npm installed
  • Metamask extension or any Ethereum-enabled browser

Backend (Solidity)

  1. Navigate to the Solidity directory.

  2. Install dependencies with npm install.

  3. Compile the Solidity contracts using a Solidity compiler like solc.

    npx hardhat compile
  4. Deploy the contracts to the Polygon Mumbai testnet using Hardhat

    npx hardhat run scripts/deploy.js --network mumbai

Frontend (React)

  1. Navigate to the React directory.
  2. Install dependencies with npm install.
  3. Start the development server.

Deploying to Mainnet