Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: romanticon on January 23, 2014, 03:15:58 PM



Title: *** Official: masterchain.info testing thread
Post by: romanticon on January 23, 2014, 03:15:58 PM
Hey I am starting that thread for guys who want to help testing
Mastercoin using masterchain.info. Will be glad to cooperate with
any of you.

Roman


Title: Re: *** Official: masterchain.info testing thread
Post by: romanticon on January 23, 2014, 03:18:57 PM
*** BUG  ***

I have found that when I trying to send
one TMSC from: 17rExRiMaJGgHPVuYjHL21mEhfzbRPRkui
to: 1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn
I get everything approved and even a tx number for
blockchain.info but the transaction is not
recorder on blockchain.info here is the link:

https://blockchain.info/tx/6d3e64cf9fc759ce1811fd55050cb86efdfbec207186a7c116153188d17997ae (https://blockchain.info/tx/6d3e64cf9fc759ce1811fd55050cb86efdfbec207186a7c116153188d17997ae)


Title: Re: *** Official: masterchain.info testing thread
Post by: ninjaboon on January 23, 2014, 03:36:11 PM
*** BUG  ***

I have found that when I trying to send
one TMSC from: 17rExRiMaJGgHPVuYjHL21mEhfzbRPRkui
to: 1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn
I get everything approved and even a tx number for
blockchain.info but the transaction is not
recorder on blockchain.info here is the link:

https://blockchain.info/tx/6d3e64cf9fc759ce1811fd55050cb86efdfbec207186a7c116153188d17997ae (https://blockchain.info/tx/6d3e64cf9fc759ce1811fd55050cb86efdfbec207186a7c116153188d17997ae)

same thing happened to me yesterday but I lost the TX ID


Title: Re: *** Official: masterchain.info testing thread
Post by: grazcoin on January 23, 2014, 03:58:56 PM
I have found that when I trying to send
one TMSC from: 17rExRiMaJGgHPVuYjHL21mEhfzbRPRkui
to: 1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn
I get everything approved and even a tx number for
blockchain.info but the transaction is not
recorder on blockchain.info here is the link:

https://blockchain.info/tx/6d3e64cf9fc759ce1811fd55050cb86efdfbec207186a7c116153188d17997ae (https://blockchain.info/tx/6d3e64cf9fc759ce1811fd55050cb86efdfbec207186a7c116153188d17997ae)

The signing of the tx is done in the browser, so I don't have logs. You could attach the raw tx and the signed tx, and I could check them.
The sending is done currently using blockchain.info/pushtx so I don't have logs from that part either. This will be changed in future versions of masterchain.info.
The tx id that you see is simply a hash of the tx, and if it is either not a valid tx or didn't get to the bitcoin network, it will not be seen on blockchain.info

In order to reproduce the case, I would like to have ALL details you enter or available on the page, including the fee (except for the private key obviously). Anyway all these are public.
A screenshot could sometimes help (e.g. if you write .003 or 0,003 and not 0.003).

Also please let a developer tag an issue as a BUG or something else ;-)

I will try to reproduce this case.



Title: Re: *** Official: masterchain.info testing thread
Post by: romanticon on January 23, 2014, 04:09:53 PM
Strange... now I get an Error for trying to prepare that tx:

from: 17rExRiMaJGgHPVuYjHL21mEhfzbRPRkui
ammount: 1
fee: 0.0005
to: 1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn
currency: TMCS


Title: Re: *** Official: masterchain.info testing thread
Post by: romanticon on January 23, 2014, 04:30:12 PM
Code:
Object {from_address: "17rExRiMaJGgHPVuYjHL21mEhfzbRPRkui", to_address: "mhkH7j5Q1QNhKfDUqqUsmKyrWCKDCQmhMT", amount: "1", currency: "TMSC", fee: "0.0005"…}
amount: "1"
currency: "TMSC"
fee: "0.0005"
from_address: "17rExRiMaJGgHPVuYjHL21mEhfzbRPRkui"
marker: undefined
to_address: "mhkH7j5Q1QNhKfDUqqUsmKyrWCKDCQmhMT"
__proto__: Object
 sendform.js:258

POST https://masterchain.info/wallet/send/ 502 (Bad Gateway) jquery-1.10.1.min.js:6

XHR finished loading: "https://masterchain.info/wallet/send/". jquery-1.10.1.min.js:6
fail sendform.js:271


Title: Re: *** Official: masterchain.info testing thread
Post by: marcelus on January 23, 2014, 05:52:14 PM
subbed


Title: Re: *** Official: masterchain.info testing thread
Post by: fthoughts on January 23, 2014, 07:12:27 PM
Is /wallet/send /wallet/pushtx and wallet/* implemented somewhere? I'm unable to locate the server code that handles these POST requests. Thanks Graz

edit with reply from Grazcoin:

Quote
oh. server.py is *very* old code. It was the development server on the
first few days of development (last timestamp early October), and it is
deprecated. I will remove to avoid further mistakes.
I simply use nginx.

The web apps you can find on:
https://github.com/grazcoin/mastercoin-tools/tree/master/apps
currently there are 4 active apps:
/wallet/validateaddr which runs validateaddr.py
/wallet/send which runs send.py
/wallet/sell which runs sell.py
/wallet/accept which runs accept.py

The way to use those apps - check:

for validateaddr:
https://github.com/grazcoin/mastercoin-tools/blob/master/www/sendform.js#L105

for send:
https://github.com/grazcoin/mastercoin-tools/blob/master/www/sendform.js#L268


Graz I'm then wondering, is there no reason to run server.py? Which .py file handles GET requests then?


Title: Re: *** Official: masterchain.info testing thread
Post by: grazcoin on January 23, 2014, 08:32:34 PM
Is /wallet/send /wallet/pushtx and wallet/* implemented somewhere? I'm unable to locate the server code that handles these POST requests. Thanks Graz

edit with reply from Grazcoin:

Quote
oh. server.py is *very* old code. It was the development server on the
first few days of development (last timestamp early October), and it is
deprecated. I will remove to avoid further mistakes.
I simply use nginx.

The web apps you can find on:
https://github.com/grazcoin/mastercoin-tools/tree/master/apps
currently there are 4 active apps:
/wallet/validateaddr which runs validateaddr.py
/wallet/send which runs send.py
/wallet/sell which runs sell.py
/wallet/accept which runs accept.py

The way to use those apps - check:

for validateaddr:
https://github.com/grazcoin/mastercoin-tools/blob/master/www/sendform.js#L105

for send:
https://github.com/grazcoin/mastercoin-tools/blob/master/www/sendform.js#L268


Graz I'm then wondering, is there no reason to run server.py? Which .py file handles GET requests then?

I repeat: nginx server
http://wiki.nginx.org/Main
it is just a normal web server like apache, only better for high performance, especially for static files like in masterchain.info case, as I am already preparing for the slashdot effect :)
it handles GET requests normally

server.py is removed from the repository. It is not even good enough for local development setup.





Title: Re: *** Official: masterchain.info testing thread
Post by: cmlacy on January 23, 2014, 08:57:16 PM
@grazcoin, would you be willing to share your nginx.conf file with us?  That might answer a lot of our questions on how all this is tied together.


Title: Re: *** Official: masterchain.info testing thread
Post by: grazcoin on January 23, 2014, 11:10:37 PM
@grazcoin, would you be willing to share your nginx.conf file with us?  That might answer a lot of our questions on how all this is tied together.

I prefer not to give the the whole file just to keep attackers more challenged ;-)
In my current configuration I use mostly the defaults of nginx that come with the package. The integration with the apps could be done in many ways, and I chose uwsgi (you can choose any other method). Maybe it would be easier for you to start with apache which has more documentation for playing with python.

The important integration parts are:
Code:
        include uwsgi_params;
        uwsgi_param SCRIPT_NAME   $app;
        uwsgi_param UWSGI_MODULE   $app;
        uwsgi_param UWSGI_CALLABLE   "${app}_handler";

and:

Code:
        location /wallet/validateaddr/ {
            set   $app   validateaddr;
            uwsgi_pass   127.0.0.1:PORT;
        }
        location /wallet/send/ {
            set   $app   send;
            uwsgi_pass   127.0.0.1:PORT;
        }
        location /wallet/sell/ {
            set   $app   sell;
            uwsgi_pass   127.0.0.1:PORT;
        }
        location /wallet/accept/ {
            set   $app   accept;
            uwsgi_pass   127.0.0.1:PORT;



Title: Re: *** Official: masterchain.info testing thread
Post by: grazcoin on January 24, 2014, 12:13:21 AM
Strange... now I get an Error for trying to prepare that tx:

from: 17rExRiMaJGgHPVuYjHL21mEhfzbRPRkui
ammount: 1
fee: 0.0005
to: 1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn
currency: TMCS

If you try it now, the error is clear:
Not enough bitcoin funds on address



Title: Re: *** Official: masterchain.info testing thread
Post by: romanticon on January 24, 2014, 09:05:42 AM

If you try it now, the error is clear:
Not enough bitcoin funds on address


Now I see it, actually it leads to more painful problem,
check that:

https://www.biteasy.com/blockchain/transactions/cb04eab37e2ef5405952b5a3f8f78b84ab74d7a2ed92686c8ee2547a16553e07

Here I am trying to send BTC funds from : 17rExRiMaJGgHPVuYjHL21mEhfzbRPRkui
to: 1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn

both my accounts , but the change goes to some third account which I have no idea
who it belongs: 13DuBH2JzdAnMtQsb5SVhaeJhNCmjqhPUj, that's how I lost my funds on that account.

Any idea ?!


Title: Re: *** Official: masterchain.info testing thread
Post by: cmlacy on January 24, 2014, 08:35:13 PM

I prefer not to give the the whole file just to keep attackers more challenged ;-)


Nery reasonable.  What you posted got me going, though.  Thanks!


Title: Re: *** Official: masterchain.info testing thread
Post by: romanticon on January 26, 2014, 07:20:45 AM

Now I see it, actually it leads to more painful problem,
check that:

https://www.biteasy.com/blockchain/transactions/cb04eab37e2ef5405952b5a3f8f78b84ab74d7a2ed92686c8ee2547a16553e07

Here I am trying to send BTC funds from : 17rExRiMaJGgHPVuYjHL21mEhfzbRPRkui
to: 1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn

both my accounts , but the change goes to some third account which I have no idea
who it belongs: 13DuBH2JzdAnMtQsb5SVhaeJhNCmjqhPUj, that's how I lost my funds on that account.

Any idea ?!


I figured it out, I didn't know that qt wallet generates
a new wallet address each time I should get a change.


Title: Re: *** Official: masterchain.info testing thread
Post by: romanticon on January 26, 2014, 07:41:02 AM
(?) Bug - here is one I have to understand:

I enter a new address in the text field
and press search, there is no
notification on the web site ,
the JS gives that:


result:

Code:
1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn btc02.js:264
Object {title: "Masterchain data", tx: "1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn", addr: "sample_addr", currency: "MSC", page: "0000"…}
 redirect.js:4
["17rExRiMaJGgHPVuYjHL21mEhfzbRPRkui","13DuBH2JzdAnMtQsb5SVhaeJhNCmjqhPUj","1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn"] btc02.js:210
["17rExRiMaJGgHPVuYjHL21mEhfzbRPRkui", "13DuBH2JzdAnMtQsb5SVhaeJhNCmjqhPUj", "1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn"] btc02.js:216
0 btc02.js:222
1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn btc02.js:223
1 btc02.js:222
13DuBH2JzdAnMtQsb5SVhaeJhNCmjqhPUj btc02.js:223
2 btc02.js:222
17rExRiMaJGgHPVuYjHL21mEhfzbRPRkui btc02.js:223
CHanged padding of body btc02.js:188
XHR finished loading: "https://masterchain.info/values.json". angular.js:9312
GET https://masterchain.info/addr/1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn.json 404 (Not Found) angular.js:9312
XHR finished loading: "https://masterchain.info/addr/1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn.json". angular.js:9312
XHR finished loading: "https://masterchain.info/revision.json". angular.js:9312
GET https://masterchain.info/ico/%7B%7Btrans.icon%7D%7D24t.png 404 (Not Found) Address.html?addr=1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn:200
event.returnValue is deprecated. Please use the standard event.preventDefault() instead. jquery-1.10.1.min.js:5


Title: Re: *** Official: masterchain.info testing thread
Post by: romanticon on January 26, 2014, 08:04:22 AM
(?) BUG   Another one worth to check :

TestMSC - on the 5 page in the list
there is a SELL offer I am trying to accept it.

in the accept form entering the public key: 1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn
 and clicking verify got invalid message and that is the trace:

Code:
verify function acceptform.js:119
not verified and not ok acceptform.js:499
XHR finished loading: "https://masterchain.info/wallet/validateaddr/". jquery-1.10.1.min.js:6
success acceptform.js:126
Object {error: "missing pubkey"} acceptform.js:127


Title: Re: *** Official: masterchain.info testing thread
Post by: grazcoin on January 26, 2014, 08:37:57 PM
(?) BUG   Another one worth to check :

TestMSC - on the 5 page in the list
there is a SELL offer I am trying to accept it.

in the accept form entering the public key: 1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn
 and clicking verify got invalid message and that is the trace:

Code:
verify function acceptform.js:119
not verified and not ok acceptform.js:499
XHR finished loading: "https://masterchain.info/wallet/validateaddr/". jquery-1.10.1.min.js:6
success acceptform.js:126
Object {error: "missing pubkey"} acceptform.js:127

The error message should have been "missing pubkey", and not "invalid". Probably the last update introduced this change.
It means that you have never spent anything using this address, so the blockchain does not have a record of your public key (which is required in order to prepare a raw mastercoin transaction).

Note: Address is not a public key. Address is only a hash of the public key.

Your options are:

Get the public key -
using brainwallet.org (if you type there the private key, the public is calculated inside your browser using javascript).
or
using bitcoind validateaddress, assuming this key is in your wallet

Once you have the pubkey, enter it instead of the bitcoin address (the acceptform says "address or public key").


alternative option is to send bitcoins (even to yourself) using that address, so the public key appears on the blockchain, and then the mastercoin wallet could get it.



Title: Re: *** Official: masterchain.info testing thread
Post by: grazcoin on January 26, 2014, 08:41:41 PM
(?) Bug - here is one I have to understand:

I enter a new address in the text field
and press search, there is no
notification on the web site ,
the JS gives that:


result:

Code:
1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn btc02.js:264
Object {title: "Masterchain data", tx: "1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn", addr: "sample_addr", currency: "MSC", page: "0000"…}
 redirect.js:4
["17rExRiMaJGgHPVuYjHL21mEhfzbRPRkui","13DuBH2JzdAnMtQsb5SVhaeJhNCmjqhPUj","1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn"] btc02.js:210
["17rExRiMaJGgHPVuYjHL21mEhfzbRPRkui", "13DuBH2JzdAnMtQsb5SVhaeJhNCmjqhPUj", "1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn"] btc02.js:216
0 btc02.js:222
1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn btc02.js:223
1 btc02.js:222
13DuBH2JzdAnMtQsb5SVhaeJhNCmjqhPUj btc02.js:223
2 btc02.js:222
17rExRiMaJGgHPVuYjHL21mEhfzbRPRkui btc02.js:223
CHanged padding of body btc02.js:188
XHR finished loading: "https://masterchain.info/values.json". angular.js:9312
GET https://masterchain.info/addr/1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn.json 404 (Not Found) angular.js:9312
XHR finished loading: "https://masterchain.info/addr/1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn.json". angular.js:9312
XHR finished loading: "https://masterchain.info/revision.json". angular.js:9312
GET https://masterchain.info/ico/%7B%7Btrans.icon%7D%7D24t.png 404 (Not Found) Address.html?addr=1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn:200
event.returnValue is deprecated. Please use the standard event.preventDefault() instead. jquery-1.10.1.min.js:5

Currently masterchain.info supports only addresses that have MSC or TMSC on them.
This address has only bitcoins, so it is not parsed, and as you could see, there is no information about it.
We'll think what to do with such addresses...




Title: Re: *** Official: masterchain.info testing thread
Post by: grazcoin on January 26, 2014, 09:02:35 PM
The error message should have been "missing pubkey", and not "invalid". Probably the last update introduced this change.

fixed error message.



Title: Re: *** Official: masterchain.info testing thread
Post by: romanticon on January 27, 2014, 03:53:53 PM

Currently masterchain.info supports only addresses that have MSC or TMSC on them.
This address has only bitcoins, so it is not parsed, and as you could see, there is no information about it.
We'll think what to do with such addresses...


So I am trying to understand how a completely
new person will start to use the system ?
Should he ask somebody to send him mastercoins ?



Title: Re: *** Official: masterchain.info testing thread
Post by: grazcoin on January 27, 2014, 04:22:21 PM

Currently masterchain.info supports only addresses that have MSC or TMSC on them.
This address has only bitcoins, so it is not parsed, and as you could see, there is no information about it.
We'll think what to do with such addresses...


So I am trying to understand how a completely
new person will start to use the system ?
Should he ask somebody to send him mastercoins ?


Once the DEx is officially available for MSC, a new person should simply accept a sell offer (a.k.a. ACCEPT button), and pay for it (a.k.a. PAY button). All he needs is his private key and some bitcoins fund on it. Then he gets the mastercoins.
Until DEx is available, he can buy MSC for BTC in an exchange (there are some available).
If it is only for TMSC or very small amount of MSC, he could get some from mastercoin faucet.

The moment that there are MSC/TMSC on his address, it will be also available on masterchain.info and the user could add that address to a wallet.

Note: a wallet is only for convenience - to see the funds of all your addresses in one place.
It is not needed for trading or sending. You only need your private key.



Title: Re: *** Official: masterchain.info testing thread
Post by: romanticon on January 27, 2014, 06:02:35 PM

Until DEx is available, he can buy MSC for BTC in an exchange (there are some available).


Cool so I am trying to do exactly that, I have some
money here: https://www.biteasy.com/blockchain/addresses/1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn

on masterchain I want to accept that order:

https://masterchain.info/selloffer.html?tx=d2caf8a19b29959e1fe34dc7a499bddb6ee40fd3fb3fa23e4cc00b827e11b818&currency=TMSC

I click accept, choosing that address 1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn ,
than I verify it and get: "no pubkey on blockchain"

What I am missing here ?


Title: Re: *** Official: masterchain.info testing thread
Post by: grazcoin on January 28, 2014, 08:30:06 AM

Until DEx is available, he can buy MSC for BTC in an exchange (there are some available).


Cool so I am trying to do exactly that, I have some
money here: https://www.biteasy.com/blockchain/addresses/1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn

on masterchain I want to accept that order:

https://masterchain.info/selloffer.html?tx=d2caf8a19b29959e1fe34dc7a499bddb6ee40fd3fb3fa23e4cc00b827e11b818&currency=TMSC

I click accept, choosing that address 1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn ,
than I verify it and get: "no pubkey on blockchain"

What I am missing here ?

I have already answered *you* here:

in the accept form entering the public key: 1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn

It means that you have never spent anything using this address, so the blockchain does not have a record of your public key (which is required in order to prepare a raw mastercoin transaction).

Note: Address is not a public key. Address is only a hash of the public key.

Your options are:

Get the public key -
using brainwallet.org (if you type there the private key, the public is calculated inside your browser using javascript).
or
using bitcoind validateaddress, assuming this key is in your wallet

Once you have the pubkey, enter it instead of the bitcoin address (the acceptform says "address or public key").


alternative option is to send bitcoins (even to yourself) using that address, so the public key appears on the blockchain, and then the mastercoin wallet could get it.


Title: Re: *** Official: masterchain.info testing thread
Post by: romanticon on January 28, 2014, 03:46:31 PM

I have already answered *you* here:




Cool G, I think I will go on with the one wallet
that is recognizable by the system that one:

https://www.biteasy.com/blockchain/addresses/17rExRiMaJGgHPVuYjHL21mEhfzbRPRkui


P.S: I don't actually remember what I have done to connect it.






Title: Re: *** Official: masterchain.info testing thread
Post by: romanticon on January 28, 2014, 04:59:58 PM
(???) Ok , I have some progress with one wallet
and I was able to create two "ACCEPT SELL" transactions.

https://blockchain.info/tx/304336ce4180468004833eed7ac19778ed60850e25a29d8829439c7bdbbdabab
https://blockchain.info/tx/733ad20c9f178915030738dce2529e1766955cc85a503f72190288a82c564ef9

I see they are already in the chain , so when I am going to
see the result in the wallet ?

https://masterchain.info/Address.html?addr=17rExRiMaJGgHPVuYjHL21mEhfzbRPRkui

Thanks.
Roman.


Title: Re: *** Official: masterchain.info testing thread
Post by: grazcoin on January 28, 2014, 08:45:36 PM
(???) Ok , I have some progress with one wallet
and I was able to create two "ACCEPT SELL" transactions.

https://blockchain.info/tx/304336ce4180468004833eed7ac19778ed60850e25a29d8829439c7bdbbdabab
https://blockchain.info/tx/733ad20c9f178915030738dce2529e1766955cc85a503f72190288a82c564ef9

I see they are already in the chain , so when I am going to
see the result in the wallet ?

https://masterchain.info/Address.html?addr=17rExRiMaJGgHPVuYjHL21mEhfzbRPRkui

Thanks.
Roman.

You should look on the TMSC address:
https://masterchain.info/Address.html?addr=17rExRiMaJGgHPVuYjHL21mEhfzbRPRkui&currency=TMSC
and you can see there your new purchased coins - with some minor bugs ... which are are on hold, since anyway, we're about to change the protocol, and maybe invalidate all previous sell/accept transactions:
https://github.com/mastercoin-MSC/spec/pull/41



Title: Re: *** Official: masterchain.info testing thread
Post by: romanticon on January 29, 2014, 06:05:22 PM

You should look on the TMSC address:
https://masterchain.info/Address.html?addr=17rExRiMaJGgHPVuYjHL21mEhfzbRPRkui&currency=TMSC
and you can see there your new purchased coins - with some minor bugs ... which are are on hold, since anyway, we're about to change the protocol, and maybe invalidate all previous sell/accept transactions:
https://github.com/mastercoin-MSC/spec/pull/41



Cool !!! Now following that example two questions:

1) I think we need some click on the website to attach &currency=TMSC
to the link don't you agree with me that ordinary user will lose the way here ?

2) Now that I see my wallet what should I click here just to send a TMSC to
my other wallet  ?

Thanks in advance
Roman


Title: Re: *** Official: masterchain.info testing thread
Post by: grazcoin on January 30, 2014, 01:47:08 PM

You should look on the TMSC address:
https://masterchain.info/Address.html?addr=17rExRiMaJGgHPVuYjHL21mEhfzbRPRkui&currency=TMSC
and you can see there your new purchased coins - with some minor bugs ... which are are on hold, since anyway, we're about to change the protocol, and maybe invalidate all previous sell/accept transactions:
https://github.com/mastercoin-MSC/spec/pull/41



Cool !!! Now following that example two questions:

1) I think we need some click on the website to attach &currency=TMSC
to the link don't you agree with me that ordinary user will lose the way here ?

2) Now that I see my wallet what should I click here just to send a TMSC to
my other wallet  ?

Thanks in advance
Roman

Again: I warn that all DEx transaction might get invalidated, so you will have balance 0 on your address, and then any send will fail due to lack of funds.
For sending (assuming you do have funds), you can "add to wallet", and then "send" whatever you want to send (MSC/TMSC/BTC).
Before I do the pull request 41 make-over, you will be able to see that send on my site, but will probably not meet the consensus.



Title: Re: *** Official: masterchain.info testing thread
Post by: romanticon on January 30, 2014, 03:51:33 PM
For sending (assuming you do have funds), you can "add to wallet", and then "send" whatever you want to send (MSC/TMSC/BTC).
Before I do the pull request 41 make-over, you will be able to see that send on my site, but will probably not meet the consensus.


Ohh... now I got it, please approve: you have some generated by the browser id
e.g. [ba1b2aaf-eebc-4e13-f305-bcc3c2a0a5ce] and when you do add to wallet on
some address the system associate the address with that random id. right ?


Again: I warn that all DEx transaction might get invalidated, so you will have balance 0 on your address, and then any send will fail due to lack of funds.


Don't wary about me loosing some coins here ,
I am new to the protocol and it's more important
to me to study exactly what you got now,
when it going to change I guess I do my switch
the 10-20 millitbits I am going to lose are not
so critical here.



 ::) Cool feeling some progress...
Roman





Title: Re: *** Official: masterchain.info testing thread
Post by: grazcoin on January 30, 2014, 05:06:28 PM
For sending (assuming you do have funds), you can "add to wallet", and then "send" whatever you want to send (MSC/TMSC/BTC).
Before I do the pull request 41 make-over, you will be able to see that send on my site, but will probably not meet the consensus.


Ohh... now I got it, please approve: you have some generated by the browser id
e.g. [ba1b2aaf-eebc-4e13-f305-bcc3c2a0a5ce] and when you do add to wallet on
some address the system associate the address with that random id. right ?

Right. That's the wallet universal unique id (currently only local, but it will be later global) which is randomly generated. That uuid is associated with a local storage that holds a list of addresses. It has no effect on the send/sell transaction, except for offering the user one of the wallet's addresses to use.



Title: Re: *** Official: masterchain.info testing thread
Post by: romanticon on February 02, 2014, 10:09:58 AM

Hey G,

Here is 2 test cases that geting
some wired behaivour:

a) Trying to approve a sell offer with
addr: [17rExRiMaJGgHPVuYjHL21mEhfzbRPRkui]
and getting that transaction:

https://blockchain.info/tx/7d7f605408950be57fa0ebc4392403fea5a15da1897796f7607d75194e152b73

The wired point is that it is already 3 hours over and still no
confirmation (block include) for that transaction. The balance
is not changing also I guess because the "no block include".

Do you have any idea why ?

When I finally got it confirmed I see
the offer accepted here:

https://masterchain.info/sellaccept.html?tx=7d7f605408950be57fa0ebc4392403fea5a15da1897796f7607d75194e152b73&currency=TMSC

but I don't see any balance change.


b) The    addr: [1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn]
still gives me: "no pubkey on blockchain" on transaction try,
despite the fact it has already 2 TMSC and 0.03 BTC on it.


Be in touch
Roman.



Title: Re: *** Official: masterchain.info testing thread
Post by: grazcoin on February 03, 2014, 12:28:02 AM

Hey G,

Here is 2 test cases that geting
some wired behaivour:

a) Trying to approve a sell offer with
addr: [17rExRiMaJGgHPVuYjHL21mEhfzbRPRkui]
and getting that transaction:

https://blockchain.info/tx/7d7f605408950be57fa0ebc4392403fea5a15da1897796f7607d75194e152b73

The wired point is that it is already 3 hours over and still no
confirmation (block include) for that transaction. The balance
is not changing also I guess because the "no block include".

Do you have any idea why ?

When I finally got it confirmed I see
the offer accepted here:

https://masterchain.info/sellaccept.html?tx=7d7f605408950be57fa0ebc4392403fea5a15da1897796f7607d75194e152b73&currency=TMSC

but I don't see any balance change.


You only accepted the sell order, but you didn't pay, so no balance change.
Now anyway the accept is expired so paying will not help you.
You will have to make a new accept, and then pay.


b) The    addr: [1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn]
still gives me: "no pubkey on blockchain" on transaction try,
despite the fact it has already 2 TMSC and 0.03 BTC on it.


If you look at https://blockchain.info/address/1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn you could see that this address never spent anything.
As long as you don't spend, your public key is *not* on the blockchain.
Please research the differences between public key and bitcoin address.



Title: Re: *** Official: masterchain.info testing thread
Post by: romanticon on February 04, 2014, 10:11:20 AM

You only accepted the sell order, but you didn't pay, so no balance change.
Now anyway the accept is expired so paying will not help you.
You will have to make a new accept, and then pay.


I need to figure it out, when I do an accept for a sell
order and the system get's it without any error,
I still need to make some money transfer ?
I was sure that accepting the sell order it's like
actually buy order.



If you look at https://blockchain.info/address/1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn you could see that this address never spent anything.
As long as you don't spend, your public key is *not* on the blockchain.
Please research the differences between public key and bitcoin address.



Ok so now I see that pubkey is something that is revealed to the
chain only when the money been sent from it, right ?
Like now when I actually sent some money here

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

the masterchain.info do recognize that address.

I think we can give a user an improved experience here,
if it can work only that way you can make user to send
some money to himself in order to have the address be recognized.

 






Title: Re: *** Official: masterchain.info testing thread
Post by: grazcoin on February 05, 2014, 10:56:25 AM

You only accepted the sell order, but you didn't pay, so no balance change.
Now anyway the accept is expired so paying will not help you.
You will have to make a new accept, and then pay.


I need to figure it out, when I do an accept for a sell
order and the system get's it without any error,
I still need to make some money transfer ?
I was sure that accepting the sell order it's like
actually buy order.

so I hope it is clear now. One gets nothing for free :)


If you look at https://blockchain.info/address/1CKPYQPiVKMBEHqWco9sNNLNeTCjGSxfrn you could see that this address never spent anything.
As long as you don't spend, your public key is *not* on the blockchain.
Please research the differences between public key and bitcoin address.



Ok so now I see that pubkey is something that is revealed to the
chain only when the money been sent from it, right ?
Like now when I actually sent some money here

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

the masterchain.info do recognize that address.

I think we can give a user an improved experience here,
if it can work only that way you can make user to send
some money to himself in order to have the address be recognized.


To create a transaction with an address which doesn't have a public key on the blockchain, you can supply that public key directly on the "address or public key" input.
Indeed, sending coins to yourself overcomes this issue, but it is at least as complicated as entering your public key directly, and sending coins to yourself means you spend extra fee + you have to wait for confirmations.
To get your public key, you can use http://brainwallet.org (enter your private key there, and the field "public key" will get updated). A more secure way would be to use https://github.com/brainwallet/brainwallet.github.com/archive/master.zip

This "public key not on blockchain" issue will be probably solved with the new wallet that includes private keys. It is expected to be online this month.



Title: Re: *** Official: masterchain.info testing thread
Post by: dexX7 on March 04, 2014, 02:40:05 AM
Right now I'm trying to create an accept sell offer, but after clicking "prepare" only a red text with "ping?" appears. (related offer (https://demo.masterchain.info/selloffer.html?tx=187f48afaf8a1c39ad2332937be5a5d44535af9b9fab22b65a167f29948d145b&currency=TMSC))

https://i.imgur.com/kk0SGFY.png (https://i.imgur.com/kk0SGFY.png)


Title: Re: *** Official: masterchain.info testing thread
Post by: Tesca on March 04, 2014, 02:36:59 PM
Usability:
After verifying an invalid address the info/error text apears in green. It should be red to indicate that there is something wrong, to me some seconds to trigger on the green ("all is right"-looking text)

The droppdown menu/input field for the seller address acts 'weird'. After copying (ctr-v) an address in it sometimes opens up and default selects the old (default) value which gets promptly selected and overrides the wanted (copied) address.


Title: Re: *** Official: masterchain.info testing thread
Post by: marcelus on March 19, 2014, 12:05:45 PM
Hey. I'm trying to do a simple send but am getting this error: no pubkey on blockchain. use wallet or supply Public Key from brainwallet.org

How do I rectify this?

It is a verified address I have the private key to with Msc in it.

Thanks


Title: Re: *** Official: masterchain.info testing thread
Post by: dexX7 on March 20, 2014, 05:35:11 AM
Hey. I'm trying to do a simple send but am getting this error: no pubkey on blockchain. use wallet or supply Public Key from brainwallet.org

How do I rectify this?

It is a verified address I have the private key to with Msc in it.

Thanks

If you are using Bitcoin-Qt please go to "Help" - "Debug window" - "Console".

Enter: "validateaddress 1youraddress"

Replace "1youraddress" with the address you try to send from, don't use quotation marks.

A result like this should appear:

Code:
{
"isvalid" : true,
"address" : "1JmgN44N6R6RSjL5s1SUzSWGaRHU1hoi2Y",
"ismine" : true,
"isscript" : false,
"pubkey" : "02331c01471cb1f4a2d11a8746be840b10f36d27951b5355171d95100a2646a026",
"iscompressed" : true,
"account" : "Sender1"
}

Copy the "pubkey" value into the "Sender address or public key" field on masterchain.info.

Clicking the "Verify" button should result in a green "OK" right of the button.

If this is the case, you are good to go.

If you are using another Bitcoin application, please tell and I'll try to walk you through.

Edit: in 0.9 it looks like this:

https://i.imgur.com/MWnBJpz.png

https://i.imgur.com/oLz7c5q.png


Title: Re: *** Official: masterchain.info testing thread
Post by: marcelus on March 20, 2014, 11:48:07 AM
Thanks mate. It's a blockchain.info wallet but I found out how to locate the public key.


Title: Re: *** Official: masterchain.info testing thread
Post by: nightengale on April 21, 2014, 10:59:02 PM
I tried sending some mastercoins out today, and this is my first time attempting to do so. I've verified with a couple of the block explorers that I have 10+ MSC associated with an address. I entered the destination address into masterchain.info, and followed the send instructions. I made sure I had a little BTC associated with that address, and dumped the private key in my QT client, pasted it into the forms, followed all of the instructions, and received the response "transaction sent" and a link to blockchain.info transaction. It's been almost an hour, and the TXID isn't showing up and my MSC balance has not changed. Can anyone confirm that this site is still working as advertised?


Title: Re: *** Official: masterchain.info testing thread
Post by: kololo on April 22, 2014, 12:54:19 AM
I used the materchain yesterday ,but I find it is hard to use,I think you guys need more work to do.


Title: Re: *** Official: masterchain.info testing thread
Post by: Pale Phoenix on April 22, 2014, 02:15:14 AM
I used the materchain yesterday ,but I find it is hard to use,I think you guys need more work to do.

Can you be more specific? I think if you could share some of the specific problems you had, or things you found confusing, it would be most helpful to the devs.


Title: Re: *** Official: masterchain.info testing thread
Post by: marcelus on April 22, 2014, 09:19:14 AM
I tried sending some mastercoins out today, and this is my first time attempting to do so. I've verified with a couple of the block explorers that I have 10+ MSC associated with an address. I entered the destination address into masterchain.info, and followed the send instructions. I made sure I had a little BTC associated with that address, and dumped the private key in my QT client, pasted it into the forms, followed all of the instructions, and received the response "transaction sent" and a link to blockchain.info transaction. It's been almost an hour, and the TXID isn't showing up and my MSC balance has not changed. Can anyone confirm that this site is still working as advertised?

You probably didn't pay a large enough miners fee (BTC).


Title: Re: *** Official: masterchain.info testing thread
Post by: marcelus on April 22, 2014, 09:20:45 AM
I've used masterchain without problem many times but this morning, when I want to participate in the crowdsale, I'm being told that my private key is invalid. Naturally it's the same (BitcoinQT format) one I've used many times. Anyone having the same problem?


Title: Re: *** Official: masterchain.info testing thread
Post by: nightengale on April 22, 2014, 01:48:47 PM
I tried sending some mastercoins out today, and this is my first time attempting to do so. I've verified with a couple of the block explorers that I have 10+ MSC associated with an address. I entered the destination address into masterchain.info, and followed the send instructions. I made sure I had a little BTC associated with that address, and dumped the private key in my QT client, pasted it into the forms, followed all of the instructions, and received the response "transaction sent" and a link to blockchain.info transaction. It's been almost an hour, and the TXID isn't showing up and my MSC balance has not changed. Can anyone confirm that this site is still working as advertised?

I learned that masterchain.info uses blockchain.info to broadcast transactions. Since blockchain.info was down when I attempted to send using masterchain.info, that is probably why the transaction didn't go through.

I missed out on the crowdsale since they pulled the Mastercoin only a few hours after posting it.


Title: Re: *** Official: masterchain.info testing thread
Post by: ervalvola on April 22, 2014, 04:39:13 PM
I tried sending some mastercoins out today, and this is my first time attempting to do so. I've verified with a couple of the block explorers that I have 10+ MSC associated with an address. I entered the destination address into masterchain.info, and followed the send instructions. I made sure I had a little BTC associated with that address, and dumped the private key in my QT client, pasted it into the forms, followed all of the instructions, and received the response "transaction sent" and a link to blockchain.info transaction. It's been almost an hour, and the TXID isn't showing up and my MSC balance has not changed. Can anyone confirm that this site is still working as advertised?

I learned that masterchain.info uses blockchain.info to broadcast transactions. Since blockchain.info was down when I attempted to send using masterchain.info, that is probably why the transaction didn't go through.

I missed out on the crowdsale since they pulled the Mastercoin only a few hours after posting it.

It is not working for me too (yes, i missed the crowdsale for this too and I'm a bit annoyed)

When I try to prepare the transaction, it says:
"Not enough bitcoin funds on address"
but I have 0.18BTC in that address...




Title: Re: *** Official: masterchain.info testing thread
Post by: digitalfog on April 23, 2014, 07:26:10 PM
I tried sending some mastercoins out today, and this is my first time attempting to do so. I've verified with a couple of the block explorers that I have 10+ MSC associated with an address. I entered the destination address into masterchain.info, and followed the send instructions. I made sure I had a little BTC associated with that address, and dumped the private key in my QT client, pasted it into the forms, followed all of the instructions, and received the response "transaction sent" and a link to blockchain.info transaction. It's been almost an hour, and the TXID isn't showing up and my MSC balance has not changed. Can anyone confirm that this site is still working as advertised?

Same here.   Just did two Test Mastercoin transactions and one real Mastercoin transaction.  Received info that it was sent and was given a transaction number to check on blockchain.  All transactions come back as "transaction not found."




Title: Re: *** Official: masterchain.info testing thread
Post by: dexX7 on April 24, 2014, 12:13:12 AM
It may help, if you post the transaction id.

If it was broadcasted (e.g. you see it on blockchain.info), then masterchain.info probably didn't update yet. I'm not sure, how often an update is done, but transactions are not shown immediately and especially not, if they are still unconfirmed.


Title: Re: *** Official: masterchain.info testing thread
Post by: ervalvola on April 24, 2014, 01:51:11 PM
It is not working for me too (yes, i missed the crowdsale for this too and I'm a bit annoyed)

When I try to prepare the transaction, it says:
"Not enough bitcoin funds on address"
but I have 0.18BTC in that address...



Still not working...
I don't understand if I'm doing something wrong... any help?

It recognizes the wallet, verify it... just can't prepare the transaction...