--
You received this message because you are subscribed to the Google Groups "Colored coins (BitcoinX)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcoinX+u...@googlegroups.com.
To post to this group, send email to bitc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Part of the homework would be to bring my paper https://bitcoil.co.il/BitcoinX.pdf to something other than "work in progress". Hopefully that would mean making it complete, but it will be more realistic to simply remove some unfinished chapters from the ToC.
--
You received this message because you are subscribed to the Google Groups "Colored coins (BitcoinX)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcoinX+u...@googlegroups.com.
To post to this group, send email to bitc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Thanks, will read and look forward for more.
Do I understand correctly that you are using the "BitcoinX" brand for the flavor of colored coins that you are active in developing?
* Divorce each colored coin from every other colored coin in the system. Even if you are interested in say five colored coins, the balances of each of those colored coins would be completely independent of any other colored coin.
* Divorce the actual bitcoin balances from colored coin balances. It is possible to have a transaction that has unspent colored coins, but no unspent bitcoins.
* Divorce each colored coin from every other colored coin in the system. Even if you are interested in say five colored coins, the balances of each of those colored coins would be completely independent of any other colored coin.It is the case with 'order based coloring' too.
* Divorce the actual bitcoin balances from colored coin balances. It is possible to have a transaction that has unspent colored coins, but no unspent bitcoins.Well, if you do it this way, it shouldn't be called 'colored coins'.
You see, the characteristic feature of a colored coins is that value is associated with transaction outputs (which are colloquially called 'coins', hence the name), and wallet balance corresponds to unspent transaction outputs, just like with normal Bitcoins.As it is based on the same model as Bitcoin itself, it inherits many characteristics. Particularly, colored coin double-spend is exactly the same as Bitcoin double-spend.If you no longer associate value with transaction outputs, but instead compute balance for each address, then it is no longer a coin-based system, but rather an account-based.
It is considerably different: now order of transactions in a block becomes important.Besides that, as we already discussed, in coin-based system you only need a relevant part of a graph to calculate value of a transaction output, but you have to scan the whole blockchain to calculate balance of a certain address in account-based system.
MasterCoin uses this account-based approach, where balances are associated with addresses.They made it in such a way that it is technically possible to receive and send MasterCoins with an ordinary Bitcoin wallet.
But in reality people do need special software to check balance and to make proper 'send' transactions, so it is just a gimmick.
I remember you mentioned that you're going to find some way to use Bitcoin graph, but keep features of account-based approach.I don't know if it is even possible, but why bother?You will still need special software to send and receive transactions, just like with colored coins.And just like with normal colored coins, one can lose his coins only if there is a serious bug in software.
I guess you want to explore this alternative approach because you see some problems with normal colored coins. But the thing is, these problems either do not exist, or can be avoid.For example, we now consider each color in isolation, wallet doesn't need to know any other colors to calculate balance correctly.
Also it's worth noting that we are no longer tied to 'order based coloring'. Theoretic model we are using now allows different schemes to co-exist. Software will have to use separate 'wallets' for schemes which are incompatible with each other.
You can use coloredcoinlib to implement any coloring scheme which follows the general idea of colored coins (i.e. that value is associated with txout and depends only on transaction itself and values of txins). All you need to do is to implement your own ColorDefinition class with run_kernel function, like this:In case with order based coloring, it is just 25 lines of code.Then you can use coloredcoinlib to scan the blockchain for colored coins.
1. I didn't find information about the distinction between colors and assets. Did I miss it, or is there a link with more information?
Do I understand correctly that an asset is basically a collection of colors?
That is, I can issue a "MeniGoldCoin" asset, with a contract that says I will redeem each such coin for 1oz of gold. Then I can associate a color (initial_state + kernel) with this asset, and each coin matching the color commits me to the contract. If I later wish to issue more MeniGoldCoins, I will define a new color and associate it with the same assets.
In any case, the wallet software will not by default list the amount owned of each color, but rather of each asset.
Back in the day I raised a security concern - if the private key for a Bitcoin address is stolen, I only lose the bitcoins in that address. But if a private key with issuing rights is stolen, my losses are unbounded as an arbitrary amount of contractually committing assets can be issued.
What features do I have to preemptively prevent such a scenario?
2. Regarding the use of separate addresses per color - Is it per color or per asset?
Is it still possible to deduce from a colored address the color and the Bitcoin address (which corresponds to the same private key), and vice versa?
If the address is per color, it can safeguard against receiving coins of an asset I want, but of a new color I do not yet recognize.
However, this makes the process more complicated, because to receive an asset I need to know which color I am going to receive. What is the solution for this?
3. Do you know of any attempts to implement colored coins other than what Alex is doing and Bits Of Proof?
Can you map the key people involved in each project?
4. I understand that NGCCC is currently a python text-interface program. What are its future plans? Will it be built from scratch or will it fork from one of the established Bitcoin clients?
5. Webcoinx is based on Stefan's Bitcoin-js, right?
If someone is holding A B C and D coins and they send me a D coin where I hold D E F and G coins, I am not sure how I validate their sending me a D coin if I don't know about A B and C coins too. I.e. I don't know how I order coins that I don't know about so that I can validate that they did in fact send me valid D coins.
--
You received this message because you are subscribed to a topic in the Google Groups "Colored coins (BitcoinX)" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bitcoinX/RG0F-EoT67o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bitcoinX+u...@googlegroups.com.
When you say "All colors within one asset are supposed to be compatible with each other, i.e. it is possible to send them all within one transaction.", do you mean to combine them into a single output, or having separate outputs per color, but to the same address? The former has serious security implications as you describe in part 1/4.
As part of the homework I've tried playing around with Webcoinx http://bitcoinx.github.io/webcoinx/, but could not get it to work. I got a testnet coin from the faucet and filled in details in "Issue Coins" tab, but when I click "Issue" nothing seems to happen. Does anyone have an idea what the problem is?
Cool, I managed to issue, can't do any p2ptrade though.
One other thing... Are there any new ideas for applications of advanced color states and kernels? TaxedCoin, referral programs and KYC compliance aren't very sexy and I don't want to include them.
Cool, I managed to issue, can't do any p2ptrade though.