Author Topic: Bancor: Smartcoins With Infinity Liquidity  (Read 8564 times)

0 Members and 1 Guest are viewing this topic.

Offline yvv

  • Hero Member
  • *****
  • Posts: 1186
    • View Profile
Interesting... but I don't quite get it.

The first example in the whitepaper creates a BANCOR asset with an initial supply of 300k BANCOR backed by 60k ETHER, with a CRR of 20%. So the initial BANCOR price is 1 BANCOR = 1 ETHER. Anyone can buy or sell BANCOR at any time for that price - which moves the price in the right direction. Ok, so the BANCOR/ETHER market is always liquid, which is nice.

But what is the use case for BANCOR? Why should anyone buy 1 BANCOR for 1 ETH if BANCOR is only backed by 0.2 ETH? Where is the value proposition?

BANCOR is a crowd funding token, something like OBITS. In contrast to OBITS, you'll be able to sell back and burn BANCOR any time you want, and you don't need exchange for this.

Quote
Apart from this it looks like it should be quite simple to implement that mechanism in BitShares - any takers? I bet abit already has it in his test network. ;-)

Opposite is also true. It should not be difficult to make a better bitUSD in ethereum, it is surprising that nobody did it yet.

Offline Permie

  • Hero Member
  • *****
  • Posts: 606
  • BitShares is the mycelium of the financial-earth
    • View Profile
  • BitShares: krimduss
Apart from this it looks like it should be quite simple to implement that mechanism in BitShares - any takers? I bet abit already has it in his test network. ;-)
Does abit do lots of coding for BitShares?
I'm unaware :)
JonnyBitcoin votes for liquidity and simplicity. Make him your proxy?
BTSDEX.COM

Offline pc

  • Hero Member
  • *****
  • Posts: 1530
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
Interesting... but I don't quite get it.

The first example in the whitepaper creates a BANCOR asset with an initial supply of 300k BANCOR backed by 60k ETHER, with a CRR of 20%. So the initial BANCOR price is 1 BANCOR = 1 ETHER. Anyone can buy or sell BANCOR at any time for that price - which moves the price in the right direction. Ok, so the BANCOR/ETHER market is always liquid, which is nice.

But what is the use case for BANCOR? Why should anyone buy 1 BANCOR for 1 ETH if BANCOR is only backed by 0.2 ETH? Where is the value proposition?

Apart from this it looks like it should be quite simple to implement that mechanism in BitShares - any takers? I bet abit already has it in his test network. ;-)
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline yvv

  • Hero Member
  • *****
  • Posts: 1186
    • View Profile
The idea behind Bancor is pretty simple: a smart token issuer holds a reserve in other ERC20 token(s) which is used to buy back their smart token.  This allows immediate exchange of smart token for reserve token(s) without the need to be listed at any exchange. The price is set by a smart contract such that the reserve ratio stays constant. This does not negate the need for normal exchange with bids and asks. Ethereum has at least one decentralized exchange for its assets running live by the way, check etherdelta.

Quote
Is there a distilled rundown of how the algorithm works?

It is in their white paper, including math derivation of price discovery algorithm.
« Last Edit: May 14, 2017, 09:26:09 am by yvv »

Offline CoinHoarder

  • Hero Member
  • *****
  • Posts: 660
  • In Cryptocoins I Trust
    • View Profile
In my own words (someone correct me if I'm wrong, as I'm still trying to understand it):

Bancor's Smart Tokens are backed by the real assets they contain, which are autonomously held in reserve funds.
Smart Tokens can consist of a single asset or a basket of assets.
Smart Tokens have an infinity amount of liquidity, liquidity of which is not dependent on finding someone to match your buy/sell order.

The price of Smart Tokens is calculated as: Price = valueHeldInTheReserveFund / ( totalSupplyOfTheSmartToken * anArbitraryPercentageWhichIsDefinedWhenASmartTokenIsCreated)

This price moves with the amount that is bought/sold, because it is continuously recalculated for every fraction of a coin bought or sold. For instance, when selling one Smart Token you would get a different price for every 0.000000001 of that one token.

The higher the arbitrary percentage, the less volatility there will be in the Smart Token's price due to there being more reserve funds for every 1 Smart Token coin.

There is no spread since both a buy and sell price are calculated with the same formula.

When the price of a Smart Token changes due to a buy or a sell, it then creates arbitrage opportunities for market makers who have incentive to correct the price closer to the value of the reserveFundValue / totalSmartTokenSupply. If the Smart Token is under or overvalued then an arbitrageur can instantly liquidate or purchase the Smart Token and profit by selling it on an exchange. This opportunity is amplified because there is immediate and unlimited buy/sell liquidity without the need of someone to match an order with, which increases market depth.

Optionally, the Smart Token issuer can set a fee for each exchange which can be reinvested back into the reserve fund. This increases the Smart Token price with every time an exchange takes place, because the value of the reserve fund increases compared to the value that was transferred. This works similar to interest bearing Smartcoins in Bitshares.
« Last Edit: May 14, 2017, 07:52:27 am by CoinHoarder »
https://www.decentralized.tech/ -> Market Data, Portfolios, Information, Links, Reviews, Forums, Blogs, Etc.
https://www.cryptohun.ch/ -> Tradable Blockchain Asset PvP Card Game

Offline CoinHoarder

  • Hero Member
  • *****
  • Posts: 660
  • In Cryptocoins I Trust
    • View Profile
Is there a distilled rundown of how the algorithm works?

The explanation in the whitepaper is fairly easy to follow.

Quote
Advantages of Smart Tokens

Smart tokens introduce multiple advantages over the traditional exchange model:

1. Continuous Liquidity​ - Since purchasing and liquidating is done through the smart
contract, smart tokens are always liquid, irrespective of their trading volume.

2. No Extra Fees​ - The only mandatory fees applied by a smart token are the blockchain
platform fees (gas) which are relatively low.

3. No Spread​ - Since the price calculation is done algorithmically by the smart token, the
same price applies for purchasing and liquidating the smart tokens.

4. Predictable Price Slippage ​- Smart tokens allow pre-calculation of the precise price
slippage, based on the transaction size, before it is executed.

5. Lower Volatility - ​A smart token with a 10% CRR (for example) is comparable to an
exchange with 10% of the entire supply of a token in its order-book at all times, forming
substantial market depth. In a typical crypto-exchange, the share of the supply in the
market depth at any given moment is well below 1%. The higher the CRR, the lower the
smart token’s price volatility. The lower the CRR, the more “new credit” is created relative
to the original reserve amount.


Quote
A New Method for Price Discovery

A smart token utilizes a novel method for price-discovery which is based on a “Constant Reserve
Ratio” (CRR). The CRR is set by the smart token creator, for each reserve token, and used in price
calculation, along with the smart token’s current supply and reserve balance, in the following way:

Price = Balance / (Supply * CRR)

This calculation ensures that a constant ratio is kept between the reserve token balance and the
smart token’s market cap, which is its supply times its price. Dividing the market cap by the
supply produces the price according to which the smart token can be purchased and liquidated
through the smart contract. The smart token’s price is denominated in the reserve token and
readjusted by the smart contract per each purchase or liquidation, which increases or decreases
the reserve balance and the smart token supply (and thus the price) as detailed below.
When smart tokens are purchased (in any of their reserve currencies) the payment for the
purchase is added to the reserve balance, and based on the calculated price, new smart tokens
are issued to the buyer. Due to the calculation above, a purchase of a smart token with a less
than 100% CRR will cause its price to increase, since both the reserve balance and the supply are
increasing, while the latter is multiplied by a fraction.

Similarly, when smart tokens are liquidated, they are removed from the supply (destroyed), and
based on the current price, reserve tokens are transferred to the liquidator. In this case, for a
smart token with a CRR less than 100%, any liquidation will trigger a price decrease.
This asynchronous price-discovery model works by constantly readjusting the current price
toward an equilibrium between the purchase and liquidation volumes. While in the classic
exchange model price is determined by two matched orders in real-time, smart token prices are
calculated over-time, following every order.

The above formula calculates the current price, however, when a purchase or liquidation is
executed, the effective price is calculated as a function of the transaction size. The calculation
can be described as if every transaction is broken up into infinitely small increments, where each
increment is changing the smart token’s supply, reserve balance, and thus its price. This ensures
that purchasing the same amount of smart tokens in a single or multiple transactions would yield
the same total price. Additionally, this method ensures that the CRR will be kept constant and the
reserve can never be drained. Essentially, the effect of the transaction size on the price (due to its
changing the smart token’s supply and reserve balance) is incorporated into the effective price
for any transaction. The mathematical functions for calculating price per transaction size are
presented further in this document.

Using this method, the Bancor protocol can enable liquidity and asynchronous price discovery for
existing standard tokens -- through smart tokens holding them in reserve, enabling backward
compatibility.

Quote
A Solution to the Coincidence of Wants Problem

The coincidence of wants problem , in the current asset exchange model, creates a situation
where assets are required to be traded at a certain minimal volume or else face liquidity risk.
The cause for this limitation is that the chance of finding a second party with opposite wants to
exchange with, correlates to the asset’s trading activity level. Smart tokens solve this problem
through the use of reserve tokens which embed market depth directly into the smart token’s
smart contract.

Smart tokens are a technological solution​ to the coincidence of wants problem for asset
exchange, rather than a labor-based solution as used in traditional (or decentralized) exchanges.
The current laborers in asset exchange are the professional market-makers who provide liquidity
and facilitate collaborative price discovery. In the domains of information exchange and trade, the
technologies of writing and currency replaced labor-intensive solutions (speaking and barter) with
technological ones, creating mass efficiencies for societies and unlocking collaboration on a
global and intergenerational level. The Bancor protocol proposes to similarly advance the domain
of asset exchange by replacing the need for labor with a technological solution to the existing
coincidence of wants problem.

The above describes is effectively describing Bitshares' Smartcoins when it refers to "labor-based solutions".
https://www.decentralized.tech/ -> Market Data, Portfolios, Information, Links, Reviews, Forums, Blogs, Etc.
https://www.cryptohun.ch/ -> Tradable Blockchain Asset PvP Card Game

Offline fluxer555

  • Hero Member
  • *****
  • Posts: 749
    • View Profile
Is there a distilled rundown of how the algorithm works?

Offline CoinHoarder

  • Hero Member
  • *****
  • Posts: 660
  • In Cryptocoins I Trust
    • View Profile
What do you guys think of the economics behind Bancor? I would ask on Bitcointalk, but I think this is the best place to have this discussion. I am still digesting the economics of it, but essentially the Bancor project is purporting that they have conceptualized a way to create Smartcoins with infinity liquidity.

https://www.bancor.network/
https://www.bancor.network/whitepaper/en
https://bitcointalk.org/index.php?topic=1789222.0

So far the best proposals I have seen for highly liquid Bitshares Smartcoins are:
- Using inflation to provide autonomous market depth:
https://www.docdroid.net/2OcoImM/autonomous-smartcoin-liquidity-funded-by-dilution.pdf.html
- Tonyk's idea to make BTS unspendable, thus all BTS trading would take place on the BTS chain (unless exchanges program a special IOU trading module specifically for Bitshares trading... which is unlikely IMO due to the risk/reward):
https://bitsharestalk.org/index.php/topic,21409.0.html
- Using a worker proposal to use reserve pool funds to create smartcoins and sell them into the market at feed price plus 10%:
Discussed many places
- Using inflation to pay people to provide liquidity, similar to how Nubits does (this was not the reason Nubits failed btw):
Again, discussed many places.

But... the main question I am proposing in this thread... has Bancor come up with a better idea than all of the above (and better than Bitshares' historical idea of a "if you build it, they will come" mentality)?

[off topic]
If the economics of Bancor are sound, then this could be a Bitshares killer considering the DEX space is getting quite competitive recently (some implementations of which are better IMO, as far as decentralization goes). Again, IMO, Smartcoins is one of the last few things Bitshares has going for it.

In the DEX space... you now have:

Bitshares (derivative and IOU based)
cons: derivative and IOU based
pros: convenient and more established market

Waves (IOU based)
cons: IOU based
pros: highly funded project, big userbase and hype, clean and easy to use GUI

Supernet is apparently nearing a release of a DEX (autonomous multisig)
cons: multisig
pros: convenient and hold/trade real assets, not derivatives

Blocknet (atomic swap based)
cons: Have to download the entire blockchain, but this inconvenience can later be reduced to simply running SPV nodes of coins you want to trade. This inconvenience could technically be further reduced by building a multi coin SPV wallet which is integrated in the Blocknet wallet.
pros: fully decentralized, no IOUs and no derivatives or IOUs

Honorable mention to: B&C Exchange ... although the Nubits dev abandoned the project, they did conceptualize a great idea for how to implement a DEX that would be superior to IOU and derivative DEXs.

There are too many autonomous multisig and IOU-based DEX projects to list really...

Considering Bitshares is derivative based and/or IOU based, I value it around the same level as other autonomous multi sig, derivative, and IOU exchanges. I think Blocknet has the best design for a DEX thus far (as long as it is made to be convenient by implementing multicoin SPV wallets directly in the Blocknet client).

So, that leaves Smartcoins as Bitshares main "killer feature", which is why I am interested when new smartcoin-like proposals come out.
[/off topic]
« Last Edit: May 14, 2017, 05:38:14 am by CoinHoarder »
https://www.decentralized.tech/ -> Market Data, Portfolios, Information, Links, Reviews, Forums, Blogs, Etc.
https://www.cryptohun.ch/ -> Tradable Blockchain Asset PvP Card Game