Alright bro, are you telling me that I can issue my own Token, make an ICO, get gazilions of dollars and live the crypto-dream in less than 50 minutes?
The answer is yes, but hopefully you will do better than that.
In this article my objective is to walk you through the steps of setting up your account through to issuing your first token on the Ethereum network using a single smart contract and a Ether Wallet.
The token will be a standard ERC20, it will have the main functions and can be used as a general base for more sophisticated applications than just transferring them (many “half-serious” ICOs have extremely similar contracts)
Before we start:
There are a few different components you will need in order to build your own token.
- Ethereum Address (Ropsten Network)
- Some Ethereum (Ropsten Network)
- A text editor (I.e. Sublime / Atom)
- Solidity contract
For this tutorial we will use a test network(Ropsten Network) to issue the token so you don’t end up spending real Ether’s. We will use the Ropsten Test network. In order to get started, go to metamask and install its browser extension and then setup your account and select Ropsten Network
Download any text editors:
Download the code https://gist.github.com/mobilerechargeapi/d301532618398860ab43dbda13c0be5e
You will be editing this code for your own token
Visit https://faucet.metamask.io and request some test Ethers which we will be using in testing and when we release real token then we will be using our real ether
Basically what you will have to do in simple terms:
Download MetaMask at metamask.io.
Select Ropsten Network.
Claim 1 Ropsten ETH.
Now let’s get started:
Open the contract you downloaded in your Text Editor.
Go to Line 116 and 117 and change “WishToken” to “(YourTokenName)
For the decimals and total supply on Line 114 and 115, you can just leave it as it is however I’ll explain it just for visibility. On total supply there are actually a few considerations. First one is that the standard (and max) is 18 decimals, meaning that a coin can be splitted in 18 parts.
After that we are done with editing code. Yep, that was easy. Now we are going to do some cool stuff…
and Go to setting tab and activate Deploy & run transactions and Solidity compiler
In the deploy tab you will need to select environment Injected Web3 when you do it you will need to allow from the Metamask Wallet.
In the browser/ballot.sol, paste the code you just edited! If something red comes up, there is something wrong in the code. If there is yellow warning it’s alright, let’s hope for the best.
Now Under Compile →Details →Choose the Token you are creating
Go to MEW where we will start to deploy the contract. Remember we want to be on the Ropsten Test Network so make sure the top right hand corner says
Navigate to the Contracts tab → Press Deploy Contract
Now see MEW and allow the transactions this is all
ATTENTION: This is the moment where you have to cross your fingers for the first time during a few seconds. 🤞
Click on the transaction tx or access https://ropsten.etherscan.io to check if the contract went through. If it didn’t, start again and try to figure it out what you got wrong. If it did, you are a basically Vitalik 2.0, be proud.😎
If everything works out, this is a sample image of what you should be seeing.
Now question How do I buy and sell this token. For this I will write in next tutorial please give us some time.
If you want me to setup your token we will charge only 400$ and complete this deployment and also free software for buy and sell token.