Create Your Own Crypto Currency In 5 Minutes | Programmer Explain
Have you wondered how to create a cryptocurrency that has your name on it? Here’s a quick lesson on learning to create your own digital currency.
Today, we are going to teach you how to create “Crypto Currency” on DEXON network. It is a platform that you can use smart contract to build any DApps.
After the short introduction from here, let’s dive in! At the end of the tutorial, you can see the exact same thing as below. In short, I have created a token called 『S.P.A.M』 → 『Seriously, Poor Advertising Method』
Prerequisite
- DekuSan Wallet + Sufficient amount DXN
- ChromeCrypto Currency Spec
- Name: Seriously, Poor Advertising Method
- Symbol: S.P.A.M.
- Decimal Point: 2
- Token Amount: 10
Step 1:Copy this 「Code」 and Paste it in the 「Smart Contract Online Editor 」
Step 2:Modify these three parameters:
Name / Symbol / Decimal
Step 3
Set the token amount to 1000, then deploy this contract on to DEXON network.Note:
1000 with decimal of 2 --> 10.00
Step 4:Copy the contract address and show it on DekuSan wallet
Final StepIf you don't have people to send your newly created token, you can send it to my wallet "0x8ECedB018bDdf5bC05C756cA6ED67dbad208CAFf", and let me know your "token contract address" via 「gitter」and tag @CHAOWEICHIU.token contract address: the "thing" that you paste when you add the token.
Let’s recap!
In short, the DRC-20 defines a common list of rules for all DEXON tokens to follow. DRC-20 specifies six functions.
6 functions of DRC-201. totalSupply
2. balanceOf
3. transfer
4. transferFrom
5. approve
6. allowanceTwo Events1. Transfer
2. ApprovalIf you want to know more information, check out the DRC-20 Spec.Also, if you would like to see all the available tokens on the DEXON network, you can check out DEXSCAN which is an explorer for everything that happens on the DEXON Network.