Bitcoin Forum
May 04, 2024, 06:09:35 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 [41] 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 »
801  Bitcoin / Project Development / Re: colored bitcoins/distributed exchanges proof-of-concept on: November 15, 2012, 04:12:48 PM
If txn fee is paid with colored coins those colored coins are lost. It might make sense if value per satoshi is ~1 satoshi. I agree it isn't a very useful feature, that's why I haven't implemented it. Smiley

There is, however, a better way to pay the fee with colored coins, it is based on same mechanism as p2p exchange. Say, you have only GOLDcoins and what to send them to somebody. To pay a fee you need to find somebody who wants to buy GOLDcoins, then you send them a small amount of GOLDcoins and he sends a fee. All in same transaction.

Essentially it is a slightly more elaborate p2p exchange mechanism.

And while we are here, we can probably implement ripple-style circular exchanges through same p2p exchange mechanism, it just needs to be even more elaborate. Smiley

I'll start with simplest one, of course, but maybe I can make some room for more advanced features.

802  Alternate cryptocurrencies / Altcoin Discussion / Re: How to clone Bitcoin to create your own crypto currency / crypto shares system on: November 15, 2012, 03:10:34 PM
This time it does nothing, i. e. no visual output, just a blinking cursor on the next line in the command window.

It means that server works Smiley

Now open another console window and try communicating with this server, e.g. namecoind getnewaddress
803  Bitcoin / Project Development / Re: colored bitcoins/distributed exchanges proof-of-concept on: November 15, 2012, 03:09:01 PM
Next goals:

  • ZC transaction support (yeah, it doesn't quite work now)
  • user interface adaptations for colored coins (e.g. displaying correct units)
  • standardization of color definition format, automatic download from bitcoinX server
  • p2p exchange
  • a tool for making color definitions

My general plan is to implement features first, deal with quirks either. I'll try to finish most of this stuff this week.
804  Bitcoin / Project Development / Re: colored bitcoins/distributed exchanges proof-of-concept on: November 15, 2012, 02:56:48 PM
Updates:

  • fees paid with uncolored coins
  • auto-trade

Before this fees were paid with colored coins, which is a major problem for coins which are significantly more valuable than BTC/which are represented with few satoshis.
After a patch fees can be paid with uncolored coins only. Perhaps it makes sense to allow paying fees with colored ones too, but there is no option for it in GUI yet.

Second update is auto-trade script. Basically you can use it to sell colored coins automatically: whenever script detects uncolored coins being sent to your address, it will send back colored coins according to exchange rate you set up. It works like Satoshi Dice, colored coins are sent to address which sent uncolored coins.

(This script is just a proof-of-concept, not an end-user material.)

Both features definitely require more testing. Particularly "uncolored fee" turned out to be rather hairy.

It would be cool if somebody would do code review since testing this stuff is kinda hard. I'm actually willing to pay a bounty for somebody to proof-read my code.

Prerequisites are:
  • good understanding of Python
  • willingness to work with code you aren't familiar with
  • code review skills, i.e. finding bugs simply by reading code attentively

Familiarity of Armory code base is not required as I'm ready to explain whatever is needed to understand code.

Base bounty is 1 BTC. It can be considerably higher if you do a great job, say, rewrite it in such a way that it sucks less.

PM me for details.
805  Bitcoin / Project Development / Re: Decentralized BTC Stock Market [Goodbye GLBSE] on: November 10, 2012, 04:35:08 PM
Well, colored coins kinda solve mining issue: we just use existing blockchain, assuming that it's already secure.

People need to purchase coins to turn them into asset-representing tokens, and also they need to pay txn fees. That's how miners are compensated.

If we'll have a blockchain specifically for asset ownership tracking (e.g. ripplecoin), we'll have "host coins" which are awarded to miners, while asset issuers have their own tokens which are created as needed. You need to pay hostcoins as a transaction fees, so that's how miners get compensated.

Quote
Sorry, I did not read the whole thread so it's a bit unclear how do the securities get issued.

You send coins to yourself, then create a "color definitions" which says what they mean, i.e. it can point to a contract.
806  Bitcoin / Project Development / Re: colored bitcoins/distributed exchanges proof-of-concept on: November 10, 2012, 07:59:07 AM
Electrum would still work, it uses the full blockchain, just connecting to it remotely correct? (that's why people run electrum servers?)

Yes, but I guess server needs to be extended too, because right now it offers very limited access to blockchain data.
807  Bitcoin / Project Development / Re: Decentralized BTC Stock Market [Goodbye GLBSE] on: November 09, 2012, 03:48:19 PM
but where is the asset holders information stored, after the trades is cleared (transfer/payment).

The right answer is "in blockchain", obviously. That's the only way to make it secure and decentralized.

Think about it: if there was a way to store ownership information without blockchain, we would have cryptocurrencies other than Bitcoin.

There might be a way to secure transactions without proof-of-work, e.g. Ben Laurie's "mintettes": http://www.links.org/files/distributed-currency.pdf

But since we already have PoW-secured Bitcoin, it just makes sense to use same PoW to secure asset transactions. Either via merged mining, or via embedding information right into Bitcoin blockchain.
808  Bitcoin / Project Development / Re: Decentralized BTC Stock Market [Goodbye GLBSE] on: November 09, 2012, 10:07:38 AM
lol

I'm not sure what you guys are talking about, but colored coins + some simple communication medium + some trading software sounds like a viable approach to me.

By simple communication medium I mean anything like IRC/newsgroups/web chat/mailing list/p2p network... I'm going to start with a specialized web chat, though.

If I finish stuff I'm working on this week, next week I'm going to start with p2p exchange for colored coins, and I hope I'll get it working in a week or so.

Problems you talk about seem to be largely theoretic. If authorities shut down IRC server people can go to trade on newsgroup. There might be some disruption, but it can be repaired  in matter of minutes through software reconfiguration, so I doubt it's same thing as getting "GLBSE'd".

If trade happens both on IRC and on newsgroup, then, liek, post your orders onto both, and read both. Problem solved?

It might be a problem only for high-frequency trading, but since any p2p solution is inherently slow and unreliable, they'd have to live with it. Maybe it is not a problem at all because high-frequency traders compete with other such traders, and if it's slow for everybody, that's fine.

If we are talking about capital markets, it's unlikely that fundamentals change more often than once per day or so. So there is NO NEED in high-speed trading. If you trade faster than your peers you can make money on it, like trading right after news were heard. But it just a race, and if trading system is fast, people will compete for milliseconds or even microseconds. Obviously there is no fundamental difference.

Likewise, there is no real problem with multiple separate markets: you can poll many of them to find the best deal. Even if you don't poll some, we can hope that arbitragers will make sure that there is no large discrepancy isn't large. Again since fundamentals change infrequently whatever "commission" arbitragers get is largely unimportant.
809  Bitcoin / Project Development / Re: Decentralized BTC Stock Market [Goodbye GLBSE] on: November 09, 2012, 08:48:41 AM
Ichthyo: IIRC I mentioned something like this, without any details, though.

In general I think "If you build it, they will come" might work here: it's important to create an open ownership tracking/trading platform.

And then market will find a way how to use it. Insurance ("credit default swaps") seems to be a viable option.

Also we'll likely see other creative ways to deal with it.

BTW (I don't remember whether I mentioned it) it is possible to make secure multi-issuer Ripple-style currencies with help of collateral: large issuers will hold each others' balls via "legally enforceable" collateral agreements, then smaller fish can connect to it and transfer money via that currency.

This scheme can also allow a registered, legal company to support the currency while minimizing money laundering accusations: it won't issue this currency, but it will insure it in case of default. So normally this company never touches the currency and doesn't facilitate the trade, so it's kinda hard to accuse it. But it kinda helps when users know that currency is backed by hard $$$ and a legal company.
810  Bitcoin / Project Development / Re: colored bitcoins/distributed exchanges proof-of-concept on: November 09, 2012, 08:27:15 AM
I'm not sure what's the question here: yes, we use blockchain to check whether coins come from a certain "coloring" address or a genesis transaction, this is how it works.

But note that we likely need this "background check" for all coins which come to us, so this might be a performance problem.

Armory client does full blockchain scan at start to identify all colored coins, after that scan it is fast (O(1) w.r.t. blockchain size).

Other approaches are possible.
811  Bitcoin / Project Development / Re: colored bitcoins/distributed exchanges proof-of-concept on: November 08, 2012, 07:29:23 AM
Would it be possible to have a Electrum version of this or does it need the full blockchain?

It is possible.

Actually some people are currently working on color-aware bitcoinJS server. It can give us something like color-aware block explorer (which would show colors for transaction outputs) and a thin client.

It is possible to make thin client without server-side coloring support, but it's impractical now.
812  Bitcoin / Project Development / Re: colored bitcoins/distributed exchanges proof-of-concept on: November 08, 2012, 02:25:17 AM
I'm working on a basic specification. It is currently incomplete, but if you want a preview: https://github.com/killerstorm/colored-coin-tools/blob/master/colors.md

My plans:

  • implement missing features in Armory colored coin client
  • make a better color definition format
  • basic specification
  • exchange

All interested parties are welcome to join discussion. There is a mailing list now: http://groups.google.com/group/bitcoinx
813  Bitcoin / Project Development / Re: colored bitcoins/distributed exchanges proof-of-concept on: November 08, 2012, 02:20:09 AM
Updates:

I've made an Armory-based implementation. Basically, it's Bitcoin Armory with a drop-down list which allows one to choose color. If you choose color, balance is displayed for that color and you can send coins of that color only.

It kinda works, but isn't well-tested and isn't complete. Particularly, you cannot change scale for colored coins, you cannot pay fees with uncolored coins when you send colored coins, color definition format will likely be changed. There is no exchange functionality.

I don't think it is software for end-users yet, more like a preview for developers and advanced users.

Color definition file format ("ini file"), it is LIKELY to change:

1. "genesis" style mentions tx outputs:

[c26166c7a387b85eca0adbb86811a9d122a5d96605627ad4125f17f6ddcbf89b]
name=test0
style=genesis
number_of_issues=1
i_txhash_1=c26166c7a387b85eca0adbb86811a9d122a5d96605627ad4125f17f6ddcbf89b
i_outidx_1=0


2. "exodus" style mentions address:

[c26166c7a387b85eca0adbb86811a9d122a5d96605627ad4125f17f6ddcbf89b]
name=test0
style=exodus
addrhash=a8e05f6d028daa9e3d6882fa08bf7a4e47396498

Hashes are in format which is used on blockchain.info (block explorer too?), so you can look up some transaction or address there and add its hash into color definition.

Client will pick them if you make file with name which ends with .colordef (e.g. test0.colordef) and put into ~/.armory/colordefs/ ( %appdata%\Armory\colordefs\ on Windows).

If there are no colordefs it loads internal TESTcc color definition which is equivalent to one mentioned above.

There is a Windows build, but I don't want to spread stale versions, so PM me if you want to try.
814  Bitcoin / Development & Technical Discussion / Re: mutltisig for txns that are not currently valid, but may become valid? on: October 27, 2012, 05:15:14 PM
Blocks overrule the memorypool.

That's the whole point of using proof-of-work, right?

A miner who wants to maximize fees paid in block he mines would include fee-paying transaction into a block even if it conflicts with non-final memory pool transaction.

Miner can always pretend that he haven't seen that non-final transaction, you can't know for sure that he violated thus rule intentionally.

So this rule appears pointless, it is neither strictly enforced nor economically motivated.

815  Bitcoin / Development & Technical Discussion / Re: Atomic coin swapping on: October 26, 2012, 02:25:47 PM
I think this requires specialized software, doing it manually would be slow and painful.
816  Bitcoin / Project Development / Re: stock exchange based on colored coins on: October 26, 2012, 02:23:44 PM
I have plenty of ideas, but writing them down takes considerable time, and I also need to work on Armory client.

I'll try to write more about it soon. This weekend, maybe.
817  Bitcoin / Project Development / Re: Decentralized order execution of colored coin securities on: October 25, 2012, 12:51:05 PM
Okay, I'm with you now. This system is still inefficient because there is a middleman extracting reputational rents, but it will be a big improvement.
I don't think the middleman can be easily removed unless bitcoin is altered to accomodate this.

Middleman is not required, he can be used to speed up trading. We don't know yet whether speed will be a problem for typical user.

Quote
The system looks much like GLBSE except that they don't hold any user funds or assets.

The "GLBSE" website lists assets and the bid-ask data for each asset.

Yes, this is probably the easiest way to implement it, but it is not the only way.
818  Bitcoin / Development & Technical Discussion / Re: mutltisig for txns that are not currently valid, but may become valid? on: October 25, 2012, 12:33:38 PM
I'm not sure whether "transaction update" mechanism can help us in this case, it looks like things which can be updated won't allow one to re-target funds. But maybe I'm missing something...

Anyway, this problem can be solved with a help of a not-very-trusted third party: instead of sending his signature to B, A will send it to a third party C. B will do the same.

C will broadcast complete transaction only when he has both signatures and renegotiation time has expired.

C only needs to be trusted to not favor one of parties.
819  Bitcoin / Project Development / Re: Decentralized order execution of colored coin securities on: October 25, 2012, 10:46:48 AM
If you are not a frequent trader, you will be better of paying a broker to execute your trade rather than doing it yourself.

No reputation is ever required for a party which agrees to sign first because there is no way he can hurt anyone.

On the other hand, the only risk for such party is that trade won't be finalized, which simply means longer execution time.

If you simply buy something to own it doesn't matter much how much you wait, so it would be perfectly fine to fire an order and wait until somebody actually finalizes trade.

Execution time really matters only to daytraders/HFT bots, and they can use reputation system among themselves.

Quote
You have to trust the broker.

Not really, broker won't ever touch your coins, he can only help to speed up the trade by either finding a match or providing his reputation, for a fee.

You will only sign something only when you see that you're getting something in return. So it is fundamentally secure. But how exactly trade is facilitated doesn't matter much.
820  Bitcoin / Project Development / Re: Decentralized BTC Stock Market [Goodbye GLBSE] on: October 24, 2012, 06:13:30 PM
Why do you want to put the orders in the chain if the chain protocol is not going to enforce it?
Are you talking about a fork too?

As far as I understand, he wants to use Bitcoin blockchain as a medium of transmission for signed, timestamped messages. On Bitcoin protocol level only signatures are checked, but not message contents.

These messages are interpreted with a special client software which will then maintain current state: i.e. who owns what.

I see a number of problems with this approach:

  • To compute current state you need full Bitcoin blockchain. It isn't compatible with pruning. Thin clients are not possible.
  • It makes rather inefficient of Bitcoin blockchain. It is, of course, possible to do implement signed, timestamped messaging with much lower overhead.
  • Since protocol has to deal with concurrency, it will likely end up being rather complex, but still prone to all kinds of race conditions and stuff.

So, frankly, I don't see it as anything more than a curious mis-use of blockchain.

It is interesting to compare it with colored coins, though. Colored coin protocol is more integrated with Bitcoin protocol: colored coin transactions are Bitcoin transaction, and they have to follow Bitcoin conservation rules, but they impose additional rules (conservation of colors).

Thin colored coin client requires more information than thin Bitcoin client: besides basic information about transaction it also needs information to check correctness of coloring. But still, it doesn't need to download full blockchain: only path which goes from genesis to current transaction is required.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 [41] 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!