Pages:
Author

Topic: ChromaWallet (colored coins): issue and trade private currencies/stocks/bonds/.. - page 11. (Read 97096 times)

legendary
Activity: 910
Merit: 1000
Quality Printing Services by Federal Reserve Bank
How do you "import" and reissue a security that was previously issued in one of those closed exchanges like btct.co etc?
hero member
Activity: 750
Merit: 500
www.coinschedule.com
So, when are we going to have a lightweight version of the wallet? If it requires Bitcoin-qt it will be a big challenge to get users to use it.
newbie
Activity: 53
Merit: 0
I'm still trying to find out the optimum coloring scheme for my Gold Backed Bitcoin project. Currently ChromaWallet supports only order-based coloring scheme. Will you also add support for tagging-based or per-satoshi coloring?
legendary
Activity: 1022
Merit: 1033
So far, using colored coins seems to be my best bet, but I'm wondering if certain things are possible:

It's worth noting that colored coins concept is fairly general, it can be customized for a specific application.

It's not just "what chromawallet can do". ChromaWallet is just one of applications.

1.  Can an issuer color coins that don't belong to him?

Yes. Color exists only as a client-side configuration, so you can just add a new definition.

(This isn't true for all implementations of colored coins, say, BitcoinX specification requires a particular format of a genesis transaction. But chromawallet/chromatoken implementation is very flexible.)

It would be very inconvenient for the other person to have to return the coal to me in order for me to light it on fire.

Well, that can be implemented as a special kind of transaction, similar to how p2ptrade works. But you gotta pay a fee for that. If you're talking about cheap-ass assets, it's better to avoid fees...

2.  How long can a moniker be,

Monikers exist only on client simply for convenience. They can be arbitrarily long, but you probably want a custom asset definition format, there is no need to stuff all the information into the moniker.

and do I need to worry about spamming the blockchain if I make 10,000 different colors?

Each particular colored coin is a separate transaction output. 10000 doesn't sound like a large number...

and it might potentially mean a separate color for each and every of the 10,000 different pieces of coal in my application.

People usually call this approach (separate color for each individual thing) it 'smart property' or 'transferable virtual property'. See here: https://en.bitcoin.it/wiki/Contracts

3.  Is it possible for me to determine the order that colors were added to a satoshi?

Depends on how you introduce these colors...

Additionally, bitcoin's transaction fee is currently way too expensive for my application.  I can't justify selling pieces of coal that only have uses inside my application at 0.0001 btc each when the transaction fee is another 0.0001 btc.  This would be easily fixed by my using a cryptocurrency with a cheaper fee.  Are there any plans to develop a version of ChromaWallet that can work with other cryptocurrencies?

Yes, but you should consider other options, like something not based on blockchains... OpenTransactions, maybe?

You'll have to run your own server,  but transactions can be free, I think. I have no idea how hard is it to customize it, though.
newbie
Activity: 24
Merit: 0
Hi killerstorm and the rest of the colored coin team:

I have a particular application in mind for assets backed by cryptocurrencies.  So far, using colored coins seems to be my best bet, but I'm wondering if certain things are possible:

1.  Can an issuer color coins that don't belong to him?  For instance, I sell 1 satoshi colored as a "Lump of Coal"  Now, later, the person who owns the lump of coal contacts me and we decide that the lump of coal should be on fire.  I'd like to be able to add the color "Burning Coal" to the satoshi even though I don't own it (or perhaps the owner could color it.  but it needs my signature on it).  It would be very inconvenient for the other person to have to return the coal to me in order for me to light it on fire.

2.  How long can a moniker be, and do I need to worry about spamming the blockchain if I make 10,000 different colors?  For instance, it might be useful to me if I could write a lot of details about this particular piece of coal on it, but that might be a 300 character long moniker, and it might potentially mean a separate color for each and every of the 10,000 different pieces of coal in my application.  (Of course, this destroys fungibility, so it would make setting up an exchange very difficult.  But in principle, I might still want to do something like this)

3.  Is it possible for me to determine the order that colors were added to a satoshi?  For instance, if we later add the color "Burnt Coal" to the example satoshi, it now has 3 different colors "Lump of Coal", "Burning Coal", "Burnt Coal".  I need to know that "Burnt Coal" is a newer color than the other 2.

Additionally, bitcoin's transaction fee is currently way too expensive for my application.  I can't justify selling pieces of coal that only have uses inside my application at 0.0001 btc each when the transaction fee is another 0.0001 btc.  This would be easily fixed by my using a cryptocurrency with a cheaper fee.  Are there any plans to develop a version of ChromaWallet that can work with other cryptocurrencies?

Thanks for your time
sr. member
Activity: 278
Merit: 250
#hardworkpaysoff
Super cool...worked great with no problems!  Got two wallets up, issued assets and created bids and asks!  I am so happy and excited for this program!  Keep up the great work and let us know if there are certain areas you need testing!
newbie
Activity: 19
Merit: 0
The new windows version seems to be working fine from my limited testing.

http://i.imgur.com/o9YdrOQ.jpg

And look at these slick new icons in the linux version!

http://i.imgur.com/NPUyXRr.jpg

Just leave it up to me to complain about trivial things like icons, haha.

Working on updating those docs a bit.
legendary
Activity: 1022
Merit: 1033
NGCCC is renamed to ChromaWallet, new web site: http://chromawallet.com/

(It is not a new release of software.)
newbie
Activity: 19
Merit: 0
New build is available: http://www.reddit.com/r/coloredcoin/comments/1t3uyy/colored_coins_ngccc_preview_build_v002/

It now goes to testnet mode at start (when wallet.db is created), running ngccc-cli setval testnet true is no longer needed.

I have the linux version installed and running.

http://imgur.com/0xB5RmO

I will install the windows version in a bit, and then test both of them out for a bit.

EDIT: Here is a picture of four clients running in linux.

http://i.imgur.com/xkOOp9t.png
legendary
Activity: 1022
Merit: 1033
New build is available: http://www.reddit.com/r/coloredcoin/comments/1t3uyy/colored_coins_ngccc_preview_build_v002/

It now goes to testnet mode at start (when wallet.db is created), running ngccc-cli setval testnet true is no longer needed.
legendary
Activity: 1022
Merit: 1033
When I try to run "ngccc-cli setval testnet true" (after creating bitcoin.conf and opening bitcoin-qt on testnet) I get these errors in the console:
Exception: Unable to connect to electrum.cafebitcoin.com:50001

I think I know why this happens... Well, next release will fix this and other problems.
sr. member
Activity: 278
Merit: 250
#hardworkpaysoff
When I try to run "ngccc-cli setval testnet true" (after creating bitcoin.conf and opening bitcoin-qt on testnet) I get these errors in the console:

Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27
, in
  File "ngccc-cli.py", line 375, in
  File "ngccc-cli.py", line 205, in start
  File "ngccc-cli.py", line 218, in command_setval
  File "ngccc-cli.py", line 149, in __getattribute__
  File "C:\projects\ngcccbase\pwallet.py", line 39, in init_model
  File "C:\projects\ngcccbase\wallet_model.py", line 611, in __init__
  File "C:\projects\ngcccbase\wallet_model.py", line 559, in __init__
  File "C:\projects\ngcccbase\ngcccbase\services\electrum.py", line 175, in __in
it__
  File "C:\projects\ngcccbase\ngcccbase\services\electrum.py", line 40, in __ini
t__
  File "C:\projects\ngcccbase\ngcccbase\services\electrum.py", line 53, in conne
ct
Exception: Unable to connect to electrum.cafebitcoin.com:50001
legendary
Activity: 1022
Merit: 1033
You mean NGCCC will support Matchmaking Tradeoff eventually ?

Sorry, I'm not familiar with this concept, but I can say that this part is very flexible, so we can implement pretty much any matching strategy if there is a need for it.
newbie
Activity: 18
Merit: 0
Can I buy some assets from others who sell lower price than my offered  and higher amount than mine?
Eventually.

You mean NGCCC will support Matchmaking Tradeoff eventually ?

Another question,what does atom and unit mean when issuing a asset .

That dialog is rather confusing, we'll change it in new version.

Basically, "atoms" is number of satoshi in one unit. "units" means how many units you want to issue, i.e. quantity of units.

I can understand 'units', but  what 'the number of satoshi in one unit' is used for ? It is only used for calculating BTC for issuing asset and then define the colored BTC?

Thank you for your patience.
legendary
Activity: 1022
Merit: 1033
I'm not sure when does it happen.It doesn't always occur,I think it has nothing to do with my operation.

Nevermind, we already fixed it in code (it isn't yet in the build).

I have tried the P2P trade,I found I can only make deal with somebody  who offered the same amount and the same price.

Yes. Basically, we didn't bother with partial fills yet.

Can I buy some assets from others who sell lower price than my offered  and higher amount than mine?

Eventually.

Another question,what does atom and unit mean when issuing a asset .

That dialog is rather confusing, we'll change it in new version.

Basically, "atoms" is number of satoshi in one unit. "units" means how many units you want to issue, i.e. quantity of units.

Where does the colored btc go and colored BTCs can be uncolored and used again?

NGCCC just tracks which addresses are colored and which aren't. If you no longer need colored coins it could just sent them to uncolored address, but it isn't implemented yet.
newbie
Activity: 18
Merit: 0
And I received the followiing message,I don't know if it has any help.

Hmm, haven't seen this one yet: when does it happen?

I'm not sure when does it happen.It doesn't always occur,I think it has nothing to do with my operation.

I have tried the P2P trade,I found I can only make deal with somebody  who offered the same amount and the same price. Can I buy some assets from others who sell lower price than my offered  and higher amount than mine?
Another question,what does atom and unit mean when issuing a asset . Where does the colored btc go and colored BTCs can be uncolored and used again?

In addition,I sent PM to you,pls check it. Thanks.
legendary
Activity: 1022
Merit: 1033
It's very nice of you guys,Killerstorm and NuclearReactor.Thank you for your helps and I have built my windows version and I can see the NGCCC test client GUI. I am so excited.
I had some test bitcoins and I tried issuing some new assets but I don't know how can I get the new assets balance?

It's a known bug, you need to restart the client to see it.

And I received the followiing message,I don't know if it has any help.

Hmm, haven't seen this one yet: when does it happen?
newbie
Activity: 18
Merit: 0
It's very nice of you guys,Killerstorm and NuclearReactor.Thank you for your helps and I have built my windows version and I can see the NGCCC test client GUI. I am so excited.
I had some test bitcoins and I tried issuing some new assets but I don't know how can I get the new assets balance? And I received the followiing message,I don't know if it has any help.

D:\ngccc-0.0.1-win32>ngccc-gui
Exception in thread Thread-1:
Traceback (most recent call last):
  File "C:\Python27\lib\threading.py", line 810, in __bootstrap_inner
  File "C:\projects\ngcccbase\ngcccbase\p2ptrade\comm.py", line 111, in run
  File "C:\projects\ngcccbase\ngcccbase\p2ptrade\comm.py", line 56, in poll_and
dispatch
  File "C:\Python27\lib\urllib2.py", line 127, in urlopen
  File "C:\Python27\lib\urllib2.py", line 404, in open
  File "C:\Python27\lib\urllib2.py", line 422, in _open
  File "C:\Python27\lib\urllib2.py", line 382, in _call_chain
  File "C:\Python27\lib\urllib2.py", line 1214, in http_open
  File "C:\Python27\lib\urllib2.py", line 1184, in do_open
URLError:

Traceback (most recent call last):
  File "C:\projects\ngcccbase\ui\sendcoinspage.py", line 147, in btnSendClicked
  File "C:\projects\ngcccbase\ui\wallet.py", line 94, in send_coins
  File "C:\projects\ngcccbase\wallet_controller.py", line 66, in send_coins
TypeError: 'AssetDefinition' object is not iterable
Traceback (most recent call last):
  File "C:\projects\ngcccbase\ui\sendcoinspage.py", line 147, in btnSendClicked
  File "C:\projects\ngcccbase\ui\wallet.py", line 94, in send_coins
  File "C:\projects\ngcccbase\wallet_controller.py", line 66, in send_coins
TypeError: 'AssetDefinition' object is not iterable
Traceback (most recent call last):
  File "C:\projects\ngcccbase\ui\sendcoinspage.py", line 147, in btnSendClicked
  File "C:\projects\ngcccbase\ui\wallet.py", line 94, in send_coins
  File "C:\projects\ngcccbase\wallet_controller.py", line 66, in send_coins
TypeError: 'AssetDefinition' object is not iterable
0100000001a1ee9d8598639e08e0afd82d6f19ef3f45300120096046f023502810690ad47700000
008b48304502210083cf7a6e45ac75dec7fd9b7aa2aeacb092ef18910a71568b3ab5de586a06135
02205966ca904767ad883694b8449ac1c3897e0eb6fc005c75561fabc07c84400f5401410453088
981983c6704ecc821fc174b08eaf821b052c8d68620b9216183b48849afd375778acdd5cc1d6f6e
dfdf494e50860714973ddefb597f4dc697f59e38ddffffffff0280969800000000001976a914d38
438fd398840f56653527b9a51f1b513b80c588acb0f69e0a000000001976a914afd2248ba711495
6ea776b8ca1272932368d68888ac00000000
u'testcoin'


legendary
Activity: 1022
Merit: 1033
Oh crap, wallet.db which I used for testing got into zip file. So, basically, we all share same wallet. Smiley Please delete wallet.db file before starting, it will generate a new one.
newbie
Activity: 19
Merit: 0
What is the dependency  for the windows  version.Should I install bitcoind and sip,pyqt4 etc.Anybody can give me a guide,thank you.

I have the Windows version of Bitcoin-QT installed, which includes Bitcoind in there somewhere, I think. You'll need that and the files killerstorm posted.

Install Bitcoin-QT and then make a file entitled bitcoin.conf in C:\Users\YOURUSERNAME\AppData\Roaming\Bitcoin that contains

server=1
rpcuser=rpcuser
rpcpassword=make your own password

Change the bolded items to your PC username and a password of your choosing.

Then navigate to the Bitcoin-QT folder via commmand line, or shift right click>open command window here in the Bitcoin-QT folder, and then run Bitcoin-QT with the following flags

bitcoin-qt -testnet -txindex -reindex

This should launch the Bitcoin GUI in the green colored testnet mode. Wait until it finishes the reindex.

Then, via command line, navigate to the NGCCC directory that you downloaded and use the following command to configure ngccc to use the testnet

ngccc-cli setval testnet true

Now, you should be able to launch the ngccc GUI by typing

ngccc-gui

I'll be writing up a better guide later this evening, so if this doesn't work for you, stay tuned.

Pages:
Jump to: