Bitcoin Forum
June 17, 2024, 06:11:57 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Investigating the need for MasterCoin / Colored Bitcoins  (Read 10093 times)
markm
Legendary
*
Offline Offline

Activity: 2940
Merit: 1090



View Profile WWW
August 28, 2012, 11:38:32 AM
 #21

In theory, exchange between coins of different colors can be distributed, i.e. run as P2P client.

Good luck with that. No one has managed to come up with a p2p exchange yet.

It might be worthwhile to do so though as regardless of whether coloured coins ever happen there are already plenty of flavours of coin that could do with a p2p exchange to exchange between them all.

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
killerstorm
Legendary
*
Offline Offline

Activity: 1022
Merit: 1033



View Profile
September 04, 2012, 12:16:48 PM
 #22

I've started doing a little proof-of-concept to check this idea.

My fork: https://github.com/killerstorm/bitcoin/
colored bitcoin code lives on branch cbtc.

Here's a diff between mainline and colored branch (i.e. changes I've made:
https://github.com/killerstorm/bitcoin/compare/cbtc

Description of code: https://github.com/killerstorm/bitcoin/wiki/Code-structure

Here's info on trying it out: https://github.com/killerstorm/bitcoin/wiki/Running
(I assume that you can compile code.)

Chromia: a better dapp platform
killerstorm
Legendary
*
Offline Offline

Activity: 1022
Merit: 1033



View Profile
September 04, 2012, 04:33:09 PM
 #23

In theory, exchange between coins of different colors can be distributed, i.e. run as P2P client.

Good luck with that. No one has managed to come up with a p2p exchange yet.

Guys on #bitcoin-dev explained me that exchanging between coins of different color in one blockchain is fairly easy: it involves two guys signing one transaction, no need for any advanced contract support, not even multisig. It's a very basic stuff.

So I'm rather confident that implementing a full p2p exchange isn't that hard, maybe one man month worth of work.

Other p2p exchanges are much more complex, of course. This is why no one has managed to implement one yet, I guess.

Chromia: a better dapp platform
markm
Legendary
*
Offline Offline

Activity: 2940
Merit: 1090



View Profile WWW
September 04, 2012, 04:40:42 PM
 #24

Well yeah even between blockchains is possible with multisig of some kind apparently.

The hard part is anywhere that touches fiat.

So okay, if a bunch of coins each having 21,000,000 coins each just like bitcoin all want to try using this coloured thing, how do they go about issuing their 21,000,000 coins each as colours on your system?

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
killerstorm
Legendary
*
Offline Offline

Activity: 1022
Merit: 1033



View Profile
September 04, 2012, 05:12:00 PM
 #25

Well yeah even between blockchains is possible with multisig of some kind apparently.

The hard part is anywhere that touches fiat.

Indeed. In terms of functionality it is roughly same as OpenTransactions (less feature-full, of course), so it does not solve 'fiat' problems.

I believe that Ripple might solve 'fiat problem', but Ripple requires entirely different infrastructure. I'll implement it later, next month, maybe Smiley

So okay, if a bunch of coins each having 21,000,000 coins each just like bitcoin all want to try using this coloured thing, how do they go about issuing their 21,000,000 coins each as colours on your system?

According to the original spec we can define a split in a genesis transaction which issues new type of currency/asset. E.g. we declare that 0.001 Bitcoins descending from genesis txn are 1 RedCoin.

But this is just for display purposes, of course, backend software counts everything in satoshis anyway.

So we would observe loss of precision, i.e. currencies which are introduced via split would have a relatively larger quantum.

This would be much less of a problem if base currency has potentially infinite monetary base. (E.g. 50 coins mined forever.)

Chromia: a better dapp platform
killerstorm
Legendary
*
Offline Offline

Activity: 1022
Merit: 1033



View Profile
September 04, 2012, 05:56:39 PM
 #26

The actual exchange isn't the same thing as an "exchange".  Exchanges also fulfil another important role and that is to ensure bids are binding.   Not saying it is impossible to do in a p2p manner but trivializing it is not really productive.

I don't understand why this is a problem.

Spam and DoS attacks can be a problem, but they can mitigated through various tricks.

Otherwise some trades will fail, but order book isn't deterministic from client's point of view anyway: if you seen certain bid in orderbook and send an order to fill it, there is no guarantee that somebody won't fill it before you do. Also bids can be canceled, can't they?

So from a practical perspective distributed exchange just requires more time to match orders and that's all.

If you remember, in 2011 mtgox had order matching so retarded that it took several hours to match a huge-ass sell order. (And people were able to submit more orders while it mtgox was processing it.)  So this hypothetic distributed exchange won't even be the craziest Smiley

The ability to place false bids & asks would doom any p2p exchange unless you figure out a p2p way to enforce quotes.

There are certainly some ways to make quotes more 'binding', but I think it's a premature optimization to do that from the start.

Chromia: a better dapp platform
markm
Legendary
*
Offline Offline

Activity: 2940
Merit: 1090



View Profile WWW
September 04, 2012, 06:22:35 PM
 #27

This would be much less of a problem if base currency has potentially infinite monetary base. (E.g. 50 coins mined forever.)

50 coins per block forever is GRouPcoin; so the coin you need is already out there...

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
markm
Legendary
*
Offline Offline

Activity: 2940
Merit: 1090



View Profile WWW
September 30, 2012, 06:47:28 PM
 #28

So how goes the investigation?

Is there apparently no need yet?

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
killerstorm
Legendary
*
Offline Offline

Activity: 1022
Merit: 1033



View Profile
September 30, 2012, 07:47:12 PM
 #29

Um, I think we came to conclusion that there is a need quite a while ago.

Chromia: a better dapp platform
ripper234 (OP)
Legendary
*
Offline Offline

Activity: 1358
Merit: 1003


Ron Gross


View Profile WWW
October 01, 2012, 11:12:08 AM
 #30

The project is ongoing, although I'm not very involved with it right now.

There is a dedicated google group for these discussions, started about a week ago.

I personally think that the original MasterCoin topic might be the best way to proceed with implementation, but as I said I'm not very involved with it right now, just musing. There is a POC client that supports colored coins on the Bitcoin network, implemented by killerstorm (link?). Right now the implementation problem seems to be scalability/tx fees, and there is some debate whether it's solvable on top of Bitcoin/Litecoin, or whether some modifications to the core protocol are needed.

Please do not pm me, use ron@bitcoin.org.il instead
Mastercoin Executive Director
Co-founder of the Israeli Bitcoin Association
killerstorm
Legendary
*
Offline Offline

Activity: 1022
Merit: 1033



View Profile
October 01, 2012, 11:20:28 AM
 #31

Scalability is a problem only for some uses. (Basically, if you really want many participants with many transactions.)

For many other uses it's ok. E.g. for assets which aren't so numerous and do not change hands so often.

Currently we are finalizing coloring algorithm, scalability is more like thinking about future.

ripper234, can you elaborate about MasterCoin, is it just about starting a separate blockchain for coloring and other stuff?

Chromia: a better dapp platform
ripper234 (OP)
Legendary
*
Offline Offline

Activity: 1358
Merit: 1003


Ron Gross


View Profile WWW
October 01, 2012, 11:38:30 AM
 #32

Scalability is a problem only for some uses. (Basically, if you really want many participants with many transactions.)

For many other uses it's ok. E.g. for assets which aren't so numerous and do not change hands so often.

Currently we are finalizing coloring algorithm, scalability is more like thinking about future.

ripper234, can you elaborate about MasterCoin, is it just about starting a separate blockchain for coloring and other stuff?

That's true, it's just that most of the uses I've heard people talk about involve a lot of transactions.

As linked to from the OP, MasterCoin is a concept involving many different chains built on top of each other. People can opt into the MasterCoin model by "destroying" Bitcoins and effectively coverting them to MasterCoin. Have you read the whitepaper?

Please do not pm me, use ron@bitcoin.org.il instead
Mastercoin Executive Director
Co-founder of the Israeli Bitcoin Association
killerstorm
Legendary
*
Offline Offline

Activity: 1022
Merit: 1033



View Profile
October 01, 2012, 12:02:42 PM
 #33

As linked to from the OP, MasterCoin is a concept involving many different chains built on top of each other. People can opt into the MasterCoin model by "destroying" Bitcoins and effectively coverting them to MasterCoin. Have you read the whitepaper?

I've looked it through, it looks like it's designed by a non-programmer and is basically unimplementable.

It's like "Let's build a new Bitcoin with blackjack and hookers". That would be cool, sure, but who will bring hookers?

I thought that maybe you have scrapped sane parts out of it...

Chromia: a better dapp platform
ripper234 (OP)
Legendary
*
Offline Offline

Activity: 1358
Merit: 1003


Ron Gross


View Profile WWW
October 01, 2012, 12:15:00 PM
 #34

As linked to from the OP, MasterCoin is a concept involving many different chains built on top of each other. People can opt into the MasterCoin model by "destroying" Bitcoins and effectively coverting them to MasterCoin. Have you read the whitepaper?

I've looked it through, it looks like it's designed by a non-programmer and is basically unimplementable.

It's like "Let's build a new Bitcoin with blackjack and hookers". That would be cool, sure, but who will bring hookers?

I thought that maybe you have scrapped sane parts out of it...

It's been a while since I reviewed it, I do remember some part of it being too vague, but I remember the feeling that some parts/ideas from it are in fact implementable.
It's been a while though.

Please do not pm me, use ron@bitcoin.org.il instead
Mastercoin Executive Director
Co-founder of the Israeli Bitcoin Association
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!