Bitcoin Forum
November 19, 2017, 03:55:43 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 [2] 3 4 5 6 7 8 9 10 11 12 »  All
  Print  
Author Topic: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic  (Read 19283 times)
Tachikoma
Hero Member
*****
Offline Offline

Activity: 938



View Profile WWW
November 04, 2013, 02:32:31 PM
 #21

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.

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.

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

Great!
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 `<top (required)>'
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 `<main>'
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 `<main>'
/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  

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

Will there be a Windows mastercoin wallet soon?

Zathras is working on a pure Windows client, he already said it should be out soon Smiley

I guess theres around 85% of mastercoin users are using windows as OS.
Cool, where did you get those facts?

Electrum: the convenience of a web wallet, without the risks | Bytesized Seedboxes BTC/LTC supported
1511063743
Hero Member
*
Offline Offline

Posts: 1511063743

View Profile Personal Message (Offline)

Ignore
1511063743
Reply with quote  #2

1511063743
Report to moderator
Join ICO Now A blockchain platform for effective freelancing
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
TKeenan
Hero Member
*****
Offline Offline

Activity: 875



View Profile
November 04, 2013, 03:39:35 PM
 #22

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'.
maxmint
Hero Member
*****
Offline Offline

Activity: 700



View Profile
November 04, 2013, 03:44:44 PM
 #23

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

My PGP-Key: 462D02D8
Verify my messages using keybase: https://keybase.io/maxmint
Tachikoma
Hero Member
*****
Offline Offline

Activity: 938



View Profile WWW
November 04, 2013, 03:46:48 PM
 #24

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

Electrum: the convenience of a web wallet, without the risks | Bytesized Seedboxes BTC/LTC supported
romerun
Legendary
*
Offline Offline

Activity: 1078


Bitcoin is new, makes sense to hodl.


View Profile
November 04, 2013, 04:29:09 PM
 #25

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
Tachikoma
Hero Member
*****
Offline Offline

Activity: 938



View Profile WWW
November 04, 2013, 04:32:41 PM
 #26

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.

Electrum: the convenience of a web wallet, without the risks | Bytesized Seedboxes BTC/LTC supported
Tachikoma
Hero Member
*****
Offline Offline

Activity: 938



View Profile WWW
November 04, 2013, 05:31:13 PM
 #27

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.

Electrum: the convenience of a web wallet, without the risks | Bytesized Seedboxes BTC/LTC supported
maxmint
Hero Member
*****
Offline Offline

Activity: 700



View Profile
November 04, 2013, 06:25:55 PM
 #28

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?

My PGP-Key: 462D02D8
Verify my messages using keybase: https://keybase.io/maxmint
Tachikoma
Hero Member
*****
Offline Offline

Activity: 938



View Profile WWW
November 04, 2013, 06:27:30 PM
 #29

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

Electrum: the convenience of a web wallet, without the risks | Bytesized Seedboxes BTC/LTC supported
Tachikoma
Hero Member
*****
Offline Offline

Activity: 938



View Profile WWW
November 04, 2013, 06:29:40 PM
 #30

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

Electrum: the convenience of a web wallet, without the risks | Bytesized Seedboxes BTC/LTC supported
maxmint
Hero Member
*****
Offline Offline

Activity: 700



View Profile
November 04, 2013, 06:30:52 PM
 #31

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!

My PGP-Key: 462D02D8
Verify my messages using keybase: https://keybase.io/maxmint
ASIC-8Tile
Sr. Member
****
Offline Offline

Activity: 279


View Profile
November 05, 2013, 12:05:10 AM
 #32

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?

I'm having probs with the the qtbindings when installing.  QT 5 would not work for me at all so trying now with QT 4 and from what I can tell I'm getting stuck at the smokeqtsql install:

In file included from /Library/Ruby/Gems/2.0.0/gems/qtbindings-4.8.3.0/ext/build/smoke/qtsql/x_1.cpp:2:
In file included from /Library/Ruby/Gems/2.0.0/gems/qtbindings-4.8.3.0/ext/smoke/qtsql/qtsql_includes.h:3:
In file included from /Library/Frameworks/QtSql.framework/Headers/QtSql:5:
/Library/Frameworks/QtSql.framework/Headers/qsqlrelationaldelegate.h:58:7: error: base class 'QItemDelegate' has private copy constructor
class QSqlRelationalDelegate: public QItemDelegate
      ^
/Library/Frameworks/QtGui.framework/Headers/qitemdelegate.h:130:20: note: declared private here
    Q_DISABLE_COPY(QItemDelegate)
                   ^
/Library/Frameworks/QtCore.framework/Headers/qglobal.h:2516:5: note: expanded from macro 'Q_DISABLE_COPY'
    Class(const Class &); \
    ^
/Library/Ruby/Gems/2.0.0/gems/qtbindings-4.8.3.0/ext/build/smoke/qtsql/x_1.cpp:3172:75: note: implicit default copy constructor for 'QSqlRelationalDelegate' first required here
    explicit x_QSqlRelationalDelegate(const QSqlRelationalDelegate& x1) : QSqlRelationalDelegate(x1) {}
                                                                          ^
1 warning and 1 error generated.
make[3]: *** [smoke/qtsql/CMakeFiles/smokeqtsql.dir/x_1.o] Error 1
make[2]: *** [smoke/qtsql/CMakeFiles/smokeqtsql.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [build] Error 2

Anyone have suggestions for something obvious I may be missing?


I'm guessing you are on Ruby 2.0 ? How did you install qt? Did you use brew to do it?


Hi Tachikoma,

Looks great!

I am getting the following error once I type "gem install mastercoin-wallet" from the instructions.

ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions into the /Library/Ruby/Gems/1.8 directory

I then tried installing JewelryBox via https://jewelrybox.unfiniti.com/ v.1.5.1700 and installed 1.9.2-p320
1.) Clicked on Add Ruby from the top of the GUI
2.) Selected 1.9.2-p320 from left

Then received this message once I type "gem install mastercoin-wallet"
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
    SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
it's saying cannot get bitcoin address from private key which I got from dumpprivkey
(https://rubygems.global.ssl.fastly.net/quick/Marshal.4.8/mastercoin-ruby-0.0.5.gemspec.rz)

Is there an easier way?  Cry

Did you check your ruby version with ruby -v? If have 1.8 please install rvm like the instructions say and try again Smiley

Yes, it is ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-darwin11.4.2]

I tried to run 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

I also tried to run sudo 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)

Tachikoma
Hero Member
*****
Offline Offline

Activity: 938



View Profile WWW
November 05, 2013, 08:19:07 AM
 #33

You probably need to update your certs. If you have RVM installed do: rvm osx-ssl-certs update all

Electrum: the convenience of a web wallet, without the risks | Bytesized Seedboxes BTC/LTC supported
superfluouso
Full Member
***
Offline Offline

Activity: 202


View Profile
November 05, 2013, 08:55:23 AM
 #34

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!
Tachikoma
Hero Member
*****
Offline Offline

Activity: 938



View Profile WWW
November 05, 2013, 09:11:25 AM
 #35

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.

Electrum: the convenience of a web wallet, without the risks | Bytesized Seedboxes BTC/LTC supported
ASIC-8Tile
Sr. Member
****
Offline Offline

Activity: 279


View Profile
November 05, 2013, 12:46:27 PM
 #36

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...

Tachikoma
Hero Member
*****
Offline Offline

Activity: 938



View Profile WWW
November 05, 2013, 12:53:08 PM
 #37

Please try this.

Code:
rvm install ruby-1.9.3
rvm use 1.9.3
gem install mastercoin-wallet

And let me know what that does Smiley

Electrum: the convenience of a web wallet, without the risks | Bytesized Seedboxes BTC/LTC supported
ASIC-8Tile
Sr. Member
****
Offline Offline

Activity: 279


View Profile
November 05, 2013, 01:04:45 PM
 #38

Please try this.

Code:
rvm install ruby-1.9.3
rvm use 1.9.3
gem install mastercoin-wallet

And let me know what that does Smiley

rvm install ruby-1.9.3
Already installed ruby-1.9.3-p448.
To reinstall use:

    rvm reinstall ruby-1.9.3
 rvm use 1.9.3
Using /Users/computerName/.rvm/gems/ruby-1.9.3-p448

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


Tachikoma
Hero Member
*****
Offline Offline

Activity: 938



View Profile WWW
November 05, 2013, 01:36:12 PM
 #39

Could you try this? https://github.com/raggi/openssl-osx-ca

Electrum: the convenience of a web wallet, without the risks | Bytesized Seedboxes BTC/LTC supported
maxmint
Hero Member
*****
Offline Offline

Activity: 700



View Profile
November 05, 2013, 04:27:33 PM
 #40

Just some more notes and suggestions:

- I have 0.0.4 running, yet the Window title still says "Mastercoin wallet v0.0.3"
- The label "My purchase offers" is cutted off on my system: http://i.imgur.com/Je9AoWY.png
- Will this wallet be able to manage multiple addresses at some point? That would be awesome.

My PGP-Key: 462D02D8
Verify my messages using keybase: https://keybase.io/maxmint
Pages: « 1 [2] 3 4 5 6 7 8 9 10 11 12 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!