<<  >> (p.11)
    Author Topic: [ANN][XCP] Counterparty - Pioneering Peer-to-Peer Finance - Official Thread  (Read 1277359 times)
    This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
    reader31
    Full Member
    ***
    Offline Offline

    Activity: 221
    Merit: 100


    View Profile
    January 04, 2014, 09:05:41 PM
    Last edit: January 04, 2014, 10:28:18 PM by reader31
     #201

    For the benefit of others trying to burn xcp, here what I did to get my xcp burnt, my os is ubuntu 13.10,

    (These steps worked for me, please feel free to correct/modify/update these instructions as needed)

    1)
    I downloaded and installed the latest bitcoin-qt client and updated the bitcoin.conf( ~/.bitcoin/bitcoin.conf) with this content,

    Quote
    rpcuser=rpc
    rpcpassword=rpcpw1234
    server=1
    daemon=1
    txindex=1

    and had the bitcon-qt client running.
     

    2)
    Next, to get counterpartyd installed, from my home directory I ran this command,

    Quote
    sudo apt-get -y update
    sudo apt-get -y install git-core python3.3 python3
    git clone https://github.com/xnova/counterpartyd_build ~/counterpartyd_build
    sudo python3 ~/counterpartyd_build/setup.py

    which completed without any errors.


    3)
    then I updated the counterpartyd.conf file (~/.config/counterpartyd/counterpartyd.conf) with this content,

    Quote
    [Default]
    rpc-connect=localhost
    rpc-port=8332
    rpc-user=rpc
    rpc-password=rpcpw1234


    4)
    At this point in a new terminal if I run,

    counterpartyd --log-file=- -v


    If everything from the above steps worked fine, you should see the following output,

    Quote
    2014-01-04-T12:54:47-0800 Starting new HTTP connection (1): localhost
    2014-01-04-T12:54:47-0800 "POST HTTP/1.1" 200 38
    2014-01-04-T12:54:48-0800 Starting new HTTP connection (1): localhost
    2014-01-04-T12:54:48-0800 "POST HTTP/1.1" 200 38
    2014-01-04-T12:54:49-0800 Starting new HTTP connection (1): localhost
    2014-01-04-T12:54:49-0800 "POST HTTP/1.1" 200 38
    2014-01-04-T12:54:50-0800 Starting new HTTP connection (1): localhost
    2014-01-04-T12:54:50-0800 "POST HTTP/1.1" 200 38
    2014-01-04-T12:54:51-0800 Starting new HTTP connection (1): localhost
    2014-01-04-T12:54:51-0800 "POST HTTP/1.1" 200 38


    5)
    At this point I was ready to burn. I created a new received address in the bitcoin-qt wallet, deposited 0.01 btc into that address.


    In a new terminal, I ran,

    Quote
    counterpartyd --rpc-password=rpcpw1234 burn --from=1CrmTo7Rtk6keeBHbN93B3tAMCm31sG5Tc --quantity=0.01

    it asked me for a confirmation(hit 'y').

    when the burn is sucessful I immediatley got a confirmation string like this,

    "8cc4f74ec9b84fc73c0e092c6243253946431448f675b6d2cfd4398438d3b8df"


    You should see your transactions show up on this page,

    https://blockchain.info/address/1CounterpartyXXXXXXXXXXXXXXXUWLpVr


    after you see your transaction confirmed atleast once, you can go back to your terminal and run,

    Quote
    counterpartyd --rpc-password=rpcpw1234 address 1CrmTo7Rtk6keeBHbN93B3tAMCm31sG5Tc

    you should see your balance displayed like this,

    Quote
    Balances
    +-------+-------------+
    | Asset |    Amount   |
    +-------+-------------+
    |  XCP  | 14.72636364 |
    +-------+-------------+


    Burns
    +-------------+----------+-----------------+-------------------+
    | Block Index |  Burned  |      Earned     |      Tx Hash      |
    +-------------+----------+-----------------+-------------------+
    |    278611   | 0.01 BTC | 14.72636364 XCP | 8cc4f74e…38d3b8df |
    +-------------+----------+-----------------+-------------------+


    Sends
    +--------+-------+--------+-------------+---------+
    | Amount | Asset | Source | Destination | Tx Hash |
    +--------+-------+--------+-------------+---------+
    +--------+-------+--------+-------------+---------+




    Hope this helps someone! Smiley




Page 10
Viewing Page: 11