Author

Topic: [ANN][XCP] Counterparty - Pioneering Peer-to-Peer Finance - Official Thread - page 614. (Read 1276933 times)

legendary
Activity: 1441
Merit: 1000
Live and enjoy experiments
Been searching this thread with no luck, has anyone used XCP to create a user currency/asset yet?  I am very interested to know ...

There are plenty, and it's absolutely trivial to do: http://blockscan.com/asset.aspx

You can grab some TEST on the market if you like, or try to issue your own.
great, interesting. thanks.
sr. member
Activity: 364
Merit: 264
Been searching this thread with no luck, has anyone used XCP to create a user currency/asset yet?  I am very interested to know ...

There are plenty, and it's absolutely trivial to do: http://blockscan.com/asset.aspx

You can grab some TEST on the market if you like, or try to issue your own.
legendary
Activity: 1441
Merit: 1000
Live and enjoy experiments
Been searching this thread with no luck, has anyone used XCP to create a user currency/asset yet?  I am very interested to know ...
sr. member
Activity: 390
Merit: 254
Counterparty Developer
Just built it from source

Code:

..counterpartyd_build>git pull origin master
From https://github.com/xnova/counterpartyd_build
 * branch            master     -> FETCH_HEAD
Already up-to-date.

...counterpartyd_build\dist\counterpartyd>git pull origin master
From https://github.com/PhantomPhreak/counterpartyd
 * branch            master     -> FETCH_HEAD
Already up-to-date.


Then I run C:\Python33\python.exe run.py and got following:

Code:
Traceback (most recent call last):
  File "C:\Python33\Lib\logging\__init__.py", line 939, in emit
    stream.write(msg)
  File "c:\cp\counterpartyd_build\env\lib\encodings\cp1251.py", line 19, in enco
de
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 20-29: c
haracter maps to
Logged from file blocks.py, line 419
Block: 278599
Traceback (most recent call last):
  File "C:\Python33\Lib\logging\__init__.py", line 939, in emit
    stream.write(msg)
  File "c:\cp\counterpartyd_build\env\lib\encodings\cp1251.py", line 19, in enco
de
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 20-29: c
haracter maps to
Logged from file burn.py, line 89
Burn: 1N4jWUiugoE6qXLLP7etgtEMwEA6g4i3b5 burned 0.0001 BTC for 0.14737273 XCP (3
c2c4ba0...95a04c91)
Traceback (most recent call last):
  File "C:\Python33\Lib\logging\__init__.py", line 939, in emit
    stream.write(msg)
  File "c:\cp\counterpartyd_build\env\lib\encodings\cp1251.py", line 19, in enco
de
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 20-29: c
haracter maps to
Logged from file burn.py, line 89
Burn: 17yhuQ8PQNYMLdz5netvrwfYNXkJaHHUpX burned 0.0001 BTC for 0.14737273 XCP (9
0f7e497...8cf0d36c)
Traceback (most recent call last):
  File "C:\Python33\Lib\logging\__init__.py", line 939, in emit
    stream.write(msg)
  File "c:\cp\counterpartyd_build\env\lib\encodings\cp1251.py", line 19, in enco
de
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 20-29: c
haracter maps to
Logged from file blocks.py, line 419
Block: 278600

Again it stops at 278something and againI cant even open my wallet passphrase or do something with counerpartyd.
Now It looks like my russian cyrylic simbols coming from Russian Windows 8 cant be recognized. Just my thoughts.
  

Yes, can you post this in the main XCP thread? That way, any one of the devs can help out (sometimes I get behind in answering PMs).

Also, try running the DOS command "chcp 65001" before running the counterparty command and let us know if that fixes this issue.

Using code 65001 doesnt help me. I givup. Devs, need help!
   


Try this:

Launch the command window, then type "PowerShell" to launch powershell (if it can't find the command, see http://technet.microsoft.com/en-us/library/hh847837.aspx) ... then try to launch counterpartyd. Let us know if that works (the problem is that cmd.exe has broken unicode support...PowerShell may be better).
sr. member
Activity: 476
Merit: 300
Counterparty Chief Scientist and Co-Founder
Sorry guys, looks I broke something again ....  Cry

Apparently 100,000,000,000 is too big of a number for coins.

"I was just trying to recreate DOGE .... *slinks away*"

(Wow, how many bugfixes did I cause in github today? lol)
Still .. better that these things happen now than in the future, where things will seriously break.

Note: I would suggest a max cap, because no matter what datatype you use, someone could simply issue 999999999999999999999999999.... coins as an attack.

I haven't tested non-alphanumeric characters in the asset name yet -- is there support for that or will I crash something again?

Absolutely. Keep 'em comin'.

I fixed the code so that it will run, but this same problem may exist elsewhere, so hold off on re-creating the problem for another twenty-four hours, maybe.

Update: I'm still working on this.
hero member
Activity: 756
Merit: 502
Are there any plans to implement a voting system, in order to allow the community to express their opinion on protocol or client changes?

AFAIK DAC's should allow this.
sr. member
Activity: 476
Merit: 300
Counterparty Chief Scientist and Co-Founder
There seems to be something wrong with paying dividends. I tried to send dividends to holders of asset MAXM and 1 XCP actually left my address – but none of the "MAXM" holding addresses received any XCP.

Note that MAXM is non-divisible and jimhsu said here that there could be a bug with non-divisible assets.

Could any of the devs comment on this?

Which transaction was the dividend payment? That bug should have been fixed...
legendary
Activity: 1666
Merit: 1010
he who has the gold makes the rules
woah almost 1000 BTC in burns

-----

my  guesstimate is that the market valuation of this kind of offering is somewhere in the 20M to 40M range so long as the developers stick around, however growth is dependent on being able to attract more developers, also also being able to attract folks putting out smart contracts, then the next stage is periphery financial, insurance and gaming services creation, adoption and support.

keep in mind all that the market for smart contracts or smart properties as some call them is still relatively small and relegated to mining bonds and bitcoin oriented business entities that can cover their tracks. most of this stuff, but not all, is gray area in most of the world's legal systems.  now that counterparty, mastercoin, and the others are out of the gate the next step is more distributed applications that can leverage these systems for payments, auctions of their special ability, investments, dividends, etc.

the only downside for counterparty, unless i got it wrong, is that part of each tx gets buried in that address, so there isn't a virtuous, sustainable cycle in place for funding development, but that is okay because one may create all sorts of financial services businesses hooking into this design.  and there are enough bitcoins to go around for a long while.

seems like having a central exodus address is emerging as the dominant design of these smart contracts systems on bitcoin.  I would imagine by the end of the year there will be several of these operating, which has its own implications for the network.

regarding NXT, BTS and ETR, the issues they face include that Bitcoin is becoming the dominant design for internet money at this point with many magnitudes of entry/exit nodes, so even if they may be technically better, it comes down to the old betamax vs vhs debate.   part of an industrial maturation process is the larger body being able to absorb new entrants which creates an ecosystem and reinforces the strength of the dominant design.  NXT, BTS, and ETR show that the Bitcoin model has not reached dominant design status yet.

however the work done on coloredcoins, mastercoin and counterparty, and I am certain the many clones that will come out of this, importantly is not in the core of Bitcoin but is extending its capabilities and retaining technical capacity and competencies.
 

-----
newbie
Activity: 19
Merit: 0
I'm pretty new to this. I was wandering how I could obtain some XCP? cheers
hero member
Activity: 756
Merit: 502
If someone is willing to write step by step instructions for this, I'd be happy to add it to the documentation as an alternative to using bitcoind.

+1, I want to try and build a service for XCP, and doing it with block.io will be really helpful.
member
Activity: 79
Merit: 10
Just built it from source

Code:

..counterpartyd_build>git pull origin master
From https://github.com/xnova/counterpartyd_build
 * branch            master     -> FETCH_HEAD
Already up-to-date.

...counterpartyd_build\dist\counterpartyd>git pull origin master
From https://github.com/PhantomPhreak/counterpartyd
 * branch            master     -> FETCH_HEAD
Already up-to-date.


Then I run C:\Python33\python.exe run.py and got following:

Code:
Traceback (most recent call last):
  File "C:\Python33\Lib\logging\__init__.py", line 939, in emit
    stream.write(msg)
  File "c:\cp\counterpartyd_build\env\lib\encodings\cp1251.py", line 19, in enco
de
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 20-29: c
haracter maps to
Logged from file blocks.py, line 419
Block: 278599
Traceback (most recent call last):
  File "C:\Python33\Lib\logging\__init__.py", line 939, in emit
    stream.write(msg)
  File "c:\cp\counterpartyd_build\env\lib\encodings\cp1251.py", line 19, in enco
de
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 20-29: c
haracter maps to
Logged from file burn.py, line 89
Burn: 1N4jWUiugoE6qXLLP7etgtEMwEA6g4i3b5 burned 0.0001 BTC for 0.14737273 XCP (3
c2c4ba0...95a04c91)
Traceback (most recent call last):
  File "C:\Python33\Lib\logging\__init__.py", line 939, in emit
    stream.write(msg)
  File "c:\cp\counterpartyd_build\env\lib\encodings\cp1251.py", line 19, in enco
de
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 20-29: c
haracter maps to
Logged from file burn.py, line 89
Burn: 17yhuQ8PQNYMLdz5netvrwfYNXkJaHHUpX burned 0.0001 BTC for 0.14737273 XCP (9
0f7e497...8cf0d36c)
Traceback (most recent call last):
  File "C:\Python33\Lib\logging\__init__.py", line 939, in emit
    stream.write(msg)
  File "c:\cp\counterpartyd_build\env\lib\encodings\cp1251.py", line 19, in enco
de
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 20-29: c
haracter maps to
Logged from file blocks.py, line 419
Block: 278600

Again it stops at 278something and againI cant even open my wallet passphrase or do something with counerpartyd.
Now It looks like my russian cyrylic simbols coming from Russian Windows 8 cant be recognized. Just my thoughts.
  

Yes, can you post this in the main XCP thread? That way, any one of the devs can help out (sometimes I get behind in answering PMs).

Also, try running the DOS command "chcp 65001" before running the counterparty command and let us know if that fixes this issue.

Using code 65001 doesnt help me. I givup. Devs, need help!
   
sr. member
Activity: 364
Merit: 264
There seems to be something wrong with paying dividends. I tried to send dividends to holders of asset MAXM and 1 XCP actually left my address – but none of the "MAXM" holding addresses received any XCP.

Note that MAXM is non-divisible and jimhsu said here that there could be a bug with non-divisible assets.

Could any of the devs comment on this?

Something got committed w.r.t. dividends. Can people test this?

https://github.com/PhantomPhreak/counterpartyd/commit/22b49594b8bad7dae859c3cbe67ddafac2232ab3
hero member
Activity: 700
Merit: 500
There seems to be something wrong with paying dividends. I tried to send dividends to holders of asset MAXM and 1 XCP actually left my address – but none of the "MAXM" holding addresses received any XCP.

Note that MAXM is non-divisible and jimhsu said here that there could be a bug with non-divisible assets.

Could any of the devs comment on this?
legendary
Activity: 876
Merit: 1000
Etherscan.io
If I burn BTC using blockchain.com, how can I send the XCP from the blockchain to another address?

You can only burn from using blockchain.info. To send you need to do this with your counterparty client

I'm confused, I thought the address that burned the coins would get the XCP, so if I burn through the blockchain, how can I transfers those coins?
Or would I need to import the private keys for the blockchain address into the counterparty client to send them?

Yes. You will need to import the keys to your local bitcoind/qt client running with counterpartyd.
legendary
Activity: 876
Merit: 1000
Etherscan.io
I am attempting to cancel an order. The command appears to go through with a confirmation transaction. But even after 1 confirmation I do not see the order as cancelled.

Instead it appears that the error data for the cancel transaction was  "Invalid: no valid offer with that hash from that address"

Has anyone got the "cancel" order function to work correctly? From what I can see there were 3 cancel attempts and none were successfull
newbie
Activity: 43
Merit: 0
If I burn BTC using blockchain.com, how can I send the XCP from the blockchain to another address?

You can only burn from using blockchain.info. To send you need to do this with your counterparty client

I'm confused, I thought the address that burned the coins would get the XCP, so if I burn through the blockchain, how can I transfers those coins?
Or would I need to import the private keys for the blockchain address into the counterparty client to send them?
legendary
Activity: 1050
Merit: 1000
Thanks.

I am on the installing part, and doing
cd c:\
git clone https://.....

gives 'git is not recognised as an internal or external command .....

So I went into program files/git/cmd and then tried git clone ....
and it did something with quite a few messages which ended in 'clone suceeded, checkout failed'.

Hi sumantso,

Make sure you have "Run Git from the Windows Command Prompt" selected when installing Git and try again.


Thanks - it worked.

In counterpartyd.conf do I put the rpc port different from BTC rpc port?

EDIT: I am getting 'could not connect to bitcoin-qt'. I am running bitcoin in testnet as a server.
legendary
Activity: 876
Merit: 1000
Etherscan.io
If I burn BTC using blockchain.com, how can I send the XCP from the blockchain to another address?

You can only burn from using blockchain.info. To send you need to do this with your counterparty client
newbie
Activity: 10
Merit: 0
Thanks.

I am on the installing part, and doing
cd c:\
git clone https://.....

gives 'git is not recognised as an internal or external command .....

So I went into program files/git/cmd and then tried git clone ....
and it did something with quite a few messages which ended in 'clone suceeded, checkout failed'.

Hi sumantso,

Make sure you have "Run Git from the Windows Command Prompt" selected when installing Git and try again.
Jump to: