CODING TUTORIAL - Building Your Own Cryptocurrency on the Ethereum Network: A Epic Step-by-Step Guide [ PART 1 ]

By Louky | THE CRYPTO-DEV JOURNAL | 15 Jun 2023

coding gif

Hey there, my crypto-savvy buddies!

 Buckle up and get ready for an awesome adventure as we embark on a mission to create your very own cryptocurrency on the Ethereum network.
In this kickass guide, we'll walk you through each step like we're chillin' with our crew.

So grab your keyboards and let's dive into this wild crypto ride together!

Step 1: Setting Up Your Dev Playground Alright, first things first. Let's make sure you've got the right tools for this crypto party. We're gonna rock Visual Studio Code (VS Code) as your ultimate coding hangout.

It's got all the cool features for Ethereum development.

Head over to the official website ( and download VS Code, bro.

Step 2: Installing the Must-Have Extensions Now that you've got VS Code ready to roll, let's supercharge it with some killer extensions. These babies will take your Ethereum skills to the next level:

  • Solidity: This extension is gonna make your code look like a million bucks with syntax highlighting, compilation, and debugging support. Search for "Solidity" in the Extensions view and click that install button. You're gonna love it, trust me!

  • Ganache: Ganache is like your private Ethereum playground for rapid development. Install the "Ganache" extension to set up a local Ethereum network right inside VS Code. It's gonna be a party, my friend!

  • Truffle Suite: Truffle is the ultimate toolkit for Ethereum development. Install the "Truffle Suite" extension to get access to all the cool Truffle commands and features. It's gonna make your coding life so much easier, dude!

Step 3: Creating Your Epic Truffle Project Alright, now it's time to start building your crypto empire.


Let's create a fresh Truffle project that's gonna be the foundation for your dreams. Open up that terminal in VS Code by going to View -> Terminal. Type in this command to install Truffle globally:


npm install -g truffle

Once that's done, navigate to the directory where you want your project to live. Run this command to create a brand new Truffle project:

truffle init

Boom! You've just set up the skeleton of your project, complete with a contracts directory where the magic happens.

Step 4: Writing Your Awesome Smart Contract Now it's time to unleash your coding skills and write the smart contract for your kickass cryptocurrency. Open up the contracts directory and locate the file named "SimpleToken.sol." Rename that bad boy to something epic, like "MyToken.sol" for example.

Open up your token contract file and replace the code with this wicked snippet:


// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract MyToken {
   string public name;
   string public symbol;
   uint256 public totalSupply;

     mapping(address => uint256) public balanceOf;

   constructor(uint256 initialSupply, string memory tokenName, string memory tokenSymbol) {
   name = tokenName;
   symbol = tokenSymbol;
   totalSupply = initialSupply;
   balanceOf[msg.sender] = initialSupply;


This snippet sets you up with a badass ERC20 token contract.

It's got everything you need, like the name, symbol, total supply, and a mapping to keep track of everyone's stacks.
Feel free to add your own swagger to it, bro!

Alright, my crypto warriors, we've covered some serious ground in this epic first part of our tutorial. You've set up your dev playground, installed the essential extensions, created a Truffle project, and written a killer smart contract for your very own cryptocurrency.

Stay tuned for Part 2, where we'll tackle testing and deploying your crypto masterpiece.

Remember to save your code and keep track of your token's name, symbol, and initial supply.

Happy coding, my dudes!



First Disclaimer:This tutorial have 6 part , This is the first , ( PART 2 HERE

Seconde Disclaimer: Yo ! This tutorial is just a educational purposes !!!!!!
Always do your own research and exercise caution when dealing with cryptocurrencies.

🚀Cheers Fam! 🚀

Feel Free To send your support with your like and your tips is help me do build great content and tutorial for the Community <3 


How do you rate this article?



"Passionate Crypto Enthusiast, Blockchain Developer, and Music Blogger 🎵🚀💻 Welcome to my world where I dive into the fascinating realm of cryptocurrencies, exploring their potential to revolutionize the financial landscape.


📰 Hey there, fellow crypto enthusiasts! Welcome to The Crypto-Dev Journal, your ultimate go-to source for all things blockchain, cryptocurrencies, NFTs, and more! 🚀 🔥 Buckle up and get ready for a wild ride as we dive headfirst into this exciting world of digital currencies and decentralized technologies. Our blog is the place where we break it down, no frills attached. We speak the language of the crypto community, mixing in some awesome argot to keep things fun and relatable. 💥

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.