Skip to main content
Create your
Cryptocurrency ERC20
token with Ethereum &
Deploy to Test and Main
Network
Murughan Palaniachari
http://www.unicomlearning.com/2017/Devops_Microservices_and_Containers_Summit_Bangalore/
Who am I?
Murughan Palaniachari
Principal Consultant –
Blockchain & DevOps at
Pingala Software
With my Guru –
John Willis & Jez Humble
Organizer of
Technical Agility Conference
Cloud and DevOps meetup
DevOps and Blockchain meetup
Blockchain Developers meetup
https://elevate-org.com/
https://devopsgames.com/
https://in.linkedin.com/in/murughan
@Murughan_P
Cryptocurrency
• Digital money
• Monitored by peer-to-peer public
network
• Just entries in database having
accounts, balances, and
transactions
• Money of Future
• Bitcoin is the first Cryptocurrency
• Created with Code
• Cryptocurrency is stored in
Blockchain
@Murughan_P
https://coinmarketcap.com/ @Murughan_P
ADVANTAGES OF CRYPTOCURRENCY
@Murughan_P
https://blogs.thomsonreuters.com/answerson/world-cryptocurrencies-country/ @Murughan_P
Crypto wallets
• Secure digital wallet
• Cryptocurrency is not
stored in wallet, Private key
is stored in wallet
• Send and receive
Cryptocurrency
• Majority of cryptocurrency
have there own wallets
@Murughan_P
Wallet Types
• Mobile Wallet
• Online Wallet
• Desktop Wallet
• Paper Wallet
• Hardware Wallet
@Murughan_P
ICO and Crowdfunding
ICO is the abbreviation of Initial Coin Offering.
It means that someone offers investors some units of a new cryptocurrency or
crypto-token in exchange against cryptocurrencies like Bitcoin or Ethereum.
ICOs are often used to fund the development of new cryptocurrencies.
The pre-created token can be easily sold and traded on all cryptocurrency
exchanges if there is demand for them.
@Murughan_P
ICO and Crowdfunding
@Murughan_P
Popular Ethereum tokens
https://etherscan.io/tokens @Murughan_P
Let’s look at details of a token
https://etherscan.io/tokens @Murughan_P
What did we observe?
Token name / symbol
Total token supply
Current market price
of the token
How many transfers have
been done so far
Some recent transfer
transactions of the tokens
Address of the token
contract deployment
@Murughan_P
What are ERC20 tokens?
ERC20 is a “token standard” for creating Ethereum token contracts
ERC stands for Ethereum Request for Comments
Any token contract that adheres to the specification follows ERC20
Can use with any wallets that understand ERC20
Most ICOs (Initial Coin Offerings) have adhered to ERC20
@Murughan_P
Wallet – Add MetaMask to Chrome Browser
@Murughan_P
Configure Metamask
@Murughan_P
Configure Metamask
• Wallet account is created now
• Top left are the Ethereum
networks
• Ropsten, Rinkeby are the Test
Network
• Main Network will be used for
production purpose only as it
takes real Ether
• For this sample we will use
Ropsten test network
@Murughan_P
Get free ether
• To Deploy ERC20 Smart Contract
we need Ether even for Test
Network.
• So Lets get free Ether for our Test
Network
• Click here to get free Ether
https://faucet.metamask.io/
• The Ether you receive is not an
Real Cryptocurrency, this is just
for testing purpose
@Murughan_P@Murughan_P
Get the ERC20 Smart Contract
• ERC20 Token code is an Smart Contract
• Will be deployed to Etherscan
• Download ERC20 code from below link
https://github.com/PingalaSoftware/solidity-
samples/blob/master/ERC20Token.sol
• Once we deploy we get Address for this ERC20 Smart
Contract
• This address will be used for any transaction/operations in
future
@Murughan_P
Deploy contract from Remix
https://remix.ethereum.org/
• We shall use Remix as
Editor to Build and
Compile ERC20 Smart
Contract.
https://remix.ethereum.org
• Paste the ERC20 code
into the text editor.
which you downloaded
in previous step
@Murughan_P
Deploy contract from Remix
https://remix.ethereum.org/
• Go to Run tab
• Select Injected Web3 as
Environment
• Select Ropsten in MetaMask
• Make sure you have enough
currency in Wallet
• Enter Token details
• No of Token you want to mint
• TokenName
• TokenSymbol
• Click on transact to deploy
@Murughan_P
Confirm transaction in metamask
Enter Gas Price (say 4 GWEI) here and do “Submit”
@Murughan_P
Check the created contract!
Click the link from bottom of screen to see the progress
@Murughan_P
Check the created contract!
Contract created succesfuly
@Murughan_P
Check the created token!
@Murughan_P
Now, let’s transfer tokens
The 200,000,000 token, we have minted. Will transfer that to one account
@Murughan_P
Add the token
• Copy the Contract
address
• Click on Add Token
• Select Custom Token
• Enter the ERC20
token address
• Click NEXT
• You got your 200
million token onto
your account
@Murughan_P
Transfer tokens to other account
Create 2nd account in MetaMask
@Murughan_P
Transfer tokens to other account
@Murughan_P
Production - Deploy ERC20 Smart Contract on
Main Net
• To Deploy to Main
network, follow the
same process but
just select main net
from Metamask
• Continue the same
process as we did
for Test network
• This process
requires real Ether
https://etherscan.io
@Murughan_P
Update your ERC20 Smart Contract here for
Main
@Murughan_P
Update your ERC20 Smart Contract here for
Main
• Enter Contract
Name
• Select Compile
version used in
Remix
• Paste ERC20
token code
• Verify and Publich
@Murughan_P
Update your ERC20 Smart Contract here for
Main
• Scroll to the
bottom of page
• Click on
• Verify and Publish
@Murughan_P
Get your ABI ByteCode
@Murughan_P
Add your details to get it Verified by
Etherscan.
• Add more details to get good reputation
@Murughan_P
Finally Verify & complete the process
https://etherscan.io/tokenupdateverifysig
@Murughan_P
Your Token is ready for ICO and More!
@Murughan_P
Resources
• https://www.ethereum.org/
• https://www.ethereum.org/token
• https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md
• https://theethereum.wiki/w/index.php/ERC20_Token_Standard#The_ERC20_Tok
en_Standard_Interface
• https://etherscan.io/tokens
• https://github.com/pingalasoftware
• https://github.com/OpenZeppelin/openzeppelin-solidity
@Murughan_P