Ethereum Tokens Are All the Rage. But What Are They Anyway

Ethereum Tokens Are All the Rage. But What Are They Anyway

Ethereum Tokens Are All the Rage. But What Are They Anyway

Ethereum wants to create an ecosystem where everything works together seamlessly as part of its vision for a 'world computer' – and that includes the tokens required to power it.

Launched in 2014 by a band of coders and an upstart teenager, ethereum was designed to make it possible for anyone to code nearly any type of app and deploy that on a blockchain. Many of these decentralized apps (or 'dapps' for short) needed their own token that could, among other things, be sold and traded easily.

To that end, nearly 18 months ago, the ERC-20 token standard was born.

It's hard to overstate how important that interface has been. By defining a common set of rules for ethereum-based tokens to adhere to, ERC-20 allows developers of wallets, exchanges and other smart contracts, to know in advance how any new token based on the standard will behave.

This way, they can design their apps to work with these tokens out of the box, without having to reinvent the wheel each time a new token system comes along.

As a result, almost all of the major tokens on the ethereum blockchain today, including those sold in the recent surge of ethereum-based initial coin offerings (ICOs), are ERC-20 compliant.

 

Tokens 101

Before delving deeper, it's important to spell out what a token actually is and how it differs from ether, the native currency driving the ethereum blockchain.

As they relate to the ethereum network, tokens are digital assets that can represent anything from loyalty points to vouchers and IOUs to actual objects in the physical world. Tokens can also be tools, such as in-game items, for interacting with other smart contracts.

But put simply, a token is nothing more than a smart contract running on top of the ethereum blockchain. As such, it is a set of code (functions) with an associated database. The code describes the behavior of the token, and the database is basically a table with rows and columns tracking who owns how many tokens.

If a user or another smart contract within ethereum sends a message to that token's contract in the form of a 'transaction,' the code updates its database.

So, for instance, when a wallet app sends a message to a token's contract to transfer funds from Alice to Bob, this happens:

First, the token's contract checks that the message was signed by Alice and that Alice has enough funds to cover the payment

Then, it moves funds from Alice's to Bob's account in the database

Finally, it sends a response, letting the wallet know the transaction was a success.

In contrast to tokens, ether is hard coded into the ethereum blockchain. It is sold and traded as a cryptocurrency, and it also powers the ethereum network by allowing users to pay for smart contract transaction fees. (All computations on the ethereum network have a 'gas' cost.)

When you send tokens to an exchange, for example, you pay for that transaction (in this case, a request to the token's contract to update its database) in ether. This payment is then collected by a miner who confirms the transaction in a block, which then gets added to the blockchain.

Early on in ethereum's history, standards were part of the overall plan to create a user friendly and broadly accessible system. But like all standards, ERC-20 took time to evolve over a series of long discussions and careful considerations.

So, sometime before DevCon1, the first big ethereum conference in 2015, Vitalik Buterin, the founder of ethereum, introduced the initial standards token.

Later that year, Fabian Vogelstellar, one of the developers working on ethereum's Mist wallet, took that standard, changed a few things, and proposed it to the community as ERC-20 to initiate a formal conversation around how the standard should be implemented.

Then in April, due to changes in how the Ethereum Foundation was organizing its GitHub, the ERC-20 standard was moved to a Github pull request.
 

What's inside?

ERC-20 defines a set of six functions that other smart contracts within the ethereum ecosystem will understand and recognize.

These include, for instance, how to transfer a token (by the owner or on behalf of the owner) and how to access data (name, symbol, supply, balance) about the token. The standard also describes two events – signals that a smart contract can fire – that other smart contracts 'listen' for.

Together, these functions and events make ethereum tokens work the same almost everywhere within the ethereum ecosystem. As a result, nearly all wallets that support ether, including Jaxx, MyEtherWallet.com and the official ethereum wallet, now also support ERC-20 compliant tokens.

According to Vogelstellar, who spoke to CoinDesk about the importance of ethereum's token standard, this interoperability lays the groundwork for big changes to come.
 

He said:

"I believe we are just at the beginning of tokenizing everything. Maybe in the future, you will be able to buy a share of the chair you are sitting on, the paint inside your house or a fraction of equity in a huge building complex."

 

Bumps in the road

One thing to keep in mind, though, is that ERC-20 is formally a draft, meaning it is not being enforced and still needs to be fully blessed by the ethereum community. Regardless, Vogelstellar said, every new token will likely conform to its set of rules.

He cautioned, however, that the standard is still young, so there will be bumps in the road. One of those bumps is that sending tokens directly to a token's smart contract will result in a loss of money. That is because a token's contract only tracks and allocates money. When you send tokens to another user from a wallet, for example, that wallet calls on the token's contract to update the database.

As a result, if you attempt to transfer tokens directly to a token's contract, the money is 'lost' since the token's contract cannot respond.

So far, $70,000 worth of tokens have been lost in this manner.

But solutions are in the works. As an extension to ERC-20, ERC-223 attempts to resolve the issue by suggesting a token's contract implement a tokenFallback function to prevent the contract from holding tokens sent directly to it accidentally.

Vogelstellar argued this is all just part of developing a solid system, though, saying:

"Driving with these prototypes can be rocky at times, but ultimately they provide the necessary learning that will bring us to the future of blockchain and smart contract interactions."

 

David Ogden
Entrepreneur

 

Author: Amy Castor

 

David https://markethive.com/david-ogden

Traders Plan for Correction as Crypto Market Falls Below $100 Billion

Traders Plan for Correction as Crypto Market Falls Below $100 Billion

Traders Plan for Correction as Crypto Market Falls Below $100 Billion

The total value of all publicly traded cryptocurrencies may be at an all-time high, but trader confidence isn't keeping pace.

After rising more than 1,500% from just over $7bn on 1st January, the market is beginning to show signs that its rapid ascent in 2017 may be slowing.

According data from CoinMarketCap, the cryptocurrency asset class fell from a high of $117bn yesterday to just under $100bn today, a period in which more than 80 of the top 100 cryptocurrencies have seen double-digit declines.

While this decline may just be a speed bump in the world of cryptocurrencies, some analysts report it is sufficient enough that they are beginning to reassess their positions in light of recent activity.

Hedging for a crash?

Indeed, several traders spoke with CoinDesk about the strategies they're currently using to hedge against a potential decline in cryptocurrency prices, with some indicating they're employing simple strategies by reducing their holdings.

For example, Charlie Shrem, a bitcoin entrepreneur and over-the-counter (OTC) trader, is in this camp. He reported he's been buying more bitcoin lately, with "less than 10%" of his portfolio in alternative assets.

Marius Rupsys, a cryptocurrency trader and co-founder of fintech startup InvoicePool, took a bolder approach, telling CoinDesk he liquidated his entire cryptocurrency portfolio and has started shorting bitcoin, actively betting its price will go down.

Rupsys predicted:

"There should be larger correction at some point which will cause altcoins to fall and bitcoin to fall at the same time."

While several traders identified portfolio management and active trading strategies as ways to hedge against a cryptocurrency price crash, cryptocurrency trader Kong Gao offered a different solution.

One way to hedge against this decline, he said, is to begin mining on alternative asset protocols, and simply hold the coins they receive instead of selling them.

Irrational exuberance

Elsewhere, Rupsys spoke to how he believes the increasing price has been largely caused by highly optimistic newcomers, a prospect that leads him to believe the bull run could soon fade.

"Many of these new traders are retail traders that have little knowledge of crypto-assets or trading in general," Rupsys told CoinDesk.

He added, many people have contacted him interested in getting rich quick.

Tim Enneking, managing director of cryptocurrency hedger fund, Crypto Asset Management, also spoke to the exuberance in the market.

While cryptocurrencies have been experiencing sharp gains, they will reverse direction at some point, Enneking predicted. Crypto Asset Management has set up stop loss orders to liquidate positions in certain cryptocurrencies should these digital assets suffer an "abrupt crash", he said.

And according to Charles Hayter, co-founder and CEO of cryptocurrency exchange CryptoCompare, a crash is likely. The attention alternative asset protocols have gained lately have highlighted some of this overconfidence, he said.

While there may be no clear signs yet, Hayter is still putting his money where his mouth is, noting CryptoCompare is going so far as to reallocate its active positions in the market.
 

David Ogden
Entrepreneur

 

Author: Charles Bovaird

David https://markethive.com/david-ogden

Poloniex-Traders-Panic-and-Suffer-Losses-Due-to-System-issues

Poloniex-Traders-Panic-and-Suffer-Losses-Due-to-System-issues

Poloniex – Traders Panic and Suffer Losses Due to System issues

Plenty of cryptocurrency traders are not too amused with Poloniex right now. The popular altcoin exchange suffered from several brief outages yesterday. During the panic, the Ripple price crashed hard and Ethereum lost US$1bn in market cap. It is unclear what occurred exactly, but we do know traders lost a lot of money in the process. It is unclear what will happen to the people who lost money, though.

Trading cryptocurrencies is always a risky business. Money can be earned and lost in a matter of mere seconds. However, if a popular exchange goes down and traders can’t execute orders, something is definitely amiss. Poloniex had a lot of issues last night after Ripple reached a new all-time high. Shortly after this happened, the platform became unresponsive.

Poloniex Suffers From Brief Outages Once Again

It was not just the web frontend suffering from these problems. The Poloniex API, used in tools such as TabTrader, became unresponsive as well. The company acknowledged the outage and trading resumed back to normal relatively quickly. However, a lot of users have suffered from spotty accessibility for several hours. During that time, trading just continued as normal, allowing some people to take advantage of the situation.

To be more specific, Ethereum lost close to US$1bn of its market cap during the trading frenzy. Events like these should not occur in the first place. Moreover, some people feel Poloniex should have halted all trading until the platform was operational again. This goes to show the platform cannot handle increased trading volume for an extended period of time. That is quite disconcerting, to say the least, given Poloniex’s position in the market.

One thing is certain: a lot of people have lost faith in Poloniex for the time being. One Reddit user even calls it an ‘organized scam crime website”, although that may be a too strong sentiment. It is true this is not the first time the exchange suffers from such outages, though. If these problems continue, Poloniex will quickly lose its market position. After all, the company has to provide exchange services around the clock, yet appears incapable of doing so.

It is unclear how much money people lost due to these issues, though. Ethereum’s market crashing and the unexpected Ripple dump raise a lot more questions than answers right now. Poloniex has some explaining to do, albeit it is safe to assume no one will be reimbursed for their losses. Centralized exchanges continue to pose a problem for traders. No exchange is always reliable or accessible, that much is certain.

Many years ago I suffered a significant loss when fiat currency trading, when I loss Internet access to my trading site at a crucial time. These outages underline the importance of setting stop losses.

David Ogden
Entrepeneur

 

Author JP Buntinx

Header image courtesy of Shutterstock

 

David https://markethive.com/david-ogden