Bitcoin Forum
November 05, 2024, 03:59:36 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
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 »
  Print  
Author Topic: ChromaWallet (colored coins): issue and trade private currencies/stocks/bonds/..  (Read 97085 times)
killerstorm (OP)
Legendary
*
Offline Offline

Activity: 1022
Merit: 1033



View Profile
December 10, 2013, 12:51:06 AM
 #321

Win32 build: http://killerstorm.xen.prgmr.com/alex/ngccc-0.0.1-win32.zip

Experimental. p2ptrade seems to work now, but it isn't secure. (It doesn't check that we're paid before it signs the transaction.)

Instructions are same as for Linux version: ngccc-cli setval testnet true to configure it to use testnet, and then you can use ngccc-gui.

We'll make a better release a bit later...

Chromia: a better dapp platform
NuclearReactor
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
December 10, 2013, 03:37:54 AM
Last edit: December 10, 2013, 04:21:19 AM by NuclearReactor
 #322

Win32 build: http://killerstorm.xen.prgmr.com/alex/ngccc-0.0.1-win32.zip

Experimental. p2ptrade seems to work now, but it isn't secure. (It doesn't check that we're paid before it signs the transaction.)

Instructions are same as for Linux version: ngccc-cli setval testnet true to configure it to use testnet, and then you can use ngccc-gui.

We'll make a better release a bit later...

Got it up and running. Here is a screenshot. Haven't had time to mess around with it yet.

https://i.imgur.com/s3sxbqc.jpg


Here is a screenshot of four clients running and trading between themselves.

https://i.imgur.com/MpQGVdf.jpg


Here is a p2p trade screenshot.

https://i.imgur.com/wwjSK76.jpg
dillpicklechips
Hero Member
*****
Offline Offline

Activity: 994
Merit: 507


View Profile
December 10, 2013, 06:13:41 AM
 #323

Win32 build: http://killerstorm.xen.prgmr.com/alex/ngccc-0.0.1-win32.zip

Experimental. p2ptrade seems to work now, but it isn't secure. (It doesn't check that we're paid before it signs the transaction.)

Instructions are same as for Linux version: ngccc-cli setval testnet true to configure it to use testnet, and then you can use ngccc-gui.

We'll make a better release a bit later...

Got it up and running. Here is a screenshot. Haven't had time to mess around with it yet.

https://i.imgur.com/s3sxbqc.jpg


Here is a screenshot of four clients running and trading between themselves.

https://i.imgur.com/MpQGVdf.jpg


Here is a p2p trade screenshot.

https://i.imgur.com/wwjSK76.jpg
Looks good! Keep up the good work killerstorm and team!
pplwjd
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
December 10, 2013, 11:37:03 AM
 #324

What is the dependency  for the windows  version.Should I install bitcoind and sip,pyqt4 etc.Anybody can give me a guide,thank you.
killerstorm (OP)
Legendary
*
Offline Offline

Activity: 1022
Merit: 1033



View Profile
December 10, 2013, 11:59:14 AM
 #325

What is the dependency  for the windows  version.Should I install bitcoind and sip,pyqt4 etc.Anybody can give me a guide,thank you.

You need to have bitcoind or bitcoin-qt with enabled RPC running on the local computer. http://bitcoin.org/en/download

You need to create bitcoin.conf with rpcuser/rpcpassword (it should be put into %APPDATA%\Bitcoin), then run

Code:
bitcoin-qt -testnet -txindex -server

There are no other dependencies, it is all in one package. Run
Code:
ngccc-cli setval testnet true
to set it to testnet mode, then you can just run ngccc-gui.

However, I should note that sharing "asset definition" isn't very convenient now, maybe it's better to wait till we make a better version later this week.




Chromia: a better dapp platform
NuclearReactor
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
December 10, 2013, 12:02:26 PM
 #326

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.

killerstorm (OP)
Legendary
*
Offline Offline

Activity: 1022
Merit: 1033



View Profile
December 10, 2013, 12:04:03 PM
 #327

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.

Chromia: a better dapp platform
pplwjd
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
December 11, 2013, 07:29:50 AM
 #328

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: <urlopen error [Errno 10060] >

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'


killerstorm (OP)
Legendary
*
Offline Offline

Activity: 1022
Merit: 1033



View Profile
December 11, 2013, 08:39:35 AM
 #329

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?

Chromia: a better dapp platform
pplwjd
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
December 12, 2013, 05:10:15 AM
Last edit: December 12, 2013, 02:20:53 PM by pplwjd
 #330

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.
killerstorm (OP)
Legendary
*
Offline Offline

Activity: 1022
Merit: 1033



View Profile
December 12, 2013, 03:27:54 PM
 #331

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.

Chromia: a better dapp platform
pplwjd
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
December 13, 2013, 12:54:46 AM
Last edit: December 13, 2013, 01:21:00 AM by pplwjd
 #332

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.
killerstorm (OP)
Legendary
*
Offline Offline

Activity: 1022
Merit: 1033



View Profile
December 13, 2013, 01:14:04 AM
 #333

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.

Chromia: a better dapp platform
babybonobo
Sr. Member
****
Offline Offline

Activity: 278
Merit: 250


#hardworkpaysoff


View Profile
December 14, 2013, 07:56:02 AM
 #334

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 <module>
  File "ngccc-cli.py", line 375, in <module>
  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
killerstorm (OP)
Legendary
*
Offline Offline

Activity: 1022
Merit: 1033



View Profile
December 14, 2013, 05:15:21 PM
 #335

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.

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

Activity: 1022
Merit: 1033



View Profile
December 17, 2013, 06:59:26 PM
Last edit: December 17, 2013, 07:31:28 PM by killerstorm
 #336

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.

Chromia: a better dapp platform
NuclearReactor
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
December 20, 2013, 01:37:00 AM
Last edit: December 20, 2013, 02:38:21 AM by NuclearReactor
 #337

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.

https://i.imgur.com/xkOOp9t.png
killerstorm (OP)
Legendary
*
Offline Offline

Activity: 1022
Merit: 1033



View Profile
December 21, 2013, 02:50:20 PM
 #338

NGCCC is renamed to ChromaWallet, new web site: http://chromawallet.com/

(It is not a new release of software.)

Chromia: a better dapp platform
NuclearReactor
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
December 21, 2013, 03:12:13 PM
 #339

The new windows version seems to be working fine from my limited testing.

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

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

https://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.
babybonobo
Sr. Member
****
Offline Offline

Activity: 278
Merit: 250


#hardworkpaysoff


View Profile
December 22, 2013, 10:02:00 AM
 #340

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!
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 »
  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!