Pages:
Author

Topic: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic - page 11. (Read 19601 times)

sr. member
Activity: 279
Merit: 250
You probably need to update your certs. If you have RVM installed do: rvm osx-ssl-certs update all

Hi Tachikoma,

Thanks for your help. I have RVM installed and then updated the above.
Then ran gem install mastercoin-wallet

ERROR:  Could not find a valid gem 'mastercoin-wallet' (>= 0), here is why:
          Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://rubygems.global.ssl.fastly.net/quick/Marshal.4.8/mastercoin-wallet-0.0.4.gemspec.rz)
ERROR:  Possible alternatives: mastercoin-wallet

Very strange...
hero member
Activity: 938
Merit: 1000
I'm guessing you are on Ruby 2.0 ? How did you install qt? Did you use brew to do it?

Seems to be an issue with Qt/OS X Mavericks/homebrew..have not had a lot of time to sort things out..but working on it and hope to join in with testing soon!

I'm using QT on Mavericks with homebrew as well so if there is anything I can do let me know. If I'm behind my computer I'm also in #mastercoin on freenode if you want to have a chat.
full member
Activity: 201
Merit: 100
I'm guessing you are on Ruby 2.0 ? How did you install qt? Did you use brew to do it?

Seems to be an issue with Qt/OS X Mavericks/homebrew..have not had a lot of time to sort things out..but working on it and hope to join in with testing soon!
hero member
Activity: 938
Merit: 1000
You probably need to update your certs. If you have RVM installed do: rvm osx-ssl-certs update all
sr. member
Activity: 279
Merit: 250
hero member
Activity: 700
Merit: 500
Version 0.0.4 should now be online. gem install mastercoin-wallet should install it. I hope it picks the latest installed version over other older one. Smiley

Yep, got it now, thanks!
hero member
Activity: 938
Merit: 1000
Version 0.0.4 should now be online. gem install mastercoin-wallet should install it. I hope it picks the latest installed version over other older one. Smiley
hero member
Activity: 938
Merit: 1000
I've just released 0.0.4
I'm not sure how to update to the new version. I tried "gem update" and re-installed via "gem install mastercoin-wallet", but I'm still getting version 0.0.3 – any hints?

Woops, sorry I see my new version has not been accepted. Give me a few minutes Smiley
hero member
Activity: 700
Merit: 500
I've just released 0.0.4
I'm not sure how to update to the new version. I tried "gem update" and re-installed via "gem install mastercoin-wallet", but I'm still getting version 0.0.3 – any hints?
hero member
Activity: 938
Merit: 1000
I've just released 0.0.4

  • Selling Offers should now be ordered by lowest price first. But you can also sort on whatever you want now.
  • Worked out Gem dependencies so that Maxmint's problem should not happen for anybody else
  • Transactions get pushed to multiple sources for easier propegation.
hero member
Activity: 938
Merit: 1000
it's saying cannot get bitcoin address from private key which I got from dumpprivkey

Did you check for trailing whitespace? Does your key start with a 5?

No leading or trailing space, it starts with K

You got it from Bitcoind's dumpprivkey? Normally these keys are WIP format as far as I know and I think they should start with a 5.
legendary
Activity: 1078
Merit: 1002
Bitcoin is new, makes sense to hodl.
it's saying cannot get bitcoin address from private key which I got from dumpprivkey

Did you check for trailing whitespace? Does your key start with a 5?

No leading or trailing space, it starts with K
hero member
Activity: 938
Merit: 1000
I made 2 simple sends, each time sending 0.1 MSC to 1GMqxdgNPUP3BGtvwMT1LzmZ9JxpYva2YH.
Both transactions did not show up on Mastercoin-explorer. I did not catch the first transaction hash, but the second one was this:
f1821adf1ba3361684897a3cb8ba3610e3f04bad8c9778dd82324c4e04afd84b
Both transactions were created a couple of hours ago, so I guess they should have shown up on Mastercoin-explorer in the meantime.
It seems the server is not always broadcasting the transactions properly. I will make it a priority to make sure the transactions are at least offered to a couple of nodes so we know they are being propegated.

The second simple send now shows up on Mastercoin-explorer:
http://mastercoin-explorer.com/transactions/f1821adf1ba3361684897a3cb8ba3610e3f04bad8c9778dd82324c4e04afd84b

But Masterchest does not like the transaction and marks it as invalid:
https://masterchest.info/lookuptx.aspx?txid=f1821adf1ba3361684897a3cb8ba3610e3f04bad8c9778dd82324c4e04afd84b

Thanks, upgrading the mastercoin-ruby gem should fix this. Please do the following. gem uninstall mastercoin-ruby followed by a gem install mastercoin-ruby. It should now install the latest version 0.1.0 and you should have no more problems. Please let me know if this works so I can upgrade the dependencies for the wallet Smiley

Great, that worked! My purchase offer now was accepted and the app did not crash (TX hash: 0861bfa3a8b86d1159953e9b737a3de29fec6c524159befa4882bda8ee4a196f).
Fantastic work Tachikoma, this wallet literally is a gem Smiley

Awesome. Masterchest doesn't think it's valid since it does not support the distributed exchange yet. once that's done it should be valid there as well! (Basically it thinks you dont have test MSC Smiley
hero member
Activity: 700
Merit: 500
I made 2 simple sends, each time sending 0.1 MSC to 1GMqxdgNPUP3BGtvwMT1LzmZ9JxpYva2YH.
Both transactions did not show up on Mastercoin-explorer. I did not catch the first transaction hash, but the second one was this:
f1821adf1ba3361684897a3cb8ba3610e3f04bad8c9778dd82324c4e04afd84b
Both transactions were created a couple of hours ago, so I guess they should have shown up on Mastercoin-explorer in the meantime.
It seems the server is not always broadcasting the transactions properly. I will make it a priority to make sure the transactions are at least offered to a couple of nodes so we know they are being propegated.

The second simple send now shows up on Mastercoin-explorer:
http://mastercoin-explorer.com/transactions/f1821adf1ba3361684897a3cb8ba3610e3f04bad8c9778dd82324c4e04afd84b

But Masterchest does not like the transaction and marks it as invalid:
https://masterchest.info/lookuptx.aspx?txid=f1821adf1ba3361684897a3cb8ba3610e3f04bad8c9778dd82324c4e04afd84b

Thanks, upgrading the mastercoin-ruby gem should fix this. Please do the following. gem uninstall mastercoin-ruby followed by a gem install mastercoin-ruby. It should now install the latest version 0.1.0 and you should have no more problems. Please let me know if this works so I can upgrade the dependencies for the wallet Smiley

Great, that worked! My purchase offer now was accepted and the app did not crash (TX hash: 0861bfa3a8b86d1159953e9b737a3de29fec6c524159befa4882bda8ee4a196f).
Fantastic work Tachikoma, this wallet literally is a gem Smiley
hero member
Activity: 874
Merit: 1000
I guess theres around 85% of mastercoin users are using windows as OS.
Cool, where did you get those facts?
Where all facts come from - he pulled them out of his ass.  kidding-  Clearly, he said it was a 'guess'.
hero member
Activity: 938
Merit: 1000
hero member
Activity: 644
Merit: 500
Will there be a Windows mastercoin wallet soon?

I guess theres around 85% of mastercoin users are using windows as OS.
hero member
Activity: 700
Merit: 500
I played around a bit and created a couple of transactions, all of them using MSC wallet address 1F73UPD5xBKgTSRd8q6QhuncVmDnJAHxYV
Here's my results:

Simple Send
I made 2 simple sends, each time sending 0.1 MSC to 1GMqxdgNPUP3BGtvwMT1LzmZ9JxpYva2YH.
Both transactions did not show up on Mastercoin-explorer. I did not catch the first transaction hash, but the second one was this:
f1821adf1ba3361684897a3cb8ba3610e3f04bad8c9778dd82324c4e04afd84b
Both transactions were created a couple of hours ago, so I guess they should have shown up on Mastercoin-explorer in the meantime.

Selling offer
This one worked right away and showed up on Mastercoin-explorer:
http://mastercoin-explorer.com/transactions/4aaf84f80dd95d8cb22f3978beeb4d9e0ccb590870e16e176ce9d487f063614d

Purchase offer
Creating a purchase offer still crashes the app for me. I tried to create a purchase offer with this data:
Code:
Mastercoin address: 1EdAjiApS5cCpHdH4RKPMab1xmMVRWjLvk
Amount: 0.1
Required fee: 0.001
Currency: Test Mastercoin

Here's the log for this crash:
Code:

/Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.3/lib/mastercoin-wallet/gui/purchase_offer_window.rb:50:in `send_transaction': uninitialized constant Mastercoin::PurchaseOffer (NameError)
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/qtbindings-4.8.3.0/lib/Qt/qtruby4.rb:880:in `qt_metacall'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/qtbindings-4.8.3.0/lib/Qt/qtruby4.rb:880:in `method_missing'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/qtbindings-4.8.3.0/lib/Qt/qtruby4.rb:880:in `exec'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.3/lib/mastercoin-wallet/gui/main_window.rb:105:in `new_purchase_offer'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.3/lib/mastercoin-wallet/gui/main_window.rb:9:in `create_order'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/qtbindings-4.8.3.0/lib/Qt/qtruby4.rb:880:in `qt_metacall'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/qtbindings-4.8.3.0/lib/Qt/qtruby4.rb:880:in `method_missing'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/qtbindings-4.8.3.0/lib/Qt/qtruby4.rb:880:in `exec'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.3/bin/mastercoin-wallet:12:in `'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/bin/mastercoin-wallet:23:in `load'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/bin/mastercoin-wallet:23:in `
'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/bin/ruby_executable_hooks:15:in `eval'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/bin/ruby_executable_hooks:15:in `
'
/Users/max/.rvm/gems/ruby-1.9.3-p448/bin/ruby_executable_hooks: [BUG] Segmentation fault
ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-darwin12.5.0]

-- Control frame information -----------------------------------------------
c:0001 p:0000 s:0002 b:0002 l:000e98 d:000e98 TOP   
hero member
Activity: 938
Merit: 1000
Awesome! As soon as I got some time I am going to work on making mastercoin-explorer faster. Zathras already implemented this but showing unconfirmed transactions on the site would be really awesome. Right now it needs to be included in a block and then my script needs to parse it. This is slow and once the distributed exchange starts up this will really make a difference in the user experience. I will also add more sources to push the transaction. Right now it pushes the transaction to the Bitcoin instance running on the mastercoin-explorer site. I will also make it push it to blockchain and Eligius to make sure it has fast propegation when you send it through the Mastercoin-Wallet. The earlier it's in a block the better Smiley
hero member
Activity: 700
Merit: 500
I think it's using an older version of the bitcoin-ruby gem. I was hoping that the gem would be smart enough to see it requires the bitcoin-ruby version from my github but this is sadly not the case. I will see what I can do to permanently fix this but for now please uninstall the bitcoin-ruby gem by doing gem uninstall bitcoin-ruby. Download https://dl.dropboxusercontent.com/u/374/bitcoin-ruby-0.0.1.gem this version and then run gem install bitcoin-ruby-0.0.1.gem from the folder you downloaded it from.

Thanks, that did the trick! Just made a simple send and the app did not crash. I'll wait to see if it actually appears on Mastercoin-explorer.
Pages:
Jump to: