Skip to content

rishabhgupta123321/DelhiToken-ERC20

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DelhiToken

A custom ERC-20 token for ETHGlobal New Delhi 2025.

Overview

I’m a beginner in Solidity, and DelhiToken is my first step into Web3, built using OpenZeppelin’s ERC-20 template. I studied the code to learn token standards, customized the name and symbol, and deployed it on Sepolia to get hands-on experience for ETHGlobal.

Deployment

Features

  • Token Name: DelhiToken
  • Symbol: DLT
  • Initial Supply: 1,000,000 tokens
  • Functions: Transfer, approve, check balances.

Code Breakdown

DelhiToken.sol inherits OpenZeppelin’s ERC20 contract for secure token logic. I set the name to "DelhiToken" and symbol to "DLT" in the constructor, minting 1,000,000 tokens with 18 decimals to my wallet. I learned how decimals() ensures precision and how Remix simplifies deployment. OpenZeppelin’s audited code gave me confidence in its security.

Files

  • DelhiToken.sol: Defines the ERC-20 token.
  • LICENSE: MIT License, allowing open-source use.
  • .gitignore: Node.js template with artifacts/ for clean commits.
  • README.md: This file, detailing my project and journey.

Source

Built using OpenZeppelin’s ERC-20 template, licensed under MIT. I customized the name and supply while learning from their code.

My Journey

I’m thrilled to explore Ethereum! Reading OpenZeppelin’s code taught me about tokens, and deploying to Sepolia was a big win. I chose “DelhiToken” to reflect my excitement for ETHGlobal New Delhi 2025.

Usage

  • Compile and deploy DelhiToken.sol in Remix (Solidity 0.8.20).
  • Interact via MetaMask or ethers.js for transfers.
  • Verify on Etherscan.

License

Licensed under the MIT License—see LICENSE.

Contact

Email me at rishabhgupta78470@gmail.com or find me on X @rishabh_guptaz. Excited to connect at ETHGlobal New Delhi 2025!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published