SlideShare a Scribd company logo
1 of 13
Download to read offline
8. Native Currency vs. Token
KC Tam
Reach KC on LinkedIn: https://www.linkedin.com/in/ktam1/
Objective
In this section we introduce token, and compare the
implementation of token and of the native currency.
Source: screenshot from coinmarketcap.com at a randomly selected time
Note: these two are selected just for comparison between native currency and token. There is no comparison on their price and
performance from investment perspective. No investment recommendation on anything is made.
While both of them use ledger to keep the balance, they are implemented differently. We call
Ethereum a native currency, while EOS is a token.
To investors, these are just two different investment products.
Native Currency Token
Built-in currency inside a cryptocurrency system,
which has its own infrastructure holding the ledger.
A contract keeping a balance table and running on
top of a contract platform.
The ledger is handled by a Distributed Ledger
Technology (DLT). The most common DLT
nowadays are blockchain. But there are others
such as Directed Acyclic Graph (DAG).
Not related to any DLT.
Being "distributed" and "decentralized" because the
native currency is a "state", which is agreed across
the whole infrastructure (every node agrees on this
state).
Being "distributed" and "decentralized" only
because the underlying contract platform is
distributed and decentralized.
The contract is still held by a contract owner, and
from this point, Token is not completely
decentralized.
Examples: Bitcoin, Ethereum, Litecoin, Zcash,
IOTA.
Examples: EOS, TRON, OmiseGO, which are
tokens on top of Ethereum smart contract platform.
Ethereum Network
Alice Bob
Alice's Address Bob's Address
State: 100 ethers State: 0 ethers
In Ethereum, native currency (ethers) is a state
associated to an address.
In this example, when we say Alice has 100
ethers and Bob has none, these are the states of
Ethereum network.
These states are agreed across the Ethereum
network.
The state is part of the blockchain: the ethers will
be there as long as Alice has the private key to
access it.
Native Currency
Ethereum Network
Alice Bob
Alice's Address Bob's Address
State: 100 ethers State: 0 ethers
"Transfer of Ether" is a transaction inside
Ethereum network, and triggers a state change.
For example, Alice is sending 5 ethers to Bob. It
is done natively in Ethereum network.
This transaction is confirmed by miners and the
state will be updated.
And most importantly, the whole Ethereum
network agrees this change.
5 eths
State: 95 ethers State: 5 ethers
Native Currency
Ethereum Network
Alice Bob
Alice's Address Bob's Address
Assuming a Token Contract is deployed on this
Ethereum network. This Contract is represented
by a Contract Address.
If we say someone holds somes token, it is an
entry of record stored inside this deployed
contract.
In this example, we see Alice has 500 tokens,
and Bob has 100 tokens. They are not state of
Ethereum network, but just a record inside the
Token Contract.
Token Contract Address
Token Contract
Owner: someone
Balance:
● Alice's address: 500 tokens
● Bob's address: 100 tokens
● …
Ethereum Network
Alice Bob
Alice's Address Bob's Address "Transfer of tokens" is a function executed on the
Contract.
In this example, if Alice sends 50 tokens to Bob,
it is not done natively on Ethereum. Rather, Alice
is executing a "transfer" function onto the
Contract.
Upon receiving this request, Contract updates
the entries of both Alice and Bob, and the result
is reflected on the updated balance record.
50
tokens
Transfer 50
tokens to Bob
Token Contract
Token Contract Address
Owner: someone
Balance:
● Alice's address: 500 450 tokens
● Bob's address: 100 150 tokens
● …
Token Summary
Token is issued by Token Issuer (no limit on number of issuers in Ethereum, and therefore no limit on the
number of tokens issued on Ethereum)
Token Issuer determines token name and token quantity and the mechanism of token distribution (through
ICO or private placement)
Each token is a Deployed Contract on Contract Platform, and therefore identified by a Contract Address
● Ethereum by far is the most common Contract Platform
● Standard interface (e.g. ERC20) is defined for ease of use token
Every user (identified by its address) can own multiple tokens. There is no limit on number of tokens a
user can own
Ethereum by far is the most
common contract platform
for tokens.
Level of Trusts
We trust Ethereum Network, because
● all nodes implementing Ethereum protocol follow the rule
● the ledger is secured by blockchain technology
● the ledger is decentralized and distributed in all participating nodes
We trust Token, because
● the token contract is securely defined and with no security problem (e.g. no backdoor or can be
modified if one wishes)
● the token contract is viewable and auditable publicly
● the ledger (record) of individual token owners is stored inside Ethereum contract platform, and we
trust Ethereum per reasons above
Metamask is a wallet (a browser plug-in)
From this example, we see,
● This account is in Rinkeby Testnet and
represented by address (0xdC919…)
● This account has 2.995 ethers
● This account owns three types of tokens
(corresponding to three deployed token
contracts)
● The quantity of each token
Note
Symbol and name of token are determined by issuers.
There are chances of duplication (like this example), but
they are identified by different contract addresses
User's View
Summary
We have compared tokens with native currency (ethereum),
and see how the mechanism of transfering is different
between them.

More Related Content

Similar to Ethereum: Native Currency and Token

Blockchain Chapter #4.pdf
Blockchain Chapter #4.pdfBlockchain Chapter #4.pdf
Blockchain Chapter #4.pdfssuser79c46d1
 
How does ethereum work, anyway?
How does ethereum work, anyway?How does ethereum work, anyway?
How does ethereum work, anyway?philrussell001
 
Can you help me create an ERC20 or BSC token_.pptx
Can you help me create an ERC20 or BSC token_.pptxCan you help me create an ERC20 or BSC token_.pptx
Can you help me create an ERC20 or BSC token_.pptxBlockchainX
 
Distributed exchanges
Distributed exchangesDistributed exchanges
Distributed exchangesDidier Martin
 
What is a Crypto Token_.pptx
What is a Crypto Token_.pptxWhat is a Crypto Token_.pptx
What is a Crypto Token_.pptxBlockchainX
 
crypto token ppt 29.pdf
crypto token ppt 29.pdfcrypto token ppt 29.pdf
crypto token ppt 29.pdfIshika verma
 
Block chain - Smart contacts.pptx
Block chain - Smart contacts.pptxBlock chain - Smart contacts.pptx
Block chain - Smart contacts.pptxshraddhaphirke1
 
Building Apps with Ethereum Smart Contract
Building Apps with Ethereum Smart ContractBuilding Apps with Ethereum Smart Contract
Building Apps with Ethereum Smart ContractVaideeswaran Sethuraman
 
Create your own token
Create your own tokenCreate your own token
Create your own tokenshira william
 
What is ethereum? which is the best place to buy ethereum Canada?
What is ethereum? which is the best place to buy ethereum Canada?What is ethereum? which is the best place to buy ethereum Canada?
What is ethereum? which is the best place to buy ethereum Canada?Bitcoin Wallet Canada
 
Difference between Ethereum and Bitcoin.pdf
Difference between Ethereum and Bitcoin.pdfDifference between Ethereum and Bitcoin.pdf
Difference between Ethereum and Bitcoin.pdfGrace Baker
 
Restribute ~ Wealth re-distirbution by blockchain hardfork ~
Restribute ~ Wealth re-distirbution by blockchain hardfork ~ Restribute ~ Wealth re-distirbution by blockchain hardfork ~
Restribute ~ Wealth re-distirbution by blockchain hardfork ~ Tomoaki Sato
 
How Does Ethereum Work? How to Buy Ethereum In Canada?
How Does Ethereum Work? How to Buy Ethereum In Canada?How Does Ethereum Work? How to Buy Ethereum In Canada?
How Does Ethereum Work? How to Buy Ethereum In Canada?Bitcoin Wallet Canada
 
What Are Crypto Tokens
What Are Crypto TokensWhat Are Crypto Tokens
What Are Crypto TokensDIFXCrypto
 

Similar to Ethereum: Native Currency and Token (20)

Blockchain Chapter #4.pdf
Blockchain Chapter #4.pdfBlockchain Chapter #4.pdf
Blockchain Chapter #4.pdf
 
How does ethereum work, anyway?
How does ethereum work, anyway?How does ethereum work, anyway?
How does ethereum work, anyway?
 
Can you help me create an ERC20 or BSC token_.pptx
Can you help me create an ERC20 or BSC token_.pptxCan you help me create an ERC20 or BSC token_.pptx
Can you help me create an ERC20 or BSC token_.pptx
 
Distributed exchanges
Distributed exchangesDistributed exchanges
Distributed exchanges
 
Ethereum
EthereumEthereum
Ethereum
 
What is a Crypto Token_.pptx
What is a Crypto Token_.pptxWhat is a Crypto Token_.pptx
What is a Crypto Token_.pptx
 
crypto token ppt 29.pdf
crypto token ppt 29.pdfcrypto token ppt 29.pdf
crypto token ppt 29.pdf
 
Block chain - Smart contacts.pptx
Block chain - Smart contacts.pptxBlock chain - Smart contacts.pptx
Block chain - Smart contacts.pptx
 
Building Apps with Ethereum Smart Contract
Building Apps with Ethereum Smart ContractBuilding Apps with Ethereum Smart Contract
Building Apps with Ethereum Smart Contract
 
Origin og erc 20
Origin og erc 20Origin og erc 20
Origin og erc 20
 
Create your own token
Create your own tokenCreate your own token
Create your own token
 
What is ethereum? which is the best place to buy ethereum Canada?
What is ethereum? which is the best place to buy ethereum Canada?What is ethereum? which is the best place to buy ethereum Canada?
What is ethereum? which is the best place to buy ethereum Canada?
 
What is ethereum
What is ethereumWhat is ethereum
What is ethereum
 
Tokens 10.pptx
Tokens 10.pptxTokens 10.pptx
Tokens 10.pptx
 
Difference between Ethereum and Bitcoin.pdf
Difference between Ethereum and Bitcoin.pdfDifference between Ethereum and Bitcoin.pdf
Difference between Ethereum and Bitcoin.pdf
 
Restribute ~ Wealth re-distirbution by blockchain hardfork ~
Restribute ~ Wealth re-distirbution by blockchain hardfork ~ Restribute ~ Wealth re-distirbution by blockchain hardfork ~
Restribute ~ Wealth re-distirbution by blockchain hardfork ~
 
Ethereum vs fabric vs corda
Ethereum vs fabric vs cordaEthereum vs fabric vs corda
Ethereum vs fabric vs corda
 
BlockChain Public
BlockChain PublicBlockChain Public
BlockChain Public
 
How Does Ethereum Work? How to Buy Ethereum In Canada?
How Does Ethereum Work? How to Buy Ethereum In Canada?How Does Ethereum Work? How to Buy Ethereum In Canada?
How Does Ethereum Work? How to Buy Ethereum In Canada?
 
What Are Crypto Tokens
What Are Crypto TokensWhat Are Crypto Tokens
What Are Crypto Tokens
 

More from KC Tam

Access Tokens from Metamask
Access Tokens from MetamaskAccess Tokens from Metamask
Access Tokens from MetamaskKC Tam
 
Implement ERC20 on TestRPC
Implement ERC20 on TestRPCImplement ERC20 on TestRPC
Implement ERC20 on TestRPCKC Tam
 
ERC20 Token Contract
ERC20 Token ContractERC20 Token Contract
ERC20 Token ContractKC Tam
 
Use Geth to Deploy Contract
Use Geth to Deploy ContractUse Geth to Deploy Contract
Use Geth to Deploy ContractKC Tam
 
Use Geth to Access a Deployed Contract
Use Geth to Access a Deployed ContractUse Geth to Access a Deployed Contract
Use Geth to Access a Deployed ContractKC Tam
 
Use TestRPC in Remix
Use TestRPC in RemixUse TestRPC in Remix
Use TestRPC in RemixKC Tam
 
Contract Practice with Remix
Contract Practice with RemixContract Practice with Remix
Contract Practice with RemixKC Tam
 
Solidity Contract: the code, compilation, deployment and accessing
Solidity Contract: the code, compilation, deployment and accessing Solidity Contract: the code, compilation, deployment and accessing
Solidity Contract: the code, compilation, deployment and accessing KC Tam
 
Access a Simple DApp
Access a Simple DAppAccess a Simple DApp
Access a Simple DAppKC Tam
 
Essential Ethereum
Essential EthereumEssential Ethereum
Essential EthereumKC Tam
 

More from KC Tam (10)

Access Tokens from Metamask
Access Tokens from MetamaskAccess Tokens from Metamask
Access Tokens from Metamask
 
Implement ERC20 on TestRPC
Implement ERC20 on TestRPCImplement ERC20 on TestRPC
Implement ERC20 on TestRPC
 
ERC20 Token Contract
ERC20 Token ContractERC20 Token Contract
ERC20 Token Contract
 
Use Geth to Deploy Contract
Use Geth to Deploy ContractUse Geth to Deploy Contract
Use Geth to Deploy Contract
 
Use Geth to Access a Deployed Contract
Use Geth to Access a Deployed ContractUse Geth to Access a Deployed Contract
Use Geth to Access a Deployed Contract
 
Use TestRPC in Remix
Use TestRPC in RemixUse TestRPC in Remix
Use TestRPC in Remix
 
Contract Practice with Remix
Contract Practice with RemixContract Practice with Remix
Contract Practice with Remix
 
Solidity Contract: the code, compilation, deployment and accessing
Solidity Contract: the code, compilation, deployment and accessing Solidity Contract: the code, compilation, deployment and accessing
Solidity Contract: the code, compilation, deployment and accessing
 
Access a Simple DApp
Access a Simple DAppAccess a Simple DApp
Access a Simple DApp
 
Essential Ethereum
Essential EthereumEssential Ethereum
Essential Ethereum
 

Recently uploaded

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 

Recently uploaded (20)

E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 

Ethereum: Native Currency and Token

  • 1. 8. Native Currency vs. Token KC Tam Reach KC on LinkedIn: https://www.linkedin.com/in/ktam1/
  • 2. Objective In this section we introduce token, and compare the implementation of token and of the native currency.
  • 3. Source: screenshot from coinmarketcap.com at a randomly selected time Note: these two are selected just for comparison between native currency and token. There is no comparison on their price and performance from investment perspective. No investment recommendation on anything is made. While both of them use ledger to keep the balance, they are implemented differently. We call Ethereum a native currency, while EOS is a token. To investors, these are just two different investment products.
  • 4. Native Currency Token Built-in currency inside a cryptocurrency system, which has its own infrastructure holding the ledger. A contract keeping a balance table and running on top of a contract platform. The ledger is handled by a Distributed Ledger Technology (DLT). The most common DLT nowadays are blockchain. But there are others such as Directed Acyclic Graph (DAG). Not related to any DLT. Being "distributed" and "decentralized" because the native currency is a "state", which is agreed across the whole infrastructure (every node agrees on this state). Being "distributed" and "decentralized" only because the underlying contract platform is distributed and decentralized. The contract is still held by a contract owner, and from this point, Token is not completely decentralized. Examples: Bitcoin, Ethereum, Litecoin, Zcash, IOTA. Examples: EOS, TRON, OmiseGO, which are tokens on top of Ethereum smart contract platform.
  • 5. Ethereum Network Alice Bob Alice's Address Bob's Address State: 100 ethers State: 0 ethers In Ethereum, native currency (ethers) is a state associated to an address. In this example, when we say Alice has 100 ethers and Bob has none, these are the states of Ethereum network. These states are agreed across the Ethereum network. The state is part of the blockchain: the ethers will be there as long as Alice has the private key to access it. Native Currency
  • 6. Ethereum Network Alice Bob Alice's Address Bob's Address State: 100 ethers State: 0 ethers "Transfer of Ether" is a transaction inside Ethereum network, and triggers a state change. For example, Alice is sending 5 ethers to Bob. It is done natively in Ethereum network. This transaction is confirmed by miners and the state will be updated. And most importantly, the whole Ethereum network agrees this change. 5 eths State: 95 ethers State: 5 ethers Native Currency
  • 7. Ethereum Network Alice Bob Alice's Address Bob's Address Assuming a Token Contract is deployed on this Ethereum network. This Contract is represented by a Contract Address. If we say someone holds somes token, it is an entry of record stored inside this deployed contract. In this example, we see Alice has 500 tokens, and Bob has 100 tokens. They are not state of Ethereum network, but just a record inside the Token Contract. Token Contract Address Token Contract Owner: someone Balance: ● Alice's address: 500 tokens ● Bob's address: 100 tokens ● …
  • 8. Ethereum Network Alice Bob Alice's Address Bob's Address "Transfer of tokens" is a function executed on the Contract. In this example, if Alice sends 50 tokens to Bob, it is not done natively on Ethereum. Rather, Alice is executing a "transfer" function onto the Contract. Upon receiving this request, Contract updates the entries of both Alice and Bob, and the result is reflected on the updated balance record. 50 tokens Transfer 50 tokens to Bob Token Contract Token Contract Address Owner: someone Balance: ● Alice's address: 500 450 tokens ● Bob's address: 100 150 tokens ● …
  • 9. Token Summary Token is issued by Token Issuer (no limit on number of issuers in Ethereum, and therefore no limit on the number of tokens issued on Ethereum) Token Issuer determines token name and token quantity and the mechanism of token distribution (through ICO or private placement) Each token is a Deployed Contract on Contract Platform, and therefore identified by a Contract Address ● Ethereum by far is the most common Contract Platform ● Standard interface (e.g. ERC20) is defined for ease of use token Every user (identified by its address) can own multiple tokens. There is no limit on number of tokens a user can own
  • 10. Ethereum by far is the most common contract platform for tokens.
  • 11. Level of Trusts We trust Ethereum Network, because ● all nodes implementing Ethereum protocol follow the rule ● the ledger is secured by blockchain technology ● the ledger is decentralized and distributed in all participating nodes We trust Token, because ● the token contract is securely defined and with no security problem (e.g. no backdoor or can be modified if one wishes) ● the token contract is viewable and auditable publicly ● the ledger (record) of individual token owners is stored inside Ethereum contract platform, and we trust Ethereum per reasons above
  • 12. Metamask is a wallet (a browser plug-in) From this example, we see, ● This account is in Rinkeby Testnet and represented by address (0xdC919…) ● This account has 2.995 ethers ● This account owns three types of tokens (corresponding to three deployed token contracts) ● The quantity of each token Note Symbol and name of token are determined by issuers. There are chances of duplication (like this example), but they are identified by different contract addresses User's View
  • 13. Summary We have compared tokens with native currency (ethereum), and see how the mechanism of transfering is different between them.