Tag Archives: wallet

crypto currency or token wallet

Overview of wrapped tokens

Description of wrapped token

A wrapped token is an asset hosted on the Ethereum blockchain with a price that is the same as another underlying asset, even if it’s not on the same blockchain or on a blockchain at all.

A wrapped token is an ERC-20 compatible token with a value identical to another asset that it represents, either through a smart contract or by being backed one-to-one with the underlying asset. 

Wrapped Bitcoin, for instance, is a token worth the same as one BTC at any given moment, as a smart contract algorithm reproduces its price in real time and regulates the underlying fund with supply and demand information gleaned from user transactions. In exchange for their money, wrapped token users get an equivalent amount of value “wrapped up” in an asset that’s more easily mobilized by decentralized applications (DApps).

Wrapped Ether, is a token worth the same as one ETH.

Types of wrapped tokens ?

Because Ethereum is the biggest DeFi ecosystem, wrapped tokens are often those hosted on other blockchains but are also stablecoins that are pegged to the dollar.

Many of the first wrapped assets were, in fact, fiat-backed stablecoins, such as tokens with prices pegged to the dollar — Tether, Coinbase’s USDC or TrueUSD. There are also euro, yen, yuan and countless other fiat stablecoins that are mostly based on the Ethereum blockchain. 

The Wrapped Zcash token (coming), a privacy coin, will provide Ethereum DApp users with the coin’s anonymity advantages, plus a reliable way to invest in Zcoin, thereby boosting its market.

Wrapped Zcash is a way for Zcash to be used within financial applications built on Ethereum — it opens a bridge from one ecosystem to the other. This two-way street benefits both Zcash and Ethereum users, as Zcash users are able to transact and invest within the many decentralized financial applications built on ETH.

This integration also brings an effect on the supply and demand for Zcash, which could prove a significant tailwind. For Ethereum users, the privacy benefits of Zcash enabled by its z-addresses and t-addresses provide new ways for decentralized finance (DeFi) applications to limit the publication of identifying information held in transaction data while still passing auditory and compliance standards.

These are backed accordingly via the reserves, with coins fed in according to the demand of online crypto exchanges and larger institutional investors who want to quickly exchange fiat money into crypto and manage their money within a given platform. This makes it as easy to deposit dollars into DeFi applications and blockchain wallets as it does to have a reliable counter currency providing traders relief from crypto asset volatility.

Blockchain interoperability

Other cryptocurrencies are beginning to launch wrapped versions of their tokens on Ethereum in larger numbers, with interoperability (The ability to share information across different blockchain networks, without restrictions) a vital consideration for solutions that want to be taken seriously.

Currently, one blockchain has no knowledge of information that might exist in a different blockchain. For instance, the Bitcoin (BTC) blockchain exists fully independently of the Ethereum (ETH) blockchain — in the sense that it has no knowledge of any information recorded there — and vice versa. Blockchain-based projects are isolated from each other, despite existing within the same industry and working with the same technology.

The crypto industry involves “a series of unconnected systems operating alongside, but walled from each other”. Blockchain interoperability is the ability to exchange data between different blockchains seamlessly, as if there were no boundaries.

Geir Solem

ERC20 Token Design Mistakes vs ERC223 Token

The old ERC20 token standard have bugs and disadvantages resulting in thousands of ERC20 tokens to be lost annually. These design mistakes has been addressed in the new ERC223 token which is fully compatible with ERC20 wallets and exchanges. 

What is ERC?

ERC means Ethereum Request for Comments. It practically allows for smart contracts to be built on the Ethereum platform based on certain standards thus creating a common interface for all Ethereum tokens. Ethereum developers recommend that any Ethereum developer who wants to create a new token should follow this set of standards to ensure that their tokens are easily recognizable on both the Ethereum network and other third-party service providers such as crypto-wallets. These ERC20 tokens can be received, and sent just like any other cryptocurrency like Bitcoin, Litecoin and Ethereum.

ERC20 bugs

The ERC20 standard is programmed software and accordingly contains some bugs and logic errors. Two different ways to handle tokens were taken into account in the creation. On the one hand, tokens can be sent to another address. A smart contract is paid by using the “approve” and “transferFrom” functions.  Thereafter, the contract may be approved to allow the tokens to be withdrawn. Afterwards the token is filled or lifted by means of “transferFrom”.

When transferring tokens for a contract with “transferFrom” this transaction is basically valid. However, the contract does not recognize it by the user, resulting in the tokens not being loaded into your account. Normally, an emergency token function is stored in the exchange contract (decentralized). If this is not the case, the tokens can not be returned and are lost forever.

ERC20 will continue to be used

Most token based projects have used the original ERC20 token standard as it is with faults. This include even  well known projects.

At present many developers are still unaware of the design mistakes and bugs in the old ERC20 tokens standard so they continue to use it in new developments.

Can the ERC223 standard solve the problems?

ERC223 is a new token standard that seeks to address the design mistakes / errors of ERC20. These problems are:

  • ERC20 provides no programmatic interface to handle incoming transactions in smart contracts.
  • ERC20 handling smart contracts typically require you to trust them with all your funds in order to use them. This is unlike native ether, which has excellent support for trustless transactions.
  • Nothing prevents the user to send ERC20 tokens to a smart contract, such as an exchange. However, due to the inability to handle incoming transactions these sent tokens will not alter the state of the smart contract (such as balance on the exchange), and it will be impossible to retrieve them from the smart contract. Effectively, these tokens get burned resulting in multi millions of USD losses in ERC20 tokens. Because of the deflationary nature of cryptocurrencies this losses will continue to accumulate.

The main improvement of ERC223

  • On top of offering the same level convenience as ERC20 tokens, it also offers its holders protection against losing tokens by introducing a revert option or altogether blocking the transfer of tokens to random contracts. Tokens can no longer be sent to non supporting contracts with the ERC223 standard.
  • ERC223 allows to deposit tokens into a contract with a single transaction (function) which reduces the use of resources. This again reduce the cost and running time of the transaction to about half compared to that of the old ERC20 standard.

ERC223 is created to be compatible with existing blockchain infrastructure, such as wallets like Mist, Parity, MyEtherWallet and MetaMask, and blockchain explorers such as Etherscan and Ethplorer.

Geir Solem