TokenForge is a decentralized application (DApp) designed for creating ERC-20 tokens easily and securely on the Ethereum blockchain. This project leverages the power of Hardhat for smart contract development and Vite as the frontend build tool. It is exclusively available on the Celo testnet.
- ERC-20 Token Creation: Seamlessly create your own ERC-20 tokens, set their name, symbol, and total supply.
- Wallet Connection: Interact with the application using MetaMask for wallet connectivity.
- Network Switching: Automatically switches to the Celo testnet if the connected wallet is on an unsupported network.
- Transaction Feedback: Provides real-time feedback on transaction status, including success, error, and processing states.
- Hardhat: Used for smart contract development, testing, and deployment. It simplifies the process of writing and testing Ethereum-based contracts.
- Vite: A fast and modern frontend build tool that provides an optimized development workflow for React applications.
- Tailwind CSS: Utilized for styling the application with utility-first CSS classes.
- Ethers.js: A library for interacting with the Ethereum blockchain, used here for wallet connection and contract interaction.
- OpenZeppelin Contracts: Secure and community-vetted smart contract library, providing robust implementations of ERC-20 and other standards.
-
Clone the Repository:
git clone https://github.com/rakibmia7254/TokenForge.git cd TokenForge
-
Install Dependencies:
npm install
-
Configure Environment Variables: Create a
.env
file and add your private key and Etherscan API key:PRIVATE_KEY=your_private_key ETHERSCAN_API_KEY=your_etherscan_api_key
-
Compile Contracts:
npx hardhat compile
-
Deploy Contracts to Celo Testnet:
npx hardhat run scripts/deploy.cjs --network celo
-
Start the Frontend:
npm run dev
- Connect your MetaMask wallet and ensure you are on the Celo testnet.
- Use the interface to input token details and initiate the creation process.
- Monitor the status of your transaction and view your token on Celoscan.
This project is licensed under the MIT License.
- Hardhat: For providing an excellent Ethereum development environment.
- Vite: For making frontend development fast and efficient.
- OpenZeppelin: For their reliable smart contract libraries.