The Difference between a Cryptocurrency and a Token – RSK Developers Portal

The Difference between a Cryptocurrency and a Token

CryptovsTokenBanner

What is a Digital Asset?

In broad terms, a digital asset is a non-tangible asset that is created, traded, and stored in a digital format. Using this definition, in the context of blockchains, digital assets include cryptocurrency and crypto tokens .
CryptovsTokenList

The blockchain terms ; token and cryptocurrency are often used interchangeably, as these are both digital assets on blockchains. The biggest difference between a cryptocurrency and a token is that cryptocurrencies are the native asset of a blockchain like BTC, RBTC, or ETH, whereas tokens are built on an existing blockchain, using smart contracts. Most normally, these are EIP-20 tokens .
The following chart summarises the similarities between the two :
CryptovsTokenList2
As we can see, these are largely the same from the perspective of the end exploiter. however, there are big technical differences between the two. Let ’ s dive a little bit deeper into the technical differences :

Blockchain, Blocks, Transactions, and Signatures

here ’ s a whirlwind introduction to blockchain :

  • End-users use public-key cryptography to digitally sign information
  • This signed information is a transaction
  • The transaction is broadcast to a peer-to-peer network of computers running the blockchain node software
  • All the nodes have to reach a consensus on whether or not the transaction is valid
  • If the transaction is valid, it gets added to a block, which is a set of transactions
  • Many computers on the network build these blocks of transactions, but only one block gets added at a time
  • These blocks form a single chain, called a blockchain

note that many details have been left out of the above description, for the sake of brevity.

Public key cryptography is used in blockchain networks, chiefly for digitally signing information, and then subsequently verifying those signatures. This was the summons of transaction creation and transaction confirmation. The user possesses both a private key and a public key and needs to keep the private key a secret while allowing the public key to be broadcast widely .

Transfer Transactions vs Smart Contract Interaction Transactions

In Bitcoin, and in many other blockchains, the information being signed was about one account transferring units from itself to another report. These units are encoded into the software protocols of the blockchain software itself and are known as cryptocurrency. In this arrangement, there is only one type of transaction .
In Ethereum, RSK, and many other blockchains that support chic contracts, the data being signed was about one history transferring units of cryptocurrency from itself to another account excessively. however, these add a raw concept where you could have “ smart contracts ” which are autonomously executing code and data stored on the blockchain. These smart contracts may be thought of as a particular type of score. nowadays an report may sign information that does not transfer any units of cryptocurrency, but rather contains instructions for a fresh contract to execute some code or store some data. In this arrangement, there are two types of transaction. Read more about Smart contracts in How to Build a Full Stack dApp on RSK .

Tokens

Tokens behave very similarly to cryptocurrencies, in the smell that they are a type of currency that exists on a blockchain, and can be transferred from one explanation to another. however, unlike cryptocurrencies, their behavior is not built into the blockchain software itself. rather, their behavior comes about by implementations in bright contracts. These smart contracts tally the units of the token transferred between accounts .
To transfer units of these tokens, an report signs a transaction telling the smart compress to debit a number of units of the token from its reckoning, and credit the lapp number of units of the nominal to the other account ’ s reckoning. Most keepsake conform to the EIP-20 token standard, and in fact, the majority of all chic contracts on blockchain networks tend to be of this type ; making it easy for users, wallets, exchanges, etc to interact with them.

When interacting with blockchain networks, it is significant to be mindful of this differentiation. On Ethereum, Ether is the cryptocurrency, and other “ currencies ” are tokens. Likewise, on RSK, RBTC is the cryptocurrency, and other “ currencies ” are tokens. Some virtual reasons to take note of this are that :

  • Fees (or gas) for transactions are cheaper when transferring the cryptocurrency, and more expensive when transferring tokens.
  • Fees (or gas) are always paid for in the cryptocurrency, and therefore when transferring tokens, you will still need some cryptocurrency in the same account.

eminence that when talking about tokens, you will see the terms ERC-20 arsenic well as EIP-20. These are both the same. At the beginning, the process for defining standards for Ethereum, and Ethereum-compatible networks, was called “ Ethereum Request for Comment ”. This process has since been refined and renamed to “ Ethereum Improvement Proposal ” .

Next

Be sure to check out our next article in this series, about how to get the RSK cryptocurrency, RBTC, by using the PowPeg : How to get RBTC using RSK ’ sulfur built in PowPeg

source : https://ontopwiki.com
Category : Finance

Post navigation

Leave a Comment

Trả lời

Email của bạn sẽ không được hiển thị công khai.