|
StewartJ
|
 |
November 25, 2013, 01:57:40 AM |
|
I have code ready which can send MasterCoins. Here is what it looks like in action (ignore the first line which is from a previous run):  Source code is here: https://github.com/dacoinminster/MasterCoin-Adviser/blob/master/MasterCoinAdvisor.pyAnd here: https://github.com/dacoinminster/MasterCoin-Adviser/blob/master/base58_found.pyIn order to use this source code, you will need to install python 2.7 and also pycrypto for python 2.7, which I got here: http://www.voidspace.org.uk/python/modules.shtml#pycryptoOn one PC I had to mess with my PATH environment variable to find python and the pycrypto libraries, but when I tried it again on a different PC, I didn't have to mess with the PATH variable at all. Your mileage may vary. If you wish to avoid compiling, and you are a trusting sort of person, you can use the executable I made using py2exe: https://github.com/dacoinminster/MasterCoin-Adviser/raw/master/MasterCoinAdvisorExecutable.zip - I think the executable will only work if you have the right version of Microsoft's C Runtime DLL: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=enThose of you who are affected by the Android wallet security problem should try this out right away. Let me know if you see anything weird. Please note that I still have some testing to do of this code - I just wanted to make sure you guys got hold of this functionality as soon as possible! If something isn't right in this code, I'll try to make sure that nothing you do gets lost. Still, sending MasterCoins from one address to another to another to another might not be a good idea yet! There are some debug outputs commented out in the code right now, but you might want to turn them back on if you are playing with this code. This code does NOT parse the block chain to see if you actually have MasterCoins to send, or track MasterCoins which have been sent. That is the next milestone after the giveaway thread. I am attempting to use your software to send MSC to someone who paid me for them. I downloaded your py2exe executable and this does not work.... when I get to the 3rd prompt after pasting the BTC address and hittingenter...the whole executable just disappears. Using Windows 7 here. So now I am trying to figure out the python thing with the source code, but this is just getting very complicated and frustrating. IM not a programmer. I need help to get this to someone...can you please help me??? Thanks StewartJ
|
|
|
|
|
W2014
Member


Activity: 205
Merit: 10
|
 |
November 25, 2013, 02:06:43 AM |
|
^ you need to open the program via "Command Prompt," navigate to the correct directory and then run the program by typing "MastercoinAdvisor.exe." I hope that helps.
|
|
|
|
|
StewartJ
|
 |
November 25, 2013, 02:44:36 AM |
|
^ you need to open the program via "Command Prompt," navigate to the correct directory and then run the program by typing "MastercoinAdvisor.exe." I hope that helps.
that did the trick...thanks!!! MSC sent!
|
|
|
|
|
|
superfluouso
|
 |
November 25, 2013, 04:34:10 AM |
|
97% of my MSC are now split between 10 offline cold-storage wallets which are in a safe deposit box at the bank, where I expect to keep them for a long, long time. I'll sleep so much better at night now.  Mind sharing what your preferred cold-storage wallet of choice is? Planning to do the same and am also wondering how much BTC, if any, I should keep on the same wallets..
|
|
|
|
|
ripper234
Legendary

Activity: 1358
Merit: 1005
Ron Gross
|
 |
November 25, 2013, 04:41:20 AM |
|
97% of my MSC are now split between 10 offline cold-storage wallets which are in a safe deposit box at the bank, where I expect to keep them for a long, long time. I'll sleep so much better at night now.  Do you have backup in case the bank burns or decides not to allow you access? I assume you are referring to your MSC and not the Foundation's.
|
|
|
|
|
zathras
|
 |
November 25, 2013, 05:06:57 AM |
|
97% of my MSC are now split between 10 offline cold-storage wallets which are in a safe deposit box at the bank, where I expect to keep them for a long, long time. I'll sleep so much better at night now.  In the interests of transparency, please post the bank name, address, safe deposit box numbers & closing time - you know - for the record </cough>. 
|
|
|
|
ripper234
Legendary

Activity: 1358
Merit: 1005
Ron Gross
|
 |
November 25, 2013, 05:12:29 AM |
|
I just had this idea of a timing attack against the distributed exchange. I don't remember if this was discussed before (maybe in the spec? no time to re-read it now). What do you think/ http://qr.ae/GsmxZIs there a risk of a race condition in the Mastercoin distributed exchange?Alice posts a bid, which Bob attempts to match by sending her the required currency.
Alice can try to "listen in" to the network, detect Bob's send transaction, and withdraw her bid at the very last millisecond before Bob's transaction is finalized in a block. If she succeeds in this timing attack, Bob just sent Alice some coins, but Alice's bid is no longer active, and so her coins are sent back to her, instead of to Bob.
Is this a real risk? How can we mitigate it? Perhaps we can make sure any operation that cancels an outstanding bid only take affect if it is at least N seconds (or 1 block) ahead of an operation that attempts to match that bid?
|
|
|
|
W2014
Member


Activity: 205
Merit: 10
|
 |
November 25, 2013, 05:53:02 AM |
|
Can you help us by doing this yourself? I will email our PR company directly and ask them whether they can help advertising our specific jobs / bounties and not just the project in general. I will look into it and report back here.
|
|
|
|
|
zathras
|
 |
November 25, 2013, 06:52:17 AM |
|
I just had this idea of a timing attack against the distributed exchange. I don't remember if this was discussed before (maybe in the spec? no time to re-read it now). What do you think/ http://qr.ae/GsmxZIs there a risk of a race condition in the Mastercoin distributed exchange?Alice posts a bid, which Bob attempts to match by sending her the required currency.
Alice can try to "listen in" to the network, detect Bob's send transaction, and withdraw her bid at the very last millisecond before Bob's transaction is finalized in a block. If she succeeds in this timing attack, Bob just sent Alice some coins, but Alice's bid is no longer active, and so her coins are sent back to her, instead of to Bob.
Is this a real risk? How can we mitigate it? Perhaps we can make sure any operation that cancels an outstanding bid only take affect if it is at least N seconds (or 1 block) ahead of an operation that attempts to match that bid?
This is only a risk if Bob sends his currency payment before his 'accept offer' transaction was confirmed as valid in the blockchain (which our respective software should never do). Once the 'accept offer' is confirmed in the blockchain her coins are effectively reserved & Alice can only cancel her sell once the payment time limit has expired.
|
|
|
|
|
GCInc.
|
 |
November 25, 2013, 12:38:15 PM |
|
Could someone point us to information on how to receive / send Mastercoins at this point in time?
We would like to obtain MSC but with ambigous info on what kind of Bitcoin addresses can even receive them, cannot risk losing the precious BTC for using a wrong type of BTC wallet.
- can Mastercoins be received to an Electrum address with its private key known to the owner? - does Mastercoin receiving address need to be brand new ie. never seen in the network?
Thanks.
|
|
|
|
|
Tachikoma
|
 |
November 25, 2013, 12:41:17 PM |
|
Could someone point us to information on how to receive / send Mastercoins at this point in time?
We would like to obtain MSC but with ambigous info on what kind of Bitcoin addresses can even receive them, cannot risk losing the precious BTC for using a wrong type of BTC wallet.
- can Mastercoins be received to an Electrum address with its private key known to the owner?
Yes. As long as you have access to the private key it should work. - does Mastercoin receiving address need to be brand new ie. never seen in the network?
It doesn't need to be but it would be good practice. You can use the original Mastercoin advisor by J.R. to send coins. If you are on OS X or Linux you can try my wallet software. And soon you will be able to use Zathras's wallet on Windows.
|
|
|
|
ripper234
Legendary

Activity: 1358
Merit: 1005
Ron Gross
|
 |
November 25, 2013, 12:47:31 PM |
|
I just had this idea of a timing attack against the distributed exchange. I don't remember if this was discussed before (maybe in the spec? no time to re-read it now). What do you think/ http://qr.ae/GsmxZIs there a risk of a race condition in the Mastercoin distributed exchange?Alice posts a bid, which Bob attempts to match by sending her the required currency.
Alice can try to "listen in" to the network, detect Bob's send transaction, and withdraw her bid at the very last millisecond before Bob's transaction is finalized in a block. If she succeeds in this timing attack, Bob just sent Alice some coins, but Alice's bid is no longer active, and so her coins are sent back to her, instead of to Bob.
Is this a real risk? How can we mitigate it? Perhaps we can make sure any operation that cancels an outstanding bid only take affect if it is at least N seconds (or 1 block) ahead of an operation that attempts to match that bid?
This is only a risk if Bob sends his currency payment before his 'accept offer' transaction was confirmed as valid in the blockchain (which our respective software should never do). Once the 'accept offer' is confirmed in the blockchain her coins are effectively reserved & Alice can only cancel her sell once the payment time limit has expired. Thanks. It's been a while since I reviewed the spec, I forgot about the "Accept Offer" transaction - for some reason I assumed you accept the offer by sending out coins. Sorry to be so ignorant of important parts of the spec, thanks for educating me!
|
|
|
|
|
littleblue
|
 |
November 25, 2013, 01:56:23 PM |
|
Could someone point us to information on how to receive / send Mastercoins at this point in time?
We would like to obtain MSC but with ambigous info on what kind of Bitcoin addresses can even receive them, cannot risk losing the precious BTC for using a wrong type of BTC wallet.
- can Mastercoins be received to an Electrum address with its private key known to the owner?
Yes. As long as you have access to the private key it should work. - does Mastercoin receiving address need to be brand new ie. never seen in the network?
It doesn't need to be but it would be good practice. You can use the original Mastercoin advisor by J.R. to send coins. If you are on OS X or Linux you can try my wallet software. And soon you will be able to use Zathras's wallet on Windows.  “ Zathras's wallet on Windows.” I can not wait...
|
|
|
|
|
|
GCInc.
|
 |
November 25, 2013, 02:36:58 PM |
|
Yes. As long as you have access to the private key it should work.
Ok. What is the private key needed for? Is it needed for sending out the Mastercoins from my Electrum wallet through Mastercoin Advisor?
|
|
|
|
|
Tachikoma
|
 |
November 25, 2013, 02:38:19 PM |
|
Yes. As long as you have access to the private key it should work.
Ok. What is the private key needed for? Is it needed for sending out the Mastercoins from my Electrum wallet through Mastercoin Advisor? It's needed to send out Mastercoins, regardless of which method. Electrum is harder since there is no way to create these transactions using the GUI.
|
|
|
|
devthedev
Legendary

Activity: 1050
Merit: 1004
|
 |
November 26, 2013, 12:45:21 AM |
|
How can I get my hands on a few of these Mastercoin? 
|
|
|
|
|
|
devthedev
Legendary

Activity: 1050
Merit: 1004
|
 |
November 26, 2013, 01:27:27 AM |
|
|
|
|
|
mughat
Newbie

Activity: 37
Merit: 0
|
 |
November 26, 2013, 09:20:24 AM |
|
I would love to hear what will drive the demand for the coins of mastercoin.
a) What functions of mastercoin will create a demand for the master-coins? b) And how many coins will be needed by a normal user using the decentralised exchange functionality? c) What planned functions if any can be used without actually buying any master-coins?
Thanks mughat
|
|
|
|
|
|
|
|