Tag Archives: tokens

tokens

Stablecoins

Stablecoins are normally pegged to fiat money like the U.S dollar. Due to their low volatility, they are frequently used by investors to purchase crypto assets like Bitcoin through virtual transactions that can be settled rapidly.

Tether is the leading stablecoin used by crypto exchanges across the globe, with an estimate market share of 75%. Other popular stablecoins include USD Coin (run and managed by a consortium that include Circle and Coinbase), Paxos Standard (has been approved by the New York State Department of Financial Services.), Gemini Dollar (being offered by the exchange run by the Winklevoss twins).

A class of programmatically issued collateralized digital currencies are emerging, most are either backed by fiat reserves ($USD) or by other digital assets such as ether ($ETH).

Fiat-Collateralized

As most stablecoins are currently pegged to the US dollar, the large majority of projects have decided to use US legal tender as the source of collateral for the issuance of their tokens.

Fiat-collateralized stablecoins retain their 1:1 peg by utilizing trusted third parties to hold an equivalent amount of legal tender in reserves.

New stablecoins are minted when a party deposits USD into the issuer’s reserve. Similarly, when a redemption request is made, the issuer will send the buyer USD and burn the redeemed stablecoin.

The most commonly used fiat-collateralized stablecoins include but are not limited to:

  • Tether ($USDT) – A fiat-pegged stablecoin built on top of Bitcoin via the Omni Layer Protocol. Each Tether issued into circulation is said to be backed by a one-to-one ratio with the equivalent amount of fiat currency held in a custodial account by Hong Kong-based Tether Limited.
  • USD Coin ($USDC) – Fully collateralized US dollar ERC20 tokens founded by CENTRE,  a joint venture founded by Circle and Coinbase. USDC is an open-source project which operates within US money transmission laws. The project uses established banks and auditors while leveraging Ethereum-based smart contracts.
  • Paxos Standard ($PAX) – Backed one-to-one by USD deposits and available through Paxos. PAX is available one-to-one in exchange for USD and redeemable one-to-one for USD. Upon redemption, PAX tokens are immediately removed from the supply; PAX are only in existence when the corresponding dollars are in custody.
  • TrueUSD ($TUSD) – A USD-backed ERC20 stablecoin that is fully collateralized, legally protected, and transparently verified by third-party attestations. TrueUSD uses multiple escrow accounts to reduce counterparty risk and to provide token-holders with legal protections against misappropriation. TrueUSD is the first asset token built on the TrustToken platform.
  • Gemini Dollar ($GUSD) – Created at the time of withdrawal from the Gemini platform. Gemini customers may exchange US dollars for Gemini dollars at a 1:1 exchange rate by initiating a withdrawal of Gemini dollars from their Gemini account to any Ethereum address they specify.

Crypto-Collateralized

Rather than being backed by legal tender, crypto-collateralized stablecoins hold currencies such as ether ($ETH) in escrow for the issuance of new tokens. In doing so, users have the ability to mint and burn tokens without needing to utilize or trust a centralized third party.

While the trustless nature of these stablecoins is quite appealing to the decentralized notion of many cryptocurrency projects, it does come with a drawback. Where fiat-backed stablecoins only need to hold 1:1 reserves in legal tender, this subset of stablecoins often require over-collateralization to account for price volatility. Most commonly, this ratio is set at 150%, meaning that in order to issue $100 worth of $DAI, you will need to post at least $150 worth of $ETH as collateral.

The most commonly known crypto-collateralized stablecoins include but are not limited to:

  • Maker Dai ($DAI) – Dai is a crypto-collateralized ERC20 token backed by an excess amount of digital asset collateral (most commonly $ETH) through Maker Vaults. Dai utilizes smart contracts and a governance token, $MKR, to monitor price stability.
  • Synthetix ($sUSD) – Previously known as Havven, Synethetix is a crypto-collateralized network enabling the creation of on-chain synthetic assets on the Ethereum blockchain. These assets are over-collateralized to provide sufficient liquidity for users to redeem collateral at face value. Beyond $sUSD, Synthetix plans to offer stablecoins for other legal tenders such as the euro, yen, and the Korean won.
  • Reserve tokens ($RSV) – Hybrid-collateralized token backed by both fiat and digital assets. Initially built on Ethereum, Reserve tokens aim to be interoperable across any blockchain in the future. Similar to Maker Dai, Reserve tokens utilize a governance token, $RSR, to monitor price stability in a decentralized fashion.

Non-Collateralized (Algorithmic) Stablecoins / Seigniorage

Seigniorage-style coins utilize algorithms to control the stablecoin’s money supply, similar to a central bank’s approach to printing and destroying currency. Seigniorage-based stablecoins are a less popular form of stablecoin.

Significant features of seigniorage-style stablecoins are:

  • Adjustments are made on-chain,
  • No collateral is needed to mint coins,
  • Value is controlled by supply and demand through algorithms, stabilizing price.

A team of anonymous developers is making what might be called a fork called Basis Cash based on the stablecoin Basis (originally  known as Basecoin) that had $133 million in funding before U.S. securities regulators stepped in and the team behind it returned everything in late 2018.

  • Basis Cash ($BAC) – Like most stablecoins, Basis Cash (BAC) is pegged to the U.S. dollar, so one BAC should be equal to the crypto equivalent of one USD. Basis Cash’s price will be managed by two other crypto assets: Basis Bonds and Basis Shares. Originally 50,000 BAC was distributed over a five-day period to folks that deposit any of these five stablecoins into its smart contract: DAI, yCRV, USDT, SUSD and USDC. If BAC should drop below a dollar, the system will issue Basis Bonds. Those Basis Bonds can be bought for one BAC. They can also be redeemed for one new BAC when the price is above a dollar. For example, if BAC were to drop to $0.97, a user could buy a bunch of BAC at that discounted price and redeem them for the bonds (which burn the BAC). That reduces the supply and should bring it back in line with the peg. Then, when BAC goes over $1.00, new BAC gets issued. The system first lets bondholders redeem them (so if someone bought bonds at $0.97 they should get at least a 3% profit) and the rest of the fresh BAC goes to holders of Basis Cash Shares. Though to get the new BAC (the seignorage), BAS holders have to stake their shares in the Boardroom, another smart contract. From the documents it seems to rely on Uniswap price data.
  • Carbon ($CRBN) – Some projects like Carbon modify the seigniorage shares model. In Carbon, users can elect to freeze portions of their funds to manage contraction and growth cycles. Some projects issue bonds, but simply pay out new stablecoins to all users, pro rata, when all bonds have been paid and supply must increase still. Each approach to the seigniorage shares model has its own set of challenges. Carbon is conceptually similar in design to Basis. However, Carbon uses Hedera Hashgraph which could potentially provide it with significantly higher throughput and speed.

Conclusion

For the average user, stablecoins provide a reliable medium of exchange for now.

Fiat-backed stablecoins can never be censorship resistant, permissionless and trustless. The risk for further regulatory / government interference related to fiat-collateralized stablecoins should not be under estimated. Gemini USD and Paxos Standard (PAX) Stablecoins, are the most highly regulated of all the fiat- backed / asset-backed tokens. They are subject to the terms contained In the source code which include the right of forfeiture or seizure if required by law enforcement.

Over time, as the open financial system grows, DEXs gain market share and dApps gain adoption, crypto-native stablecoins will win on the merits of censorship-resistance and value sharing, with Maker’s Dai currently leading the way.

The biggest benefits dollar-pegged algorithmic systems like Basis have over crypto-backed systems is their capital-efficiency and increased profit potential. Capital-efficiency should make it easier for the system to respond to sudden growth in demand, while the profits can be shared with many stakeholders who should be motivated to support and drive the ecosystem forward.

Most of the key innovations will come from crypto-backed and algorithmic backed / seigniorage based stablecoins

Geir Solem

How to use CryptorDex (DEX)

Tools you need to use the DEX

You need ether (ETH) and wrapped Ether (wETH) to buy & sell on the DEX exchange, as ETH and wETH is how you pay for transactions. Learn more about wrapped tokens here. You also need an ERC20 compatible wallet in order to use the DEX. We recommend Metamask.

Log into your wallet and connect it to the DEX by clicking on your wallet address that should occur in the menu at top right corner of the DEX. (Note: You need to be logged into your wallet in order to use the DEX.) You will then get a new menu, at the top of the menu click on “my wallet”. You should now see the listed tokens and your holdings of each of them.

If you already have ETH and wETH in your wallet, you are already set to begin. If not, this guide will explain how to buy both ETH and wETH under.

You are now ready to do transactions like buying and selling tokens on the DEX.

How to Unlock tokens in your wallet

You will need to unlock the token you want to sell or use as payment in a swap, so the system can take it from your wallet. On the 3rd row in the menu from the right you have “Locked?”. Click on the “lock” symbol beside the token you want to unlock. Your wallet will ask for a confirmation of the unlock, and you will need to confirm in order to complete the unlock. The lock symbol should now disappear from that token.

How to buy / sell ETH and wETH

If you have ETH, you can then buy wETH on the DEX by converting ETH to wETH by using the mall menu that now should be present up in the top left corner of the DEX. 1 wETH has the same value as 1 ETH. fill out how many ETH you want to convert to wETH, it will then give you the total transaction value including commission. Complete the transaction by clicking on “convert’. If you have wETH you can also convert to ETH using this menu.

How to send tokens

On the right side you have buttons for sending tokens or buying tokens. If you want to send some of your BIB tokens to another wallet, click the “send” button beside your holding of BIB tokens, and you get up a small form where you fill out the address of the wallet you want to send your BIB token, as well as the number of BIB tokens you want to send. The necessary ETH gas will be taken from your wallet when you initiate the transaction.

How to buy tokens

If you want to buy tokens click on the “buy” button beside the tokens listed that you want to buy, you will then get up a small form where you fill out the order details like the number of tokens you want to buy. To complete the transaction click on the “buy” button at the bottom of the form.

How to swap tokens and tokens that are listed on the exchange?

On the menu up in the top right corner click on “swap”. You get a new screen where you can swap ETH with any of the tokens. Select the token you want to swap buy using the menu up in the top left corner. A small form in the middle of the screen shows the price used and how many tokens you get for the swap. Fill out how many tokens you want to send, and the number of tokens you receive will occur on the form. Click “swap” to complete the transaction.

Decentralized Finance (DEFI)

On the menu up in the top right corner click on “DEFI” and you get up a new screen with options to borrow tokens and put up tokens as collateral, giving you the possibility to leverage your trade. Unless you are a skilled trader, we do not recommend that you use leverage in your trading. 

Price chart of your token

Click on “CryptorDEX” up in the top right corner and you get a screen of the listed tokens. Click on the token you want displayed with a price chart. You will then get a price chart covering the last 3 months of trading.

Over the price chart you have a menu with the following items Day, Candles, Compare, and Indicators (Technical Indicators).

Technical Indicators

Click on “Indicators” if you want to select the technical indicators to use in order to analyze the price chart like “accumulation / distribution”, “average true range”, etc. in alphabetic order. Search for the indicator you are looking for like RSI (Relative Strength Indicator”. You can learn more about technical indicators used for analyzing price structure on our investment website Elliott Wave Technician here.

Buy or Sell tokens

On the right side at the bottom, you should now see a form where you can initiate a “buy” or “sell” transaction for the token you look at in the price chart. The current order book / transactions occurs in the top half of the form.

In the form for ‘buy’ and “sell” orders, fill out the number of tokens you want to buy or sell, and the price in ETH. The calculated price should now occur at the bottom line. Remember to choose if you order is at “market” or on “limit”.

Market orders allow you to trade a token for the going price, while limit orders allow you to name your price. However, remember that newly listed tokens has yet to establish a market and the liquidity is low, then prices can swing widely. In this case use “limit” in order to control the price you buy or sell for. Click on the buy / sell button to complete the transaction. Remember if you are buying using ETH to pay, ETH need to be unlocked in your wallet before you initiate the transaction. If you are selling a token it needs to be unlocked before you can initiate a sell transactions.

Geir Solem

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