A modern web https://anon-id-a921.vercel.app/ application for creating, managing, and verifying Decentralized Identifiers (DIDs) on the Educhain testnet.
- 🔐 Create and manage Decentralized Identifiers (DIDs)
- 🔍 Verify DIDs on the blockchain
- 💼 Manage DID attributes and metadata
- 🔗 Built on Educhain testnet
- 🎨 Modern UI with AnonID branding
- 🔒 Secure wallet integration
- Node.js (v14 or higher)
- npm or yarn
- MetaMask or compatible Web3 wallet
- EDU tokens on Educhain testnet (minimum 0.001 EDU)
- Clone the repository:
git clone https://github.com/Crimzor3086/AnonID.git
cd AnonID-- Install dependencies:
npm install- Set up environment variables:
Create a
.envfile in the root directory with:
VITE_CONTRACT_ADDRESS=your_contract_address
VITE_RPC_URL=your_rpc_url
- Navigate to the smart contracts directory:
cd smart-contracts- Install dependencies:
npm install- Deploy the contract:
npx hardhat run scripts/deploy.ts --network educhain- Start the development server:
npm run dev-
Connect your Web3 wallet (MetaMask recommended)
-
Ensure you have sufficient EDU tokens (minimum 0.001 EDU)
-
Access the application at
http://localhost:5173
- Generate unique DIDs
- Automatic DID suggestion based on wallet address
- Blockchain verification
- Local storage backup
- View all your DIDs
- Add/update DID attributes
- Deactivate DIDs
- View DID history
- Verify DIDs on the blockchain
- Check DID status and attributes
- View detailed verification results
- Local and blockchain verification
- React + TypeScript
- Vite
- Material-UI
- Ethers.js
- Hardhat
- Solidity
The DID Registry contract provides the following main functions:
createDID(string memory did)isDIDActive(string memory did)getDIDOwner(string memory did)setAttribute(string memory did, string memory key, string memory value)getAttribute(string memory did, string memory key)deactivateDID(string memory did)
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- GitHub: Crimzor3086
- Email: b3masendi7@gmail.com
- Educhain testnet team
- OpenZeppelin for smart contract templates
- Material-UI for the component library