Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: Tachikoma on November 03, 2013, 04:36:20 PM



Title: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 03, 2013, 04:36:20 PM
This is the joint topic for all things that have to do with my implementations of the Mastercoin.

Mastercoin-explorer (http://mastercoin-explorer.com/), a website for looking up Mastercoin transactions.
Mastercoin-ruby (https://github.com/maran/mastercoin-ruby), a ruby library for encoding/decoding Mastercoin messages.
Mastercoin-wallet (https://github.com/maran/mastercoin-wallet), a thin client for sending/creating Mastercoin transactions.

This topic is meant to be a centralised place to discuss the behaviour and report bugs for these libraries.

Mastercoin-wallet

Features
  • View your transactions
  • Create/Send Simple Send transactions
  • Create/Send distributed Sell orders
  • Create/Send distributed Purchase orders
  • Create/Send Bitcoin payments for Purchase orders

Mastercoin wallet is a proof-of-concept thin client for Mastercoin. It communicates with Mastercoin-explorer in order to facilitates it features. To install Mastercoin-wallet read the Readme instructions (https://github.com/maran/mastercoin-wallet/blob/master/README.rdoc). Once you have the dependencies it's a matter of typing 'gem install mastercoin-wallet' to install it and 'mastercoin-wallet' to start it. If you are using Bitcoind currently you can aquire your private key using the dumpprivkey console command.

Gotcha's/tips while using the software
  • The wallet requires at least Qt 4.7 for now. It will crash with 'undefined method PlaceHolderText' if you don't have it.
  • Mastercoin-explorer is currently updating it's database every 15 minutes. It is possible that data displayed is thus lagging behind other sources.
  • Mastercoin-explorer is currently updating it's database every 15 minutes. It is possible that data displayed is thus lagging behind other sources.
  • There will be a log file in your home folder (~/.mastercoin-wallet/debug.log on unix-like systems) that will give you the raw transaction hash that you can use to decode the messages.
  • Please realise that each Mastercoin transaction, even if it's test, will cost real Bitcoins. (even if they are just costing tiny amounts)

Installation on Ubuntu
This is tested on 13.10 but please let me know if it works on others.

Code:
sudo apt-get -y install curl
curl -L https://gist.github.com/maran/8182379/raw/7309391a1e2341ff9f0cb1ae6603e8006cb891cc/install.sh | bash

This will probably take about 20 minutes depending on your CPU.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on November 03, 2013, 05:32:35 PM
Mastercoin wallet looks great! I'm on OS X, I guess there's no out-of-the-box binary available yet, right?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 03, 2013, 05:33:31 PM
I've spend some time trying to package it but ran into a lot of problems. I will try it again but I didn't want to 'waste' too much time on packaging while I was still adding in features.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on November 03, 2013, 05:39:30 PM
I've spend some time trying to package it but ran into a lot of problems. I will try it again but I didn't want to 'waste' too much time on packaging while I was still adding in features.

Of course. Will try to get it running using the readme (https://github.com/maran/mastercoin-wallet/blob/master/README.rdoc).


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: StarenseN on November 03, 2013, 07:13:15 PM
This is awsome  :o


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 03, 2013, 07:33:29 PM
I've spend some time trying to package it but ran into a lot of problems. I will try it again but I didn't want to 'waste' too much time on packaging while I was still adding in features.

Of course. Will try to get it running using the readme (https://github.com/maran/mastercoin-wallet/blob/master/README.rdoc).

If you have any problems let me know. I am on OS X myself so I should be able to make it work for you :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on November 03, 2013, 08:31:49 PM
I've spend some time trying to package it but ran into a lot of problems. I will try it again but I didn't want to 'waste' too much time on packaging while I was still adding in features.

Of course. Will try to get it running using the readme (https://github.com/maran/mastercoin-wallet/blob/master/README.rdoc).

If you have any problems let me know. I am on OS X myself so I should be able to make it work for you :)

Will try to keep my noob questions to a minimum...but have never dealt with QT before..is QT 5 ok or must be QT 4?  Asking because I'm getting build errors..jsut trying on OS X for now..will try ubuntu as well.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 03, 2013, 09:03:42 PM
I believe QT5 is backwards compatible with QT4. Do know that brew has qt4. brew install qt will install 4, brew install qt5 will install 5.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: romerun on November 04, 2013, 12:14:05 AM
holy poo!


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on November 04, 2013, 12:37:44 AM
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?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: romerun on November 04, 2013, 12:46:57 AM
it's saying cannot get bitcoin address from private key which I got from dumpprivkey


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: ASIC-8Tile on November 04, 2013, 02:07:07 AM
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 (https://rubygems.global.ssl.fastly.net/quick/Marshal.4.8/mastercoin-ruby-0.0.5.gemspec.rz)

Is there an easier way?  :'(





Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on November 04, 2013, 04:18:19 AM
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 (https://rubygems.global.ssl.fastly.net/quick/Marshal.4.8/mastercoin-ruby-0.0.5.gemspec.rz)

Is there an easier way?  :'(

you need to elevate your permissions to that directory

try: sudo gem install mastercoin-wallet







Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 04, 2013, 09:27:44 AM
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?  :'(

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


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on November 04, 2013, 09:50:02 AM
For a non-dev like me it was quite a challenge to install this, but got it running finally. Awesome wallet so far!

Unfortunately, the app crashes when trying to make a simple send or when creating a new selling / purchasing offer. I suspect that's just a problem with my specific system setup (I'm on OS X 10.8.5) but I'm not sure yet what's causing this. Here's the terminal output after the crash (I removed the Bitcoin::Key part, don't know if this is sensitive data):

Code:
/Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.3/lib/mastercoin-wallet/builder.rb:178:in `create_transaction_with_keys': undefined method `pub_compressed' for #<Bitcoin::Key:XXXXXXXX> (NoMethodError)
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.3/lib/mastercoin-wallet/gui/simple_send_window.rb:51:in `send_payment'
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:95:in `new_simple_send'
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:0007c8 d:0007c8 TOP   



And another suggestion: column sorting on the "Distributed exchange" tab would be great (e.g. sort ascending by "Price per coin").


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 04, 2013, 10:03:58 AM
For a non-dev like me it was quite a challenge to install this, but got it running finally. Awesome wallet so far!

Unfortunately, the app crashes when trying to make a simple send or when creating a new selling / purchasing offer. I suspect that's just a problem with my specific system setup (I'm on OS X 10.8.5) but I'm not sure yet what's causing this. Here's the terminal output after the crash (I removed the Bitcoin::Key part, don't know if this is sensitive data):

Code:
/Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.3/lib/mastercoin-wallet/builder.rb:178:in `create_transaction_with_keys': undefined method `pub_compressed' for #<Bitcoin::Key:XXXXXXXX> (NoMethodError)
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.3/lib/mastercoin-wallet/gui/simple_send_window.rb:51:in `send_payment'
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:95:in `new_simple_send'
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:0007c8 d:0007c8 TOP   



And another suggestion: column sorting on the "Distributed exchange" tab would be great (e.g. sort ascending by "Price per coin").

Ooh interesting. The first real bug report! Thanks for taking the time to set it up. I know it's hard but this is also partly because I don't want to encourage everybody to start playing with this. If you succeed at installing it means you are fairly technical and probably better to provide good feedback.

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


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on November 04, 2013, 10:13:13 AM
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.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 04, 2013, 10:18:18 AM
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 :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on November 04, 2013, 02:28:13 PM
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 `<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   


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: jeroenn13 on November 04, 2013, 02:31:14 PM
Will there be a Windows mastercoin wallet soon?

I guess theres around 85% of mastercoin users are using windows as OS.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 04, 2013, 02:32:31 PM
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 :)

Will there be a Windows mastercoin wallet soon?

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

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


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: TKeenan on November 04, 2013, 03:39:35 PM
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'.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on November 04, 2013, 03:44:44 PM
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 :)

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 :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 04, 2013, 03:46:48 PM
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 :)

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 :)

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 :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: romerun on November 04, 2013, 04:29:09 PM
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


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 04, 2013, 04:32:41 PM
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.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 04, 2013, 05:31:13 PM
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.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on November 04, 2013, 06:25:55 PM
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?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 04, 2013, 06:27:30 PM
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 :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 04, 2013, 06:29:40 PM
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. :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on November 04, 2013, 06:30:52 PM
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. :)

Yep, got it now, thanks!


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: ASIC-8Tile on November 05, 2013, 12:05:10 AM
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?  :'(

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

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)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 05, 2013, 08:19:07 AM
You probably need to update your certs. If you have RVM installed do: rvm osx-ssl-certs update all


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on November 05, 2013, 08:55:23 AM
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!


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 05, 2013, 09:11:25 AM
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.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: ASIC-8Tile on November 05, 2013, 12:46:27 PM
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...


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 05, 2013, 12:53:08 PM
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 :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: ASIC-8Tile on November 05, 2013, 01:04:45 PM
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 :)

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



Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 05, 2013, 01:36:12 PM
Could you try this? https://github.com/raggi/openssl-osx-ca


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on November 05, 2013, 04:27:33 PM
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: https://i.imgur.com/Je9AoWY.png
- Will this wallet be able to manage multiple addresses at some point? That would be awesome.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 05, 2013, 04:37:14 PM
Just some more notes and suggestions:

- I have 0.0.4 running, yet the Window title still says "Mastercoin wallet v0.0.3"
Woopsy! I will make sure that doesn't happen again :)


- The label "My purchase offers" is cutted off on my system: https://i.imgur.com/Je9AoWY.png
Will fix that for the next release

- Will this wallet be able to manage multiple addresses at some point? That would be awesome.

Yeah I've considered doing this, shouldn't be too hard :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: romerun on November 05, 2013, 07:41:14 PM
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.

hm.. that's what Bitcoin-QT 0.85 gave me in console. My wallet is also encrypted, is that the reason why it does not give me standard format? um.. I'm on osx, don't have bitcoind.

According to the spec:

Quote
Wallet import format is the most common way to represent private keys in Bitcoin. For private keys associated with uncompressed public keys, they are 51 characters and always start with the number 5. Private keys associated with compressed public keys are 52 characters and start with a capital L or K. This is the same private key in wallet import format.

I have yet found a way to covert it to the 5 format.

Can you just support the "compressed" format ?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 05, 2013, 07:52:18 PM
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.

hm.. that's what Bitcoin-QT 0.85 gave me in console. My wallet is also encrypted, is that the reason why it does not give me standard format? um.. I'm on osx, don't have bitcoind.

According to the spec:

Quote
Wallet import format is the most common way to represent private keys in Bitcoin. For private keys associated with uncompressed public keys, they are 51 characters and always start with the number 5. Private keys associated with compressed public keys are 52 characters and start with a capital L or K. This is the same private key in wallet import format.

I have yet found a way to covert it to the 5 format.

Can you just support the "compressed" format ?

You mean the uncompressed format? That should also work; it's weird it doesn't for you. How many characters is your key? I will try some things :)

Edit: Think I can make it work for you, will post an update in a few minutes :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 05, 2013, 08:13:23 PM
I've just release 0.0.5.


* All private key formats should now work, please let me know if it doesn't.
* Fixed Label offset
* Set proper version number

Please let me know if this works for you romerun :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on November 05, 2013, 10:31:22 PM
Well - still kinda stuck.  Originally I was running ruby 2.0 with QT5 and later QT4 downloaded and installed via qt-project.org.  Could not install wallet so went back, removed QT and attempted to install via brew after doing brew update (also, I was using MacPorts which I first removed).  qt install was falling using brew so I was able to install it by using:

brew install https://raw.github.com/cliffrowley/homebrew/patched_qt/Library/Formula/qt.rb --HEAD

per https://github.com/mxcl/homebrew/pull/23793

and that was successful.  But still could not install wallet.  Thought maybe related to ruby 2.0 so changed to 1.9.3-p448

Now when I attempt to install wallet, I'm still getting smoke qtbinding errors for example:

Scanning dependencies of target smokeqtdbus
[ 42%] Building CXX object smoke/qtdbus/CMakeFiles/smokeqtdbus.dir/smokedata.o
/Users/xxx/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/gems/1.9.1/gems/qtbindings-4.8.3.0/ext/build/smoke/qtdbus/smokedata.cpp:12:32: error: use of undeclared identifier 'DBusError'
        case 1: return (void*)(DBusError*)xptr;
                               ^
/Users/xxx/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/gems/1.9.1/gems/qtbindings-4.8.3.0/ext/build/smoke/qtdbus/smokedata.cpp:12:42: error: expected expression
        case 1: return (void*)(DBusError*)xptr;

.
.
.
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[3]: *** [smoke/qtdbus/CMakeFiles/smokeqtdbus.dir/smokedata.o] Error 1
make[2]: *** [smoke/qtdbus/CMakeFiles/smokeqtdbus.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [build] Error 2

So that's where I'm stuck now...any thoughtst?
Considering setting up on an old macbook but need to free drive space first..


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 05, 2013, 10:41:09 PM
This is a long shot but could you try (re)installing ruby with rvm using 'rvm install 1.9.3 -C --enable-shared', and then try installing qtbindings again.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: romerun on November 06, 2013, 12:16:28 AM
I've just release 0.0.5.


* All private key formats should now work, please let me know if it doesn't.
* Fixed Label offset
* Set proper version number

Please let me know if this works for you romerun :)

o yea, now it's working, schwing!


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: ASIC-8Tile on November 06, 2013, 01:56:22 AM
Could you try this? https://github.com/raggi/openssl-osx-ca

Done. But still get errors when I run "gem install mastercoin-wallet"

The I gem install mastercoin-wallet
Fetching: bitcoin-ruby-0.0.2.gem (100%)
Successfully installed bitcoin-ruby-0.0.2
Fetching: sequel-4.1.1.gem (100%)
Successfully installed sequel-4.1.1
Fetching: thor-0.18.1.gem (100%)
Successfully installed thor-0.18.1
Fetching: activesupport-3.0.0.gem (100%)
Successfully installed activesupport-3.0.0
Fetching: mastercoin-ruby-0.1.0.gem (100%)
Successfully installed mastercoin-ruby-0.1.0
Fetching: qtbindings-4.8.3.0.gem (100%)
Building native extensions.  This could take a while...
ERROR:  Error installing mastercoin-wallet:
   ERROR: Failed to build gem native extension.

    /Users/XXXX/.rvm/rubies/ruby-1.9.3-p448/bin/ruby extconf.rb

make
mkdir ext/build
mkdir bin/1.8
mkdir bin/1.9
mkdir bin/plugins
mkdir bin/plugins/accessible
mkdir bin/plugins/bearer
mkdir bin/plugins/codecs
mkdir bin/plugins/designer
mkdir bin/plugins/graphicssystems
mkdir bin/plugins/iconengines
mkdir bin/plugins/imageformats
mkdir bin/plugins/phonon_backend
mkdir bin/plugins/qmltooling
mkdir bin/plugins/sqldrivers
mkdir lib/1.8
mkdir lib/1.9
cd ext/build; rm -rf CMakeFiles
cd ext/build; rm -rf generator
cd ext/build; rm -rf smoke
cd ext/build; rm -rf ruby
cd ext/build; rm *
rm: *: No such file or directory
make: [clean] Error 1 (ignored)
cd ext/build; \
cmake \
-G "Unix Makefiles" \
-Wno-dev \
-DENABLE_SMOKE=on \
-DENABLE_QTCORE_SMOKE=on \
-DENABLE_QTNETWORK_SMOKE=on \
-DENABLE_QTDBUS_SMOKE=on \
-DENABLE_QTGUI_SMOKE=on \
-DENABLE_QTSVG_SMOKE=on \
-DENABLE_QTSQL_SMOKE=on \
-DENABLE_QTXML_SMOKE=on \
-DENABLE_QTXMLPATTERNS_SMOKE=on \
-DENABLE_QTOPENGL_SMOKE=on \
-DENABLE_QTWEBKIT_SMOKE=on \
-DENABLE_QTSCRIPT_SMOKE=on \
-DENABLE_QTUITOOLS_SMOKE=on \
-DENABLE_QTTEST_SMOKE=on \
-DENABLE_QTMULTIMEDIA_SMOKE=on \
-DENABLE_QTRUBY=on \
-DENABLE_QTWEBKIT_RUBY=on \
-DENABLE_QTUITOOLS_RUBY=on \
-DENABLE_QTSCRIPT=on \
-DENABLE_QTTEST=on \
..
/bin/sh: cmake: command not found
make: [build] Error 127 (ignored)
cd ext/build; make
make[1]: *** No targets specified and no makefile found.  Stop.
make: *** [build] Error 2


Gem files will remain installed in /Users/XXXX/.rvm/gems/ruby-1.9.3-p448/gems/qtbindings-4.8.3.0 for inspection.
Results logged to /Users/XXXX/.rvm/gems/ruby-1.9.3-p448/gems/qtbindings-4.8.3.0/./gem_make.out

Tried to then run "mastercoin-wallet" but "-bash: mastercoin-wallet: command not found"


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 06, 2013, 08:39:41 AM
Did you install QT?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: ASIC-8Tile on November 06, 2013, 01:00:53 PM
Yes


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 06, 2013, 01:16:25 PM
Yes

Try brew install cmake :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: ASIC-8Tile on November 06, 2013, 01:25:42 PM
Installed.

Then ran "gem install mastercoin-wallet"


Building native extensions.  This could take a while...
ERROR:  Error installing mastercoin-wallet:
   ERROR: Failed to build gem native extension.

    /Users/XXXX/.rvm/rubies/ruby-1.9.3-p448/bin/ruby extconf.rb

make
mkdir ext/build
mkdir bin/1.8
mkdir bin/1.9
mkdir bin/plugins
mkdir bin/plugins/accessible
mkdir bin/plugins/bearer
mkdir bin/plugins/codecs
mkdir bin/plugins/designer
mkdir bin/plugins/graphicssystems
mkdir bin/plugins/iconengines
mkdir bin/plugins/imageformats
mkdir bin/plugins/phonon_backend
mkdir bin/plugins/qmltooling
mkdir bin/plugins/sqldrivers
mkdir lib/1.8
mkdir lib/1.9
cd ext/build; rm -rf CMakeFiles
cd ext/build; rm -rf generator
cd ext/build; rm -rf smoke
cd ext/build; rm -rf ruby
cd ext/build; rm *
rm: *: No such file or directory
make: [clean] Error 1 (ignored)
cd ext/build; \
cmake \
-G "Unix Makefiles" \
-Wno-dev \
-DENABLE_SMOKE=on \
-DENABLE_QTCORE_SMOKE=on \
-DENABLE_QTNETWORK_SMOKE=on \
-DENABLE_QTDBUS_SMOKE=on \
-DENABLE_QTGUI_SMOKE=on \
-DENABLE_QTSVG_SMOKE=on \
-DENABLE_QTSQL_SMOKE=on \
-DENABLE_QTXML_SMOKE=on \
-DENABLE_QTXMLPATTERNS_SMOKE=on \
-DENABLE_QTOPENGL_SMOKE=on \
-DENABLE_QTWEBKIT_SMOKE=on \
-DENABLE_QTSCRIPT_SMOKE=on \
-DENABLE_QTUITOOLS_SMOKE=on \
-DENABLE_QTTEST_SMOKE=on \
-DENABLE_QTMULTIMEDIA_SMOKE=on \
-DENABLE_QTRUBY=on \
-DENABLE_QTWEBKIT_RUBY=on \
-DENABLE_QTUITOOLS_RUBY=on \
-DENABLE_QTSCRIPT=on \
-DENABLE_QTTEST=on \
..
-- The C compiler identification is Clang 5.0.0
-- The CXX compiler identification is Clang 5.0.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /usr/local/Cellar/cmake/2.8.12/share/cmake/Modules/FindQt4.cmake:1386 (message):
  Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x
Call Stack (most recent call first):
  generator/CMakeLists.txt:3 (find_package)


-- Configuring incomplete, errors occurred!
See also "/Users/XXXX/.rvm/gems/ruby-1.9.3-p448/gems/qtbindings-4.8.3.0/ext/build/CMakeFiles/CMakeOutput.log".
make: [build] Error 1 (ignored)
cd ext/build; make
make[1]: *** No targets specified and no makefile found.  Stop.
make: *** [build] Error 2


Gem files will remain installed in /Users/XXXX/.rvm/gems/ruby-1.9.3-p448/gems/qtbindings-4.8.3.0 for inspection.
Results logged to /Users/XXXX/.rvm/gems/ruby-1.9.3-p448/gems/qtbindings-4.8.3.0/./gem_make.out


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 06, 2013, 01:28:24 PM
How did you install QT?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: ASIC-8Tile on November 06, 2013, 01:36:06 PM
http://download.qt-project.org/official_releases/qt/4.8/4.8.5/qt-mac-opensource-4.8.5.dmg (http://download.qt-project.org/official_releases/qt/4.8/4.8.5/qt-mac-opensource-4.8.5.dmg)



Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 06, 2013, 01:37:23 PM
Please uninstall that and use the instructions from the readme. brew install qt


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on November 06, 2013, 03:52:01 PM
I really had to fight with qtbindings but finally got things going and I finally have a functioning mastercoin-wallet!  great work Tachikoma!...will start doing some testing after work.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 06, 2013, 03:55:16 PM
Coolio! I'm considering enabling normal Mastercoin transactions for simple sends, so that it at least can be used to do trades.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 06, 2013, 05:21:33 PM
If anybody is feeling adventurous I have updated the instructions (https://github.com/maran/mastercoin-wallet/blob/master/README.rdoc) on how to make it work on Windows. I wonder if it's complete so if anybody want to try it I would be grateful :)

 


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: ASIC-8Tile on November 06, 2013, 10:39:45 PM
Please uninstall that and use the instructions from the readme. brew install qt

Uninstalled and used the following, "brew install qt cmake" per instructions via readme

Warning: It appears you have MacPorts or Fink installed.
Software installed with other package managers causes known problems for
Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again.
==> Downloading http://download.qt-project.org/official_releases/qt/4.8/4.8.5/qt
######################################################################## 100.0%
==> ./configure -prefix /usr/local/Cellar/qt/4.8.5 -system-zlib -confirm-license
==> make
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [../../../../../../lib/QtWebKit.framework/QtWebKit] Error 1
make[2]: *** [release] Error 2
make[1]: *** [sub-WebKit-qt-QtWebKit-pro-make_default-ordered] Error 2
make: *** [sub-webkit-make_default-ordered] Error 2

READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting

These open issues may also help:
    https://github.com/mxcl/homebrew/pull/23890
    https://github.com/mxcl/homebrew/pull/22283
    https://github.com/mxcl/homebrew/issues/23480
MacBook-Pro:~ XXXX$ gem install mastercoin-wallet
Building native extensions.  This could take a while...
ERROR:  Error installing mastercoin-wallet:
   ERROR: Failed to build gem native extension.

    /Users/XXXX/.rvm/rubies/ruby-1.9.3-p448/bin/ruby extconf.rb

make
mkdir ext/build
mkdir bin/1.8
mkdir bin/1.9
mkdir bin/plugins
mkdir bin/plugins/accessible
mkdir bin/plugins/bearer
mkdir bin/plugins/codecs
mkdir bin/plugins/designer
mkdir bin/plugins/graphicssystems
mkdir bin/plugins/iconengines
mkdir bin/plugins/imageformats
mkdir bin/plugins/phonon_backend
mkdir bin/plugins/qmltooling
mkdir bin/plugins/sqldrivers
mkdir lib/1.8
mkdir lib/1.9
cd ext/build; rm -rf CMakeFiles
cd ext/build; rm -rf generator
cd ext/build; rm -rf smoke
cd ext/build; rm -rf ruby
cd ext/build; rm *
rm: *: No such file or directory
make: [clean] Error 1 (ignored)
cd ext/build; \
cmake \
-G "Unix Makefiles" \
-Wno-dev \
-DENABLE_SMOKE=on \
-DENABLE_QTCORE_SMOKE=on \
-DENABLE_QTNETWORK_SMOKE=on \
-DENABLE_QTDBUS_SMOKE=on \
-DENABLE_QTGUI_SMOKE=on \
-DENABLE_QTSVG_SMOKE=on \
-DENABLE_QTSQL_SMOKE=on \
-DENABLE_QTXML_SMOKE=on \
-DENABLE_QTXMLPATTERNS_SMOKE=on \
-DENABLE_QTOPENGL_SMOKE=on \
-DENABLE_QTWEBKIT_SMOKE=on \
-DENABLE_QTSCRIPT_SMOKE=on \
-DENABLE_QTUITOOLS_SMOKE=on \
-DENABLE_QTTEST_SMOKE=on \
-DENABLE_QTMULTIMEDIA_SMOKE=on \
-DENABLE_QTRUBY=on \
-DENABLE_QTWEBKIT_RUBY=on \
-DENABLE_QTUITOOLS_RUBY=on \
-DENABLE_QTSCRIPT=on \
-DENABLE_QTTEST=on \
..
-- The C compiler identification is Clang 5.0.0
-- The CXX compiler identification is Clang 5.0.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /usr/local/Cellar/cmake/2.8.12/share/cmake/Modules/FindQt4.cmake:1386 (message):
  Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x
Call Stack (most recent call first):
  generator/CMakeLists.txt:3 (find_package)


-- Configuring incomplete, errors occurred!
See also "/Users/XXXX/.rvm/gems/ruby-1.9.3-p448/gems/qtbindings-4.8.3.0/ext/build/CMakeFiles/CMakeOutput.log".
make: [build] Error 1 (ignored)
cd ext/build; make
make[1]: *** No targets specified and no makefile found.  Stop.
make: *** [build] Error 2


Gem files will remain installed in /Users/XXXX/.rvm/gems/ruby-1.9.3-p448/gems/qtbindings-4.8.3.0 for inspection.
Results logged to /Users/XXXX/.rvm/gems/ruby-1.9.3-p448/gems/qtbindings-4.8.3.0/./gem_make.out
MacBook-Pro:~ XXXX$ mastercoin-wallet
-bash: mastercoin-wallet: command not found



Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 06, 2013, 10:51:41 PM
I think this pull request (https://github.com/mxcl/homebrew/pull/23793) handles your problems.

tl;dr brew update && brew install https://raw.github.com/cliffrowley/homebrew/patched_qt/Library/Formula/qt.rb --HEAD


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: ASIC-8Tile on November 06, 2013, 11:07:33 PM
Thanks Tachikoma. Doing the patch now.
What do I run after?
I presume gem install mastercoin-wallet
 :)

Still error messages... Thanks for your help Tachikoma.

gem install mastercoin-wallet
Building native extensions.  This could take a while...
ERROR:  Error installing mastercoin-wallet:
   ERROR: Failed to build gem native extension.

    /Users/XXXX/.rvm/rubies/ruby-1.9.3-p448/bin/ruby extconf.rb

make
mkdir ext/build
mkdir bin/1.8
mkdir bin/1.9
mkdir bin/plugins
mkdir bin/plugins/accessible
mkdir bin/plugins/bearer
mkdir bin/plugins/codecs
mkdir bin/plugins/designer
mkdir bin/plugins/graphicssystems
mkdir bin/plugins/iconengines
mkdir bin/plugins/imageformats
mkdir bin/plugins/phonon_backend
mkdir bin/plugins/qmltooling
mkdir bin/plugins/sqldrivers
mkdir lib/1.8
mkdir lib/1.9
cd ext/build; rm -rf CMakeFiles
cd ext/build; rm -rf generator
cd ext/build; rm -rf smoke
cd ext/build; rm -rf ruby
cd ext/build; rm *
rm: *: No such file or directory
make: [clean] Error 1 (ignored)
cd ext/build; \
cmake \
-G "Unix Makefiles" \
-Wno-dev \
-DENABLE_SMOKE=on \
-DENABLE_QTCORE_SMOKE=on \
-DENABLE_QTNETWORK_SMOKE=on \
-DENABLE_QTDBUS_SMOKE=on \
-DENABLE_QTGUI_SMOKE=on \
-DENABLE_QTSVG_SMOKE=on \
-DENABLE_QTSQL_SMOKE=on \
-DENABLE_QTXML_SMOKE=on \
-DENABLE_QTXMLPATTERNS_SMOKE=on \
-DENABLE_QTOPENGL_SMOKE=on \
-DENABLE_QTWEBKIT_SMOKE=on \
-DENABLE_QTSCRIPT_SMOKE=on \
-DENABLE_QTUITOOLS_SMOKE=on \
-DENABLE_QTTEST_SMOKE=on \
-DENABLE_QTMULTIMEDIA_SMOKE=on \
-DENABLE_QTRUBY=on \
-DENABLE_QTWEBKIT_RUBY=on \
-DENABLE_QTUITOOLS_RUBY=on \
-DENABLE_QTSCRIPT=on \
-DENABLE_QTTEST=on \
..
-- The C compiler identification is Clang 5.0.0
-- The CXX compiler identification is Clang 5.0.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /usr/local/Cellar/cmake/2.8.12/share/cmake/Modules/FindQt4.cmake:1386 (message):
  Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x
Call Stack (most recent call first):
  generator/CMakeLists.txt:3 (find_package)


-- Configuring incomplete, errors occurred!
See also "/Users/XXXX/.rvm/gems/ruby-1.9.3-p448/gems/qtbindings-4.8.3.0/ext/build/CMakeFiles/CMakeOutput.log".
make: [build] Error 1 (ignored)
cd ext/build; make
make[1]: *** No targets specified and no makefile found.  Stop.
make: *** [build] Error 2


Gem files will remain installed in /Users/XXXX/.rvm/gems/ruby-1.9.3-p448/gems/qtbindings-4.8.3.0 for inspection.
Results logged to /Users/XXXX/.rvm/gems/ruby-1.9.3-p448/gems/qtbindings-4.8.3.0/./gem_make.out


The main error I see is "Make Error at /usr/local/Cellar/cmake/2.8.12/share/cmake/Modules/FindQt4.cmake:1386 (message):
  Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x"



Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on November 07, 2013, 07:07:00 AM
Playing around with the wallet a bit - submitted a purchase and a couple minutes later a sell.  Its been about 10 minutes or so and the sell offer is listed but I haven't yet seen the purchase go through.  Are updates still running around 15 min?

Also, it might be nice to be able to pull up TX hashes from the app rather than going to the log file - though assume you intend to add more detail like this in the future...perhaps getting the option when double clicking?

Thinking about getting things going in ubuntu.

Edit:  Also while running wallet, my terminal shows:

ruby[44902:d0b] modalSession has been exited prematurely - check for a reentrant call to endModalSession:


Obviously not a ruby expert - is that expected or noteworthy?

Edit2:  Appears to again be Mavericks/qt related - so far does not impede functionality of the wallet.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on November 07, 2013, 08:17:52 AM
Couple more items that would be nice to have:

Address book or ability to easily capture/copy addresses

A way to view the expiration time for offers in the order book

On dashboard, transaction details with double click would be nice - tx and sender/receiver address


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 07, 2013, 08:36:38 AM
Playing around with the wallet a bit - submitted a purchase and a couple minutes later a sell.  Its been about 10 minutes or so and the sell offer is listed but I haven't yet seen the purchase go through.  Are updates still running around 15 min?

Yeah I have been having the same problem but I found the problem. The wallet keeps a record of all unspent outputs; outputs which can be used to create new transactions. The problem is that it is re-using outputs because as long as a transaction is not in the blockchain the output is still considered to be unspent. I will have to solve this by keeping a record of all newly created transaction locally and somehow merge these with the outputs the server gives us. This will be the main focus for the next release since right now the only way to send transactions is to wait until your previous one ended up in a block. Which is less then ideal!

Also, it might be nice to be able to pull up TX hashes from the app rather than going to the log file - though assume you intend to add more detail like this in the future...perhaps getting the option when double clicking?

Once I fixed the problem above I will be adding more context menu's to the application. Basically this will give me the option to put more details in. If I would add it right now the tables would become huge ;)

Couple more items that would be nice to have:

Address book or ability to easily capture/copy addresses

A way to view the expiration time for offers in the order book

Selling offers don't have a expiration time. Only your Purchase Offers :)

Thanks for the feedback again :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 07, 2013, 08:37:20 AM
Thanks Tachikoma. Doing the patch now.
What do I run after?
I presume gem install mastercoin-wallet
 :)

Still error messages... Thanks for your help Tachikoma.

There were no issues when installing the patched QT? I'm sorry but I'm running out of ideas here :/


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on November 07, 2013, 08:48:04 AM
I did a simple send to another address.  On the dashboard, the transaction shows up as 3 separate entries:  Sold, Bought, and Sent with the same amount I sent listed next to each one.

My balances reflect the correct amount but I was not expecting to see 3 separate entries listed like that for a simple send.  Does that make sense?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 07, 2013, 08:50:07 AM
I did a simple send to another address.  On the dashboard, the transaction shows up as 3 separate entries:  Sold, Bought, and Sent with the same amount I sent listed next to each one.

My balances reflect the correct amount but I was not expecting to see 3 separate entries listed like that for a simple send.  Does that make sense?

Nope it does not. Will fix this :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 07, 2013, 09:10:49 PM
I've just released 0.0.6.

Most notable in this release is the fact that you can now send multiple transactions without having to wait for the old one to be confirmed first. It keeps a record of unconfirmed transactions and uses those if no other inputs are available.

I've also fixed superfluouso's problem where a transaction got added multiple times to the dashboard view. If this release is deemed stable I will enable Simple Sends using real coins.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: TKeenan on November 08, 2013, 12:19:32 AM
Ugghhh!!

I got as far as this page:

Quick start

Download it, run it to extract it somewhere (permanent). Then cd to it, run “ruby dk.rb init” and “ruby dk.rb install” to bind it to ruby installations in your path.

Questions

Questions from the end user: I downloaded DevKit as exe file, unpacked it. Should I place it to some permanent location and then run installation scripts or I can simply run installation script and then delete the unpacked DevKit folder (in a second case I assume that this script injects DevKit into Ruby installation in some way)? – the answer to this question should be placed in first lines of installation guide as it is very important.

Answer: The file should be in its permanent location before running “ruby dk.rb init”.


where is the permanent location?  ...so I chose one.  Then how does one run “ruby dk.rb init” and “ruby dk.rb install” I can't find anything in the directory which could be run that looks like this stuff.  How do I run "ruby dk.rb init"?

So now the whole damn thing is unusable because Ruby set up instructions are so vague.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on November 08, 2013, 07:51:05 AM
I've just released 0.0.6.

Most notable in this release is the fact that you can now send multiple transactions without having to wait for the old one to be confirmed first. It keeps a record of unconfirmed transactions and uses those if no other inputs are available.

I've also fixed superfluouso's problem where a transaction got added multiple times to the dashboard view. If this release is deemed stable I will enable Simple Sends using real coins.

Very Nice!  I can confirm purchase offer shows up correctly - I hope whoever 1EdAjiAp... belongs to doesn't mind that I bought a small amount of the test coins from your sell offer as a test.

Also, yes, the simple send no longer adds the multiple entries to the dashboard view - this is great.

I have a couple nitpicky things I noticed

- In the dashboard view, my address gets cut off under where it says "Mastercoin wallet for".   I guess the font needs to be smaller or the window larger.

- If I sort my sent/receive transactions by date, it appears to just sort based on the calendar day so you may not see the most recent/oldest transaction listed first like you might expect.  For example, 28-10-13 will be listed ahead of 08-11-13 as the most recent send.  Not clear if this is the case when looking at the order book as there are not any offers listed with an October date, however, I notice the date and time format is different on that view.

Great work!


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 08, 2013, 09:51:21 AM
Ugghhh!!

I got as far as this page:

Quick start

Download it, run it to extract it somewhere (permanent). Then cd to it, run “ruby dk.rb init” and “ruby dk.rb install” to bind it to ruby installations in your path.

Questions

Questions from the end user: I downloaded DevKit as exe file, unpacked it. Should I place it to some permanent location and then run installation scripts or I can simply run installation script and then delete the unpacked DevKit folder (in a second case I assume that this script injects DevKit into Ruby installation in some way)? – the answer to this question should be placed in first lines of installation guide as it is very important.

Answer: The file should be in its permanent location before running “ruby dk.rb init”.


where is the permanent location?  ...so I chose one.  Then how does one run “ruby dk.rb init” and “ruby dk.rb install” I can't find anything in the directory which could be run that looks like this stuff.  How do I run "ruby dk.rb init"?

So now the whole damn thing is unusable because Ruby set up instructions are so vague.

I would suggest you wait for Zathras's pure Windows wallet if this stuff scares you, it will be much easier. Go to start find "Open command prompt with ruby" go to the folder you installed the devkit and issue those commands. Again this isn't really easy to do and my wallet will always be for unix-type OS's but since at this moment nothing else is available it seemed like a nice thing to do.


I've just released 0.0.6.

Most notable in this release is the fact that you can now send multiple transactions without having to wait for the old one to be confirmed first. It keeps a record of unconfirmed transactions and uses those if no other inputs are available.

I've also fixed superfluouso's problem where a transaction got added multiple times to the dashboard view. If this release is deemed stable I will enable Simple Sends using real coins.

Very Nice!  I can confirm purchase offer shows up correctly - I hope whoever 1EdAjiAp... belongs to doesn't mind that I bought a small amount of the test coins from your sell offer as a test.

Also, yes, the simple send no longer adds the multiple entries to the dashboard view - this is great.

I have a couple nitpicky things I noticed

- In the dashboard view, my address gets cut off under where it says "Mastercoin wallet for".   I guess the font needs to be smaller or the window larger.

- If I sort my sent/receive transactions by date, it appears to just sort based on the calendar day so you may not see the most recent/oldest transaction listed first like you might expect.  For example, 28-10-13 will be listed ahead of 08-11-13 as the most recent send.  Not clear if this is the case when looking at the order book as there are not any offers listed with an October date, however, I notice the date and time format is different on that view.

Great work!


Yeah that address on the dashboard is being annoying. It now works for me on OS X and Windows but other OS's have different font-types which makes it hard. I think I will just make a lot smaller that should hopefully permanently fix it. I looked into the date thing and sadly QT Is not smart enough to recognise it as a date, yet. I will see if I can tell it it's a date and sort it accordingly.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on November 09, 2013, 07:20:05 PM
I guess the latest purchase I attempted did not go through despite my sending the BTC - I may have just been to slow as the purchase offer now shows Expired, no payment received.  Will that expired purchase offer remain listed there in my wallet indefinitely or should it go away at some point?

Edit:  Also, can't wait to see the wallet from Zathras, have a windows vm spun up and ready to go!


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 09, 2013, 07:30:53 PM
I guess the latest purchase I attempted did not go through despite my sending the BTC - I may have just been to slow as the purchase offer now shows Expired, no payment received.  Will that expired purchase offer remain listed there in my wallet indefinitely or should it go away at some point?

Edit:  Also, can't wait to see the wallet from Zathras, have a windows vm spun up and ready to go!

Do you have the transaction ids so I can check it out? I've been doing a lot of work on Mastercoin-explorer and perhaps something messed up :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on November 10, 2013, 05:09:56 AM
I guess the latest purchase I attempted did not go through despite my sending the BTC - I may have just been to slow as the purchase offer now shows Expired, no payment received.  Will that expired purchase offer remain listed there in my wallet indefinitely or should it go away at some point?

Edit:  Also, can't wait to see the wallet from Zathras, have a windows vm spun up and ready to go!

Do you have the transaction ids so I can check it out? I've been doing a lot of work on Mastercoin-explorer and perhaps something messed up :)

Sure..tx: a1b5d7c73e9ec345075eb2357c4dbfced610bdac63808f2f0d05fa431e266795

I'll do a couple more tests if possible later tonight.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 10, 2013, 07:42:29 AM
Ok I took a look at your transaction and it's not being accepted because you did not send enough funds. This is a rounding error on Mastercoin-explorer and I will fix this shortly, when I do your transaction should be valid :)

Edit: This is now fixed (http://mastercoin-explorer.com/transactions/a1b5d7c73e9ec345075eb2357c4dbfced610bdac63808f2f0d05fa431e266795). Thanks for the report!


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on November 10, 2013, 09:57:36 AM
Ok I took a look at your transaction and it's not being accepted because you did not send enough funds. This is a rounding error on Mastercoin-explorer and I will fix this shortly, when I do your transaction should be valid :)

Edit: This is now fixed (http://mastercoin-explorer.com/transactions/a1b5d7c73e9ec345075eb2357c4dbfced610bdac63808f2f0d05fa431e266795). Thanks for the report!

That explains it.  Yes, shows correctly now. Thx!  I'm trying another purchase offer now but its taking awhile to show up..will send you the tx for that if it fails to appear.

Also, found a typo.  When entering a mastercoin address for simple send or purchase offer etc, there is a "c" missing from the mastercoin label (masteroin).

Lastly, in case anyone else is eager to try the wallet, I was able to install it fairly easily on Ubuntu 13.04.  One catch was getting qtbindings to install.  For those unaware, like myself, I learned you must install the development package of ruby (sudo apt-get install ruby1.9-dev) because the base package on ubuntu does not include mkmf.  oh, and one other nitpicky thing, when launching the first time in ubuntu and you enter your password and private key.  Entering the private key correctly displays the corresponding address however, it is partially covered up by the "Done" button.  Can't recall if this was also an issue in OS X, and again, these are minor things, at least to me.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 10, 2013, 10:08:46 AM
Ok I took a look at your transaction and it's not being accepted because you did not send enough funds. This is a rounding error on Mastercoin-explorer and I will fix this shortly, when I do your transaction should be valid :)

Edit: This is now fixed (http://mastercoin-explorer.com/transactions/a1b5d7c73e9ec345075eb2357c4dbfced610bdac63808f2f0d05fa431e266795). Thanks for the report!

That explains it.  Yes, shows correctly now. Thx!  I'm trying another purchase offer now but its taking awhile to show up..will send you the tx for that if it fails to appear.

Also, found a typo.  When entering a mastercoin address for simple send or purchase offer etc, there is a "c" missing from the mastercoin label (masteroin).

Lastly, in case anyone else is eager to try the wallet, I was able to install it fairly easily on Ubuntu 13.04.  One catch was getting qtbindings to install.  For those unaware, like myself, I learned you must install the development package of ruby (sudo apt-get install ruby1.9-dev) because the base package on ubuntu does not include mkmf.  oh, and one other nitpicky thing, when launching the first time in ubuntu and you enter your password and private key.  Entering the private key correctly displays the corresponding address however, it is partially covered up by the "Done" button.  Can't recall if this was also an issue in OS X, and again, these are minor things, at least to me.

I just discovered there is a transaction in the blockchain that fails to be parsed by bitcoin-ruby, right now Mastercoin-explorer is stuck at 268560. I'm trying to fix this at the moment. I think it will show up if I can fix it. Will take up the other things :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on November 10, 2013, 10:14:21 AM
Well its been over 30 minutes since my 3 tx's were confirmed on the block chain for the latest purchase offer I tried to create and I still don't see it in the wallet - is it this tx?

I'm attempting to buy 0.227 Test MSC from 1EdAjiApS5cCpHdH4RKPMab1xmMVRWjLvk again using 16rAwebBXhJAM9ALf3fLFbaHKz24r2o3UN

Status: 10 confirmations
Date: 11/9/13 21:56
To: 1EdAjiApS5cCpHdH4RKPMab1xmMVRWjLvk
Debit: -0.00006 BTC
To: 1EXoDusjGwvnjZUyKkxZ4UHEf77z6A5S4P
Debit: -0.00006 BTC
Debit: -0.00012 BTC
Transaction fee: -0.001 BTC
Net amount: -0.00124 BTC
Transaction ID: 75990828a7f18fe1a6fd1b3baa9e04d6ec665e811c797113a4e3133b7b084b4c




Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 10, 2013, 10:20:20 AM
No it has nothing to do with you, or Mastercoin in general. Mastercoin-explorer uses a alternative Bitcoin implementation in ruby to parse the blockchain. There is a problem parsing one of the transactions after block 268560 and it's stuck here. I will need to see if I can patch Bitcoin-ruby this will solve the issues.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on November 11, 2013, 09:00:40 AM
A question about the "Top 50" list at Mastercoin-explorer:
http://mastercoin-explorer.com/addresses

It seems some addresses are excluded, why is that? Privacy reasons?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 11, 2013, 09:34:35 AM
Hmm no, that's weird. It checks my database for all transactions it saw and collects those addresses. I had some problems over the last few days I'm guessing somehow my db might have lost data. Do you have some specifics addresses I can test to see why there are missing?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on November 11, 2013, 09:37:57 AM
Hmm no, that's weird. It checks my database for all transactions it saw and collects those addresses. I had some problems over the last few days I'm guessing somehow my db might have lost data. Do you have some specifics addresses I can test to see why there are missing?

The most obvious one is what I think must be J.R.'s address, holding the largest chunk of Mastercoins:
http://mastercoin-explorer.com/addresses/15WrQhYhHts7jTMoGJ9rDCD12JuCTKy7MM


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 11, 2013, 09:43:39 AM
Found it, should be fixed.

I'm writing a test-suite and updating my validation rules at the same time. I did not make an exception for Exodus transactions yet and they fail my verification rules... I'm not censoring sorry for giving that impression :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on November 11, 2013, 09:44:59 AM
Found it, should be fixed.

I'm writing a test-suite and updating my validation rules at the same time. I did not make an exception for Exodus transactions yet and they fail my verification rules... I'm not censoring sorry for giving that impression :)

Great, looks much better now!


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: gurcani on November 11, 2013, 08:22:06 PM
Trying to understand how it works...

so I have two questions:

1) is this supposed to work?

http://mastercoin-explorer.com/order_books

I tried to realize to first transaction. I can see the transaction it generates but when I try to sign it I get a

"complete" : false

And yes I unlocked my wallet. I wonder if I am doing something wrong or maybe it is not functional yet.

2) Another question is when I use the api:

http://mastercoin-explorer.com/api/v1/selling_offers.json

and parse it with python. I see that there are more orders than that are visible on the web interface. What are they? Are they invalid orders or filled orders or something? Currently I can't run the ruby interface so maybe it would have been clear if I did.

thanks,


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 11, 2013, 08:25:21 PM
Trying to understand how it works...

so I have two questions:

1) is this supposed to work?

http://mastercoin-explorer.com/order_books

I tried to realize to first transaction. I can see the transaction it generates but when I try to sign it I get a

"complete" : false

And yes I unlocked my wallet. I wonder if I am doing something wrong or maybe it is not functional yet.


I already successfully used it, so yes it should work. Try using decoderawtransaction and check if you do in fact own the input it's using. Or feel free to paste the decoded transaction if you don't know how to read it and I will take a look at it.

2) Another question is when I use the api:

http://mastercoin-explorer.com/api/v1/selling_offers.json

and parse it with python. I see that there are more orders than that are visible on the web interface. What are they? Are they invalid orders or filled orders or something? Currently I can't run the ruby interface so maybe it would have been clear if I did.

thanks,

These are all the selling offers. I only display the latest one per address that are not all used up on the website.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: jawnzer on November 12, 2013, 02:55:21 AM
I feel like an absolute dunce right now. I am not a programmer/developer so for me to get this far I was quite proud of my self (had to go through and re install qt through the pull request you posted tach. But now that I have everything installed, where do I go to actually open the program.......  :-[


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 12, 2013, 09:00:07 AM
Open a terminal and type: mastercoin-wallet ^^


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: gurcani on November 12, 2013, 10:51:05 AM

I tried to realize to first transaction. I can see the transaction it generates but when I try to sign it I get a

"complete" : false


As a note to the people who may run into the same problem in the future.

Once the blockchain download was complete, I could sign. So apparently, this was happening because I tried to sign before downloading the blockchain completely. It was probably checking for the balance on the bitcoin address. This wasn't obvious for me as I was acting under the assumption that I didn't need the blockchain to sign something.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: gurcani on November 12, 2013, 10:56:17 AM

http://mastercoin-explorer.com/order_books

so "test mastercoin" is not the same thing as mastercoin right?

Also is there any problem with signing the transaction and not sending it? (I suppose not)

What happens if I sign + send the raw transaction, but not send the bitcoins?

just asking questions to understand how things work.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 12, 2013, 11:05:35 AM
Test Mastercoins are not the same as Mastercoins, they are a separate currency meant for testing. At this moment there is still some discussion on how to interpret the spec which makes sending real transasctions tricky since things might still change.

You can sign a transaction but unless you send it nothing will happen. If you send the transaction but don't send the coins your offer will expire based on the time set out in the original selling offer.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: jawnzer on November 12, 2013, 07:11:00 PM
Open a terminal and type: mastercoin-wallet ^^

Much appreciated, all up and running now!


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 12, 2013, 07:12:12 PM
Open a terminal and type: mastercoin-wallet ^^

Much appreciated, all up and running now!

Welcome aboard! :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: prophetx on November 12, 2013, 07:35:09 PM
Open a terminal and type: mastercoin-wallet ^^

Much appreciated, all up and running now!

this tutorial might help you

i still need to add screen shots for the sell offer (hopefully in another day or two after i finish some other work)

http://blog.mastercoin.org/2013/11/02/tutorial-test-msc-btc-distributed-exchange-transactions/


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 12, 2013, 07:39:57 PM
Open a terminal and type: mastercoin-wallet ^^

Much appreciated, all up and running now!

this tutorial might help you

i still need to add screen shots for the sell offer (hopefully in another day or two after i finish some other work)

http://blog.mastercoin.org/2013/11/02/tutorial-test-msc-btc-distributed-exchange-transactions/

He is talking about the wallet software, not the website :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: jawnzer on November 12, 2013, 07:48:53 PM
Open a terminal and type: mastercoin-wallet ^^

Much appreciated, all up and running now!

this tutorial might help you

i still need to add screen shots for the sell offer (hopefully in another day or two after i finish some other work)

http://blog.mastercoin.org/2013/11/02/tutorial-test-msc-btc-distributed-exchange-transactions/

He is talking about the wallet software, not the website :)
Actually that helped quite a bit, step by step like that does help me quite a bit so just going to read over that now. But only able to execute this through Bitcoin-QT? What does QT have over other wallets, like Multibit?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 12, 2013, 07:52:16 PM
As long as you can sign transactions you can use any client that supports it.

The Mastercoin-wallet software just does all this for you so you don't need an other (Bitcoin) client.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: jawnzer on November 12, 2013, 08:48:44 PM
As long as you can sign transactions you can use any client that supports it.

The Mastercoin-wallet software just does all this for you so you don't need an other (Bitcoin) client.

Ahhh, okay so that website did throw me off a bit. The last thing, hopefully, is getting the private key. That's where I was a little thrown off by that site, do I need a bitcoin client to generate a private address for me?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 12, 2013, 08:49:36 PM
The idea is that you have a normal bitcoin wallet and reserve one of the addresses there as your Mastercoin address. You dump that key :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 13, 2013, 11:20:12 PM
Mastercoin-explorer is now upgraded and running on a SSD. It's currently catching up on the day it missed but should be up-to-date within a few hours.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: ASIC-8Tile on November 14, 2013, 01:49:38 AM
Hi Tachikoma,

I quick UI suggestion for the Smart Property. Some button location differences. Select a category from the Distributed Exchange and then fill in the details. (To be developed as per your specs that you think would be good to add).

The URL below points to a Smart Category UI implementation of your wallet. Suggestion for Zathras, Grazcoin and Bitoy as well.
Let me know how I can help with some more UI

http://imgur.com/e8wavsS (http://imgur.com/e8wavsS)

Shawn





This is the joint topic for all things that have to do with my implementations of the Mastercoin.

Mastercoin-explorer (http://mastercoin-explorer.com/), a website for looking up Mastercoin transactions.
Mastercoin-ruby (https://github.com/maran/mastercoin-ruby), a ruby library for encoding/decoding Mastercoin messages.
Mastercoin-wallet (https://github.com/maran/mastercoin-wallet), a thin client for sending/creating Mastercoin transactions.

This topic is meant to be a centralised place to discuss the behaviour and report bugs for these libraries.

Mastercoin-wallet

https://i.imgur.com/iVthNGj.pnghttps://i.imgur.com/jVCepZO.png

Features
  • View your transactions
  • Create/Send Simple Send transactions
  • Create/Send distributed Sell orders
  • Create/Send distributed Purchase orders
  • Create/Send Bitcoin payments for Purchase orders

Mastercoin wallet is a proof-of-concept thin client for Mastercoin. It communicates with Mastercoin-explorer in order to facilitates it features. To install Mastercoin-wallet read the Readme instructions (https://github.com/maran/mastercoin-wallet/blob/master/README.rdoc). Once you have the dependencies it's a matter of typing 'gem install mastercoin-wallet' to install it and 'mastercoin-wallet' to start it. If you are using Bitcoind currently you can aquire your private key using the dumpprivkey console command.

Gotcha's/tips while using the software
  • The wallet requires at least Qt 4.7 for now. It will crash with 'undefined method PlaceHolderText' if you don't have it.
  • Mastercoin-explorer is currently updating it's database every 15 minutes. It is possible that data displayed is thus lagging behind other sources.
  • Mastercoin-explorer is currently updating it's database every 15 minutes. It is possible that data displayed is thus lagging behind other sources.
  • There will be a log file in your home folder (~/.mastercoin-wallet/debug.log on unix-like systems) that will give you the raw transaction hash that you can use to decode the messages.
  • Please realise that each Mastercoin transaction, even if it's test, will cost real Bitcoins. (even if they are just costing tiny amounts)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 14, 2013, 09:01:56 AM
As soon as we start coding up smart property I will check it out :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 14, 2013, 04:55:49 PM
I've just released version 0.0.7

Changes
  • GUI improvements, all windows are now resizeable and your address is selectable. (Thanks to Rot13 (https://github.com/maran/mastercoin-wallet/pull/2))
  • Added supported for 'accepted amount'. When ever you do a Purchase Offer the accepted amount is the amount your offer ended up with. Sometimes people will be offering on the same 'Selling Offer' so coins might run out.
  • Added date based sorting to the dashboard.
  • Enabled real Mastercoin Simple Send transactions.

It's now possible to send real coins using this wallet. As always this is Alpha software so don't send out large amounts and triple check everything.

As always install by issuing 'gem install mastercoin-wallet'.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on November 15, 2013, 07:30:15 AM
Nice improvements! resizeable windows and being able to see and select my address are welcome additions.

The date based sorting on the dashboard is slightly off.  Below is what I see if trying to sort so that the most recent transaction appears first:

https://i.imgur.com/BNHw7xH.jpg

Also, still missing a c on simple send field:

https://i.imgur.com/hPT9vep.jpg

Getting set up now to test some simple sends with REAL msc now :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 15, 2013, 07:33:41 AM
Nice improvements! resizeable windows and being able to see and select my address are welcome additions.

The date based sorting on the dashboard is slightly off.  Below is what I see if trying to sort so that the most recent transaction appears first:

https://i.imgur.com/BNHw7xH.jpg

Also, still missing a c on simple send field:

https://i.imgur.com/hPT9vep.jpg

Getting set up now to test some simple sends with REAL msc now :)

I've only added proper sorting to the dashboard. There is a problem when sorting on data, it almost seems impossible in QT.  As a work-around I forced sorting on block-height on the dashboard. However I want the other tables to be sortable by the user. I will not give up on date sorting I'm pretty sure it should be possible. I just don't know how yet ;)

Typo is fixed and should be pushed in the next release :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on November 15, 2013, 08:18:36 AM
I just sent Test MSC as shown on this tx:  2864f3b0fd08fdac83bd54073759b8e65e44c0ea65038a8f82c5c642c7de9916

When comparing masterchest.info to mastercoin-explorer, I noticed masterchest.info shows the transaction as valid and reflects the new balance.  But this is happening before I see the 6 confirmations on bitcoinQT.  Mastercoin-explorer does not appear to show the transaction as valid and an updated balance until after 6 confirmations.  Tachikoma/Zathras, are you already aware of that difference?

Edit:  Correction, mastercoin-explorer shows the tx as valid, but there's not change to the balance until after 6 confirmations - I would expect this is the correct behavior..


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 15, 2013, 08:21:01 AM
Masterchest should be faster since Zathras has support for picking up unconfirmed transactions. I however only parse them once they are added to a block. I don't check for six confirmations.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on November 15, 2013, 10:18:47 AM
Also updated my ubuntu box with v0.0.7 with no problems.  Everythings working great.  Did my first simple send of "Real" MSC from the wallet running in OS x to another address I have that I accessed with the wallet in Ubuntu. 

Very much prefer to send MSC this way!

..Bring on the exchange  ;D


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: rafsoaken on November 15, 2013, 03:36:01 PM
Nice improvements! resizeable windows and being able to see and select my address are welcome additions.

The date based sorting on the dashboard is slightly off.  Below is what I see if trying to sort so that the most recent transaction appears first:

https://i.imgur.com/BNHw7xH.jpg

Also, still missing a c on simple send field:

https://i.imgur.com/hPT9vep.jpg

Getting set up now to test some simple sends with REAL msc now :)

I've only added proper sorting to the dashboard. There is a problem when sorting on data, it almost seems impossible in QT.  As a work-around I forced sorting on block-height on the dashboard. However I want the other tables to be sortable by the user. I will not give up on date sorting I'm pretty sure it should be possible. I just don't know how yet ;)

Typo is fixed and should be pushed in the next release :)

Hi Tachicoma,
Great work!
I'm on my way installing your mastercoin-wallet on a Lubuntu VM. Is it standalone or do I still need a full bitcoin client as well?
Also I guess I should have at least 12GB free space for the entire blockchain, is that correct?



Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 15, 2013, 04:01:15 PM
It's a thin client. Nothing else needed! :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: rafsoaken on November 15, 2013, 04:25:06 PM
It's a thin client. Nothing else needed! :)

Cool, thanks! Installing it right now.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: addzz on November 15, 2013, 08:19:38 PM
I'm having an issue sending using the Mastercoin-explorer simple send.
I created a new thread, but I think maybe it's better suited here.

I'm trying to practice using TEST mastercoins.

Here is what I did:
  • First I opened my QT client and went to the console.
  • I validated my from address that contains mastercoins and got my public key.
  • Then I entered the info into the mastercoin explorer simple send form (using TEST mastercoins as the currency).  My "to" address is just an address that I have in my QT wallet... so I'm trying to send to myself.
  • I followed the instructions and ran the raw transaction.  This is what I come up with:
    f039df74dc453ea138d03ca463bd60ab947a27a5c62002c6e3404ba8222a77cc (https://blockchain.info/tx/f039df74dc453ea138d03ca463bd60ab947a27a5c62002c6e3404ba8222a77cc)

The transaction appears on the blockchain... but it doesn't appear in the mastercoin-explorer. 

What did I do wrong?

My next step in troubleshooting is to try again, but this time I have sent all my BTC to the address I'm sending msc from.  Not sure if that matters or not but I figure it's worth a try.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 15, 2013, 08:40:20 PM
I'm having an issue sending using the Mastercoin-explorer simple send.
I created a new thread, but I think maybe it's better suited here.

I'm trying to practice using TEST mastercoins.

Here is what I did:
  • First I opened my QT client and went to the console.
  • I validated my from address that contains mastercoins and got my public key.
  • Then I entered the info into the mastercoin explorer simple send form (using TEST mastercoins as the currency).  My "to" address is just an address that I have in my QT wallet... so I'm trying to send to myself.
  • I followed the instructions and ran the raw transaction.  This is what I come up with:
    f039df74dc453ea138d03ca463bd60ab947a27a5c62002c6e3404ba8222a77cc (https://blockchain.info/tx/f039df74dc453ea138d03ca463bd60ab947a27a5c62002c6e3404ba8222a77cc)

The transaction appears on the blockchain... but it doesn't appear in the mastercoin-explorer. 

What did I do wrong?

My next step in troubleshooting is to try again, but this time I have sent all my BTC to the address I'm sending msc from.  Not sure if that matters or not but I figure it's worth a try.

I checked out your transaction and it does not contain any valid Mastercoin data. I don't have time to dive into it right now but perhaps my features from today introduced some new bugs. I disabled it for now until I can check it out properly. Sorry about the inconvenience.

It's a thin client. Nothing else needed! :)

In what sense is it a "thin client"? From my understanding, a Mastercoin wallet requires the full blockchain to operate and thin clients are not known to be possible. Does it rely on a central server (mastercoin-explorer)? If so, will the "distributed exchange" function without reliance on the server in your implementation and what is the distribution of work/functionality of the client vs the server?

It's a "thin client" in the sense that it connects to a remote full node instead of a local one. I'm not sure what you mean with your second question. Could you elaborate?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 17, 2013, 09:37:00 AM
This is a server-trusting client, it does not support SPV at this time, although this is a possibility for the future. For others who might come across this post, this means that the server could in theory lie about your balance and there is no way for the client to know about this. Implementing SPV would mean that the client would know when the server would lie to you and report this.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 17, 2013, 01:12:27 PM
I just released 0.0.8 and put a real selling offer online right now for 10 MSC @ 0.2!

It's hosted on address 1EAuHj8Z6rTCHPxXfaGzzPsZevC2mg1XAj (http://mastercoin-explorer.com/transactions/35822ef50d1c5639c80ded37b6580396ecc163bdbad34b3865b9e67b7f0787b3). I am guaranteeing this offer, which means that if you buy it and it becomes invalidated because of a spec change at a later date I will return the Bitcoins back to you. Version 0.0.8 can be used to try and purchase this offer.

Prove I own the address:

Quote
GzhVvJFfYXTDtPyuqdkOFXp+EA2+7mK/uOhCgj/Tg37cAB97Lf0xgzuqZhC5Om0Ghjgi9AP1/1U7p3WeLaHDLVA=
Sold by Tachikoma


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on November 17, 2013, 01:55:22 PM
I just released 0.0.8 and put a real selling offer online right now for 10 MSC @ 0.2!

It's hosted on address 1EAuHj8Z6rTCHPxXfaGzzPsZevC2mg1XAj (http://mastercoin-explorer.com/transactions/35822ef50d1c5639c80ded37b6580396ecc163bdbad34b3865b9e67b7f0787b3). I am guaranteeing this offer, which means that if you buy it and it becomes invalidated because of a spec change at a later date I will return the Bitcoins back to you. Version 0.0.8 can be used to try and purchase this offer.

Prove I own the address:

Quote
GzhVvJFfYXTDtPyuqdkOFXp+EA2+7mK/uOhCgj/Tg37cAB97Lf0xgzuqZhC5Om0Ghjgi9AP1/1U7p3WeLaHDLVA=
Sold by Tachikoma


Awesome! I just created a purchase offer for 0.1 MSC:
https://blockchain.info/tx/87018464d016a067e5c8fedc07551c027bd011f43f6d3a02e9a1e252b551ba82

Let's see what happens.
EDIT: Should I wait for my purchase offer to appear on Mastercoin-explorer before I send payment?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Bitoy on November 17, 2013, 02:12:21 PM
I just released 0.0.8 and put a real selling offer online right now for 10 MSC @ 0.2!

It's hosted on address 1EAuHj8Z6rTCHPxXfaGzzPsZevC2mg1XAj (http://mastercoin-explorer.com/transactions/35822ef50d1c5639c80ded37b6580396ecc163bdbad34b3865b9e67b7f0787b3). I am guaranteeing this offer, which means that if you buy it and it becomes invalidated because of a spec change at a later date I will return the Bitcoins back to you. Version 0.0.8 can be used to try and purchase this offer.

Prove I own the address:

Quote
GzhVvJFfYXTDtPyuqdkOFXp+EA2+7mK/uOhCgj/Tg37cAB97Lf0xgzuqZhC5Om0Ghjgi9AP1/1U7p3WeLaHDLVA=
Sold by Tachikoma


 first  msc offer  confirmed Someone should buy it this is historic :) congrats Tachikoma !
http://mymastercoins.com/Orders.aspx?CurrencyID=1


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 17, 2013, 02:22:53 PM
I just released 0.0.8 and put a real selling offer online right now for 10 MSC @ 0.2!

It's hosted on address 1EAuHj8Z6rTCHPxXfaGzzPsZevC2mg1XAj (http://mastercoin-explorer.com/transactions/35822ef50d1c5639c80ded37b6580396ecc163bdbad34b3865b9e67b7f0787b3). I am guaranteeing this offer, which means that if you buy it and it becomes invalidated because of a spec change at a later date I will return the Bitcoins back to you. Version 0.0.8 can be used to try and purchase this offer.

Prove I own the address:

Quote
GzhVvJFfYXTDtPyuqdkOFXp+EA2+7mK/uOhCgj/Tg37cAB97Lf0xgzuqZhC5Om0Ghjgi9AP1/1U7p3WeLaHDLVA=
Sold by Tachikoma


Awesome! I just created a purchase offer for 0.1 MSC:
https://blockchain.info/tx/87018464d016a067e5c8fedc07551c027bd011f43f6d3a02e9a1e252b551ba82

Let's see what happens.
EDIT: Should I wait for my purchase offer to appear on Mastercoin-explorer before I send payment?

You need to wait for 1 confirmation, and make sure it's accepted as valid by http://mastercoin-explorer.com/ and/or other sites. If the purchase offer is accepted. Then it's save to send your payment to confirm the purchase.

It doesn't help there hasn't been a block for 51 minutes ;)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on November 17, 2013, 02:34:53 PM
I just released 0.0.8 and put a real selling offer online right now for 10 MSC @ 0.2!

It's hosted on address 1EAuHj8Z6rTCHPxXfaGzzPsZevC2mg1XAj (http://mastercoin-explorer.com/transactions/35822ef50d1c5639c80ded37b6580396ecc163bdbad34b3865b9e67b7f0787b3). I am guaranteeing this offer, which means that if you buy it and it becomes invalidated because of a spec change at a later date I will return the Bitcoins back to you. Version 0.0.8 can be used to try and purchase this offer.

Prove I own the address:

Quote
GzhVvJFfYXTDtPyuqdkOFXp+EA2+7mK/uOhCgj/Tg37cAB97Lf0xgzuqZhC5Om0Ghjgi9AP1/1U7p3WeLaHDLVA=
Sold by Tachikoma


Awesome! I just created a purchase offer for 0.1 MSC:
https://blockchain.info/tx/87018464d016a067e5c8fedc07551c027bd011f43f6d3a02e9a1e252b551ba82

Let's see what happens.
EDIT: Should I wait for my purchase offer to appear on Mastercoin-explorer before I send payment?

You need to wait for 1 confirmation, and make sure it's accepted as valid by http://mastercoin-explorer.com/ and/or other sites. If the purchase offer is accepted. Then it's save to send your payment to confirm the purchase.

It doesn't help there hasn't been a block for 51 minutes ;)

Alright, will do that. Another question: is it possible somehow to send payment directly from the Mastercoin wallet app?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 17, 2013, 02:36:27 PM
Yes! Double click your accepted Purchase Offer :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on November 17, 2013, 02:43:12 PM
Yes! Double click your accepted Purchase Offer :)

Oh well, I guess I just need to open my eyes and read your "hint" text boxes ...
Can't wait for that block to confirm so I can purchase this MSC!


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: hl5460 on November 17, 2013, 02:46:56 PM
Eh, how about the windows client?  ;) Know nothing about linux.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 17, 2013, 02:49:06 PM
It can run on windows but it's not pretty to make it work. I would wait for Zathras's client who will be focused on windows :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 17, 2013, 02:54:27 PM
There seems to be a discussion whether this transaction is valid. My site thinks it is (http://mastercoin-explorer.com/transactions/87018464d016a067e5c8fedc07551c027bd011f43f6d3a02e9a1e252b551ba82) so far but Masterchest  (https://masterchest.info/sneakpeek/)doesn't think so. I'm not sure why I will see if I can get Zathras to comment. I would ask you to try paying anyway, I will return your coins if he ends up being right :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on November 17, 2013, 02:56:25 PM
There seems to be a discussion whether this transaction is valid. My site thinks it is (http://mastercoin-explorer.com/transactions/87018464d016a067e5c8fedc07551c027bd011f43f6d3a02e9a1e252b551ba82) so far but Masterchest  (https://masterchest.info/sneakpeek/)doesn't think so. I'm not sure why I will see if I can get Zathras to comment. I would ask you to try paying anyway, I will return your coins if he ends up being right :)

Alright, I'll send over payment. But why does it say "Test Mastercoin"?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Bitoy on November 17, 2013, 03:00:27 PM


Awesome! I just created a purchase offer for 0.1 MSC:
https://blockchain.info/tx/87018464d016a067e5c8fedc07551c027bd011f43f6d3a02e9a1e252b551ba82

Let's see what happens.
EDIT: Should I wait for my purchase offer to appear on Mastercoin-explorer before I send payment?

Hi maxmint

ME Is reporting purchase offer for test master coins (not MSC)

http://mastercoin-explorer.com/transactions/87018464d016a067e5c8fedc07551c027bd011f43f6d3a02e9a1e252b551ba82

I'm also parsing it as test msc. the transaction is invalid.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 17, 2013, 03:02:15 PM
There seems to be a discussion whether this transaction is valid. My site thinks it is (http://mastercoin-explorer.com/transactions/87018464d016a067e5c8fedc07551c027bd011f43f6d3a02e9a1e252b551ba82) so far but Masterchest  (https://masterchest.info/sneakpeek/)doesn't think so. I'm not sure why I will see if I can get Zathras to comment. I would ask you to try paying anyway, I will return your coins if he ends up being right :)

Alright, I'll send over payment. But why does it say "Test Mastercoin"?

That's why it failed. I guess you did not select Mastercoin when you send the offer? I will update the wallet to automatically select the right currency if you click on the item from the order book.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on November 17, 2013, 03:05:13 PM
There seems to be a discussion whether this transaction is valid. My site thinks it is (http://mastercoin-explorer.com/transactions/87018464d016a067e5c8fedc07551c027bd011f43f6d3a02e9a1e252b551ba82) so far but Masterchest  (https://masterchest.info/sneakpeek/)doesn't think so. I'm not sure why I will see if I can get Zathras to comment. I would ask you to try paying anyway, I will return your coins if he ends up being right :)

Alright, I'll send over payment. But why does it say "Test Mastercoin"?

That's why it failed. I guess you did not select Mastercoin when you send the offer? I will update the wallet to automatically select the right currency if you click on the item from the order book.

Hm, maybe  ???
I created another purchase offer, this time I'm sure I made it right:
https://i.imgur.com/vl3YlOE.png


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 17, 2013, 03:13:59 PM
There seems to be a discussion whether this transaction is valid. My site thinks it is (http://mastercoin-explorer.com/transactions/87018464d016a067e5c8fedc07551c027bd011f43f6d3a02e9a1e252b551ba82) so far but Masterchest  (https://masterchest.info/sneakpeek/)doesn't think so. I'm not sure why I will see if I can get Zathras to comment. I would ask you to try paying anyway, I will return your coins if he ends up being right :)

Alright, I'll send over payment. But why does it say "Test Mastercoin"?

That's why it failed. I guess you did not select Mastercoin when you send the offer? I will update the wallet to automatically select the right currency if you click on the item from the order book.

Hm, maybe  ???
I created another purchase offer, this time I'm sure I made it right:
https://i.imgur.com/vl3YlOE.png

A shit I'm so sorry. It is actually an extra safe-guard I left in. I'm fixing it now and will release a new version asap.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 17, 2013, 03:19:06 PM
0.0.9 should be out now that fixes this problem. You might need to restart the wallet since it is showing invalid data at the moment.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on November 17, 2013, 03:45:13 PM
0.0.9 should be out now that fixes this problem. You might need to restart the wallet since it is showing invalid data at the moment.

I installed the newest version but when trying to start I get this error now:

Code:
/Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:144:in `add_purchase_row': undefined method `[]' for nil:NilClass (NoMethodError)
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:164:in `block in load_transactions'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:163:in `each'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:163:in `load_transactions'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:112:in `update'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:75:in `initialize'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/bin/mastercoin-wallet:10:in `new'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/bin/mastercoin-wallet:10: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>'


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: LOL on November 17, 2013, 03:55:51 PM
http://mymastercoins.com/Orders.aspx?CurrencyID=1

is showing a valid purchase order that's pending payment.

Can you give me approval to send Bitcoin? I don't see anything on ME.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: LOL on November 17, 2013, 04:22:29 PM
http://mymastercoins.com/Orders.aspx?CurrencyID=1

is showing a valid purchase order that's pending payment.

Can you give me approval to send Bitcoin? I don't see anything on ME.

Well, I did it.

Hope it works - I only had 3 confirmations left.

https://blockchain.info/tx/f102c66c70a8b4cb030ed73eaf64be93d3a2714e521972e7eee846f0dcebd461


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Bitoy on November 17, 2013, 04:35:46 PM
http://mymastercoins.com/Orders.aspx?CurrencyID=1

is showing a valid purchase order that's pending payment.

Can you give me approval to send Bitcoin? I don't see anything on ME.

Well, I did it.

Hope it works - I only had 3 confirmations left.

https://blockchain.info/tx/f102c66c70a8b4cb030ed73eaf64be93d3a2714e521972e7eee846f0dcebd461

You have to send also to the exodus address (.00006).  This transaction won't be seen.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: LOL on November 17, 2013, 04:40:10 PM
http://mymastercoins.com/Orders.aspx?CurrencyID=1

is showing a valid purchase order that's pending payment.

Can you give me approval to send Bitcoin? I don't see anything on ME.

Well, I did it.

Hope it works - I only had 3 confirmations left.

https://blockchain.info/tx/f102c66c70a8b4cb030ed73eaf64be93d3a2714e521972e7eee846f0dcebd461

You have to send also to the exodus address.  This transaction won't be seen.

Well, I'll make sure to not make that mistake ever again.

I'd be happy to do so if you'd consider refunding me, Tachikoma? Also, am I doing anything else wrong? Mastercoin explorer isn't recognizing my purchase offers.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 17, 2013, 04:40:31 PM
0.0.9 should be out now that fixes this problem. You might need to restart the wallet since it is showing invalid data at the moment.

I installed the newest version but when trying to start I get this error now:

Code:
/Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:144:in `add_purchase_row': undefined method `[]' for nil:NilClass (NoMethodError)
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:164:in `block in load_transactions'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:163:in `each'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:163:in `load_transactions'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:112:in `update'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:75:in `initialize'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/bin/mastercoin-wallet:10:in `new'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/bin/mastercoin-wallet:10: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>'

I am going to try and replicate this. Could you try removing your config so you have a clean state? It's ~/.mastercoin-wallet/config.json.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 17, 2013, 04:46:34 PM
http://mymastercoins.com/Orders.aspx?CurrencyID=1

is showing a valid purchase order that's pending payment.

Can you give me approval to send Bitcoin? I don't see anything on ME.

Well, I did it.

Hope it works - I only had 3 confirmations left.

https://blockchain.info/tx/f102c66c70a8b4cb030ed73eaf64be93d3a2714e521972e7eee846f0dcebd461

You have to send also to the exodus address.  This transaction won't be seen.

Well, I'll make sure to not make that mistake ever again.

I'd be happy to do so if you'd consider refunding me, Tachikoma? Also, am I doing anything else wrong? Mastercoin explorer isn't recognizing my purchase offers.

Can you give me an address to send it back to? I'm guessing 1AMfFzbrhhizKDpqebYVYFGaTwdtSt5ux2 is safe? You can use the wallet to send the transaction, this makes sure it adds a Exodus output as well.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on November 17, 2013, 04:47:40 PM
0.0.9 should be out now that fixes this problem. You might need to restart the wallet since it is showing invalid data at the moment.

I installed the newest version but when trying to start I get this error now:

Code:
/Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:144:in `add_purchase_row': undefined method `[]' for nil:NilClass (NoMethodError)
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:164:in `block in load_transactions'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:163:in `each'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:163:in `load_transactions'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:112:in `update'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:75:in `initialize'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/bin/mastercoin-wallet:10:in `new'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/bin/mastercoin-wallet:10: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>'

I am going to try and replicate this. Could you try removing your config so you have a clean state? It's ~/.mastercoin-wallet/config.json.

I wiped the config file and mastercoin-wallet created a new one. Unfortunately, I'm getting the same errors as before and the app won't start.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: LOL on November 17, 2013, 04:48:17 PM
http://mymastercoins.com/Orders.aspx?CurrencyID=1

is showing a valid purchase order that's pending payment.

Can you give me approval to send Bitcoin? I don't see anything on ME.

Well, I did it.

Hope it works - I only had 3 confirmations left.

https://blockchain.info/tx/f102c66c70a8b4cb030ed73eaf64be93d3a2714e521972e7eee846f0dcebd461

You have to send also to the exodus address.  This transaction won't be seen.

Well, I'll make sure to not make that mistake ever again.

I'd be happy to do so if you'd consider refunding me, Tachikoma? Also, am I doing anything else wrong? Mastercoin explorer isn't recognizing my purchase offers.

Can you give me an address to send it back to? I'm guessing 1AMfFzbrhhizKDpqebYVYFGaTwdtSt5ux2 is safe? You can use the wallet to send the transaction, this makes sure it adds a Exodus output as well.

Yes, that would be perfect. I suppose I was a bit eager to try the decentralized exchange out.

Anyway, this is awesome.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 17, 2013, 04:49:49 PM
0.0.9 should be out now that fixes this problem. You might need to restart the wallet since it is showing invalid data at the moment.

I installed the newest version but when trying to start I get this error now:

Code:
/Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:144:in `add_purchase_row': undefined method `[]' for nil:NilClass (NoMethodError)
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:164:in `block in load_transactions'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:163:in `each'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:163:in `load_transactions'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:112:in `update'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:75:in `initialize'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/bin/mastercoin-wallet:10:in `new'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/bin/mastercoin-wallet:10: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>'

I am going to try and replicate this. Could you try removing your config so you have a clean state? It's ~/.mastercoin-wallet/config.json.

I wiped the config file and mastercoin-wallet created a new one. Unfortunately, I'm getting the same errors as before and the app won't start.

Could you open the config and paste me the part after "pending_offers:" ?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 17, 2013, 04:51:18 PM
http://mymastercoins.com/Orders.aspx?CurrencyID=1

is showing a valid purchase order that's pending payment.

Can you give me approval to send Bitcoin? I don't see anything on ME.

Well, I did it.

Hope it works - I only had 3 confirmations left.

https://blockchain.info/tx/f102c66c70a8b4cb030ed73eaf64be93d3a2714e521972e7eee846f0dcebd461

You have to send also to the exodus address.  This transaction won't be seen.

Well, I'll make sure to not make that mistake ever again.

I'd be happy to do so if you'd consider refunding me, Tachikoma? Also, am I doing anything else wrong? Mastercoin explorer isn't recognizing my purchase offers.

Can you give me an address to send it back to? I'm guessing 1AMfFzbrhhizKDpqebYVYFGaTwdtSt5ux2 is safe? You can use the wallet to send the transaction, this makes sure it adds a Exodus output as well.

Yes, that would be perfect. I suppose I was a bit eager to try the decentralized exchange out.

Anyway, this is awesome.

Money on the way back! (https://blockchain.info/tx/21aeba35013989132da43206bfbc7c2d35fe091a1c8fb363204cb28ce63d7500)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on November 17, 2013, 04:52:14 PM
0.0.9 should be out now that fixes this problem. You might need to restart the wallet since it is showing invalid data at the moment.

I installed the newest version but when trying to start I get this error now:

Code:
/Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:144:in `add_purchase_row': undefined method `[]' for nil:NilClass (NoMethodError)
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:164:in `block in load_transactions'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:163:in `each'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:163:in `load_transactions'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:112:in `update'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:75:in `initialize'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/bin/mastercoin-wallet:10:in `new'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/bin/mastercoin-wallet:10: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>'

I am going to try and replicate this. Could you try removing your config so you have a clean state? It's ~/.mastercoin-wallet/config.json.

I wiped the config file and mastercoin-wallet created a new one. Unfortunately, I'm getting the same errors as before and the app won't start.

Could you open the config and paste me the part after "pending_offers:" ?

Yes, here's this part from config.json:
Code:
[{"address":"1F73UPD5xBKgTSRd8q6QhuncVmDnJAHxYV","receiving_address":"1EAuHj8Z6rTCHPxXfaGzzPsZevC2mg1XAj","transaction_type":22,"currency_id":2,"tx_id":"87018464d016a067e5c8fedc07551c027bd011f43f6d3a02e9a1e252b551ba82","tx_date":"2013-11-17T14:44:59.000Z","block_height":270144,"amount":"0.1","bonus_amount_included":null,"invalid_tx":true,"position":172,"multi_sig":true,"amount_desired":null,"time_limit":null,"required_fee":null,"price_per_coin":null,"current":null,"status":-4,"reference_transaction_id":null,"bitcoin_fee":"100000.0","accepted_amount":null,"app_position":1825,"status_text":"Selling offer not found","bitcoins_required":null},{"address":"1F73UPD5xBKgTSRd8q6QhuncVmDnJAHxYV","receiving_address":"1EdAjiApS5cCpHdH4RKPMab1xmMVRWjLvk","transaction_type":22,"currency_id":2,"tx_id":"a24a6b5b38cec7047c14d2ce581c8576e233cf555bd318053d3bed12ebf803ce","tx_date":"2013-11-03T09:25:27.000Z","block_height":267672,"amount":"0.9","bonus_amount_included":null,"invalid_tx":true,"position":28,"multi_sig":true,"amount_desired":null,"time_limit":null,"required_fee":null,"price_per_coin":null,"current":null,"status":2,"reference_transaction_id":3437,"bitcoin_fee":"100000.0","accepted_amount":"0.9","app_position":1412,"status_text":"Payment confirmed","bitcoins_required":"0.0007272","selling_offer":{"id":3437,"address":"1EdAjiApS5cCpHdH4RKPMab1xmMVRWjLvk","receiving_address":null,"transaction_type":20,"currency_id":2,"tx_id":"e1a53bf47d64391294d07110f6cc9f94e56963e960829ad45886c9800047a6bf","tx_date":"2013-11-02T21:15:47.000Z","block_height":267576,"amount":"10.0","bonus_amount_included":null,"is_exodus":false,"invalid_tx":true,"position":68,"multi_sig":true,"amount_desired":"0.00808","time_limit":6,"required_fee":"0.001","price_per_coin":"0.000808","current":true,"status":null,"reference_transaction_id":null,"bitcoin_fee":null,"accepted_amount":null,"app_position":1410}},{"address":"1F73UPD5xBKgTSRd8q6QhuncVmDnJAHxYV","receiving_address":"16rAwebBXhJAM9ALf3fLFbaHKz24r2o3UN","transaction_type":22,"currency_id":2,"tx_id":"ee77b1382633f8a5def69b444d319548b304ad93d8bb73505f7ff1c5755fac18","tx_date":"2013-11-01T20:54:26.000Z","block_height":267354,"amount":"0.1","bonus_amount_included":null,"invalid_tx":true,"position":45,"multi_sig":true,"amount_desired":null,"time_limit":null,"required_fee":null,"price_per_coin":null,"current":null,"status":-1,"reference_transaction_id":2583,"bitcoin_fee":"100000.0","accepted_amount":"0.1","app_position":1397,"status_text":"Expired, no payment received","bitcoins_required":"0.001616","selling_offer":{"id":2583,"address":"16rAwebBXhJAM9ALf3fLFbaHKz24r2o3UN","receiving_address":null,"transaction_type":20,"currency_id":2,"tx_id":"9087a1b72536f3b2909943553ba6d4e320565eeea1e42379dd4337b532f09fd8","tx_date":"2013-10-29T09:02:50.000Z","block_height":266681,"amount":"0.5","bonus_amount_included":null,"is_exodus":false,"invalid_tx":false,"position":271,"multi_sig":true,"amount_desired":"0.00808","time_limit":6,"required_fee":"0.001","price_per_coin":"0.01616","current":false,"status":null,"reference_transaction_id":null,"bitcoin_fee":null,"accepted_amount":null,"app_position":1357}},{"address":"1F73UPD5xBKgTSRd8q6QhuncVmDnJAHxYV","receiving_address":"16rAwebBXhJAM9ALf3fLFbaHKz24r2o3UN","transaction_type":22,"currency_id":2,"tx_id":"264b5b2ae09af4c74ddf9d5948695e8e70d788c87668d2cff8a8dc2383d86406","tx_date":"2013-11-01T18:43:42.000Z","block_height":267337,"amount":"0.1","bonus_amount_included":null,"invalid_tx":true,"position":8,"multi_sig":true,"amount_desired":null,"time_limit":null,"required_fee":null,"price_per_coin":null,"current":null,"status":-1,"reference_transaction_id":2583,"bitcoin_fee":"100000.0","accepted_amount":"0.1","app_position":1396,"status_text":"Expired, no payment received","bitcoins_required":"0.001616","selling_offer":{"id":2583,"address":"16rAwebBXhJAM9ALf3fLFbaHKz24r2o3UN","receiving_address":null,"transaction_type":20,"currency_id":2,"tx_id":"9087a1b72536f3b2909943553ba6d4e320565eeea1e42379dd4337b532f09fd8","tx_date":"2013-10-29T09:02:50.000Z","block_height":266681,"amount":"0.5","bonus_amount_included":null,"is_exodus":false,"invalid_tx":false,"position":271,"multi_sig":true,"amount_desired":"0.00808","time_limit":6,"required_fee":"0.001","price_per_coin":"0.01616","current":false,"status":null,"reference_transaction_id":null,"bitcoin_fee":null,"accepted_amount":null,"app_position":1357}}]}


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 17, 2013, 04:53:56 PM
Awesome. Could you try restoring one last time for me? I think it should work now, I fixed it server-side.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: LOL on November 17, 2013, 04:54:59 PM
https://i.imgur.com/hGnwUXz.png

It worked!


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on November 17, 2013, 04:55:21 PM
Awesome. Could you try restoring one last time for me? I think it should work now, I fixed it server-side.
Yes, working now – thanks!


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Faraday on November 17, 2013, 05:11:52 PM
Does anyone have Mastercoin-wallet working on windows? I am able to install and run it but when I try to do a simple send I get the following error:

Code:
C:/Ruby193/lib/ruby/gems/1.9.1/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/builder.rb:114:in `pick_outputs': undefined method `reject!' for nil:NilClass (NoMethodError)
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/builder.rb:151:in `create_transaction_with_keys'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/simple_send_window.rb:59:in `send_payment'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/qtbindings-4.8.3.0-x86-mingw32/lib/Qt/qtruby4.rb:880:in `qt_metacall'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/qtbindings-4.8.3.0-x86-mingw32/lib/Qt/qtruby4.rb:880:in `method_missing'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/qtbindings-4.8.3.0-x86-mingw32/lib/Qt/qtruby4.rb:880:in `exec'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:98:in `new_simple_send'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/qtbindings-4.8.3.0-x86-mingw32/lib/Qt/qtruby4.rb:880:in `qt_metacall'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/qtbindings-4.8.3.0-x86-mingw32/lib/Qt/qtruby4.rb:880:in `method_missing'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/qtbindings-4.8.3.0-x86-mingw32/lib/Qt/qtruby4.rb:880:in `exec'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/mastercoin-wallet-0.0.9/bin/mastercoin-wallet:12:in `<top (required)>'
        from C:/Ruby193/bin/mastercoin-wallet:23:in `load'
        from C:/Ruby193/bin/mastercoin-wallet:23:in `<main>'

This is on Windows 7 64bit


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 17, 2013, 05:13:46 PM
Actually this has nothing to do with Windows most likely. It looks like you don't have any outputs that can be used to generate a payment. Does your address have any funds on it? It should give you an error normally if you don't have any acceptable funds, I will check out why this isn't happening.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on November 17, 2013, 05:18:04 PM
I just created a new purchase offer:
https://blockchain.info/tx/ac7593ff4fb4a9bc6b053fc12af10e4fc04db73e0fb467d1dbc2466c86c5936b

Mastercoin-wallet now shows some weird numbers in the negative:
https://i.imgur.com/ohDpEGq.png

Maybe that's specific to my address because you tweaked something server side?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Faraday on November 17, 2013, 05:20:00 PM
Actually this has nothing to do with Windows most likely. It looks like you don't have any outputs that can be used to generate a payment. Does your address have any funds on it? It should give you an error normally if you don't have any acceptable funds, I will check out why this isn't happening.

Oh you are correct the address had 0 bitcoin balance, oops! I will test it again after I get a confirmation but I'm guessing it will work now  :P


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 17, 2013, 05:22:44 PM
I'm learning so much from all your reports guys, really valuable stuff.

Maxmint, it thought no funds were available for purchase because it had not expired a couple of transactions yet. I will fix this, it still did something weird. It thinks I already sold 0.5 but I can only find 0.2 that is sold. So I need to dive into this. Gimme a sec :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on November 17, 2013, 05:25:41 PM
I'm learning so much from all your reports guys, really valuable stuff.

Maxmint, it thought no funds were available for purchase because it had not expired a couple of transactions yet. I will fix this, it still did something weird. It thinks I already sold 0.5 but I can only find 0.2 that is sold. So I need to dive into this. Gimme a sec :)

Cool, thanks! I have to leave now but I'll try again later once I'm back. I hope there's still some MSC available then ;)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 17, 2013, 05:38:43 PM
I'm learning so much from all your reports guys, really valuable stuff.

Maxmint, it thought no funds were available for purchase because it had not expired a couple of transactions yet. I will fix this, it still did something weird. It thinks I already sold 0.5 but I can only find 0.2 that is sold. So I need to dive into this. Gimme a sec :)

Cool, thanks! I have to leave now but I'll try again later once I'm back. I hope there's still some MSC available then ;)

Should be :)

Do you remember how much you wanted to buy? The transaction (http://mastercoin-explorer.com/transactions/339abf9b176253e60d1569120c2d6bca214edd4e6d8a69ef4fcdaf4f4a12cec6) has an amount of 9.89899999. This sounds an aweful lot like a float rounding error. I doubt you gave in this amount in the wallet. Do you remember how much you gave it?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Faraday on November 17, 2013, 05:49:10 PM
Actually this has nothing to do with Windows most likely. It looks like you don't have any outputs that can be used to generate a payment. Does your address have any funds on it? It should give you an error normally if you don't have any acceptable funds, I will check out why this isn't happening.

Oh you are correct the address had 0 bitcoin balance, oops! I will test it again after I get a confirmation but I'm guessing it will work now  :P

Worked with some bitcoin balance in my address  ;D

The sell order is now showing units available: -0.49999999


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: LOL on November 17, 2013, 05:49:34 PM
I'm learning so much from all your reports guys, really valuable stuff.

Maxmint, it thought no funds were available for purchase because it had not expired a couple of transactions yet. I will fix this, it still did something weird. It thinks I already sold 0.5 but I can only find 0.2 that is sold. So I need to dive into this. Gimme a sec :)

Cool, thanks! I have to leave now but I'll try again later once I'm back. I hope there's still some MSC available then ;)

Should be :)

Do you remember how much you wanted to buy? The transaction (http://mastercoin-explorer.com/transactions/339abf9b176253e60d1569120c2d6bca214edd4e6d8a69ef4fcdaf4f4a12cec6) has an amount of 9.89899999. This sounds an aweful lot like a float rounding error. I doubt you gave in this amount in the wallet. Do you remember how much you gave it?

That was me. It definitely wasn't 9.89899999. I believe the number was 9.899.

So the wallet prompted me to send 1.8798 btc for a total of 9.399 msc. This aligns with the "accepted amount" here: http://mastercoin-explorer.com/transactions/339abf9b176253e60d1569120c2d6bca214edd4e6d8a69ef4fcdaf4f4a12cec6

Which also makes sense, considering the 0.5 pending for maxmint, and the 0.101 already sold. It totals up to 10.0. I just sent off the payment from the mastercoin wallet for 9.399 msc.

Everything looks good right now in the wallet except that the "units available" for your sell order reads "-0.499999"


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: LOL on November 17, 2013, 05:54:22 PM
I only payed for 9.399, but the address shows a balance of 9.99999999 MSC.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 17, 2013, 06:12:37 PM
I only payed for 9.399, but the address shows a balance of 9.99999999 MSC.

Fixed! :)

I'm checking every transaction and making sure it's parsed right. I still feel some things might change since every site shows something different at the moment. Day is almost at an end though so not sure this will happen today.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: LOL on November 17, 2013, 06:17:54 PM
I only payed for 9.399, but the address shows a balance of 9.99999999 MSC.

Fixed! :)

I'm checking every transaction and making sure it's parsed right. I still feel some things might change since every site shows something different at the moment. Day is almost at an end though so not sure this will happen today.

Not bad for a days work. I applaud your work.

So when can I put up my own sell orders?  ;D


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 17, 2013, 06:56:50 PM
As soon as I gathered all the data from this single experience and make sure all sites offer the same interpretation :}


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on November 17, 2013, 07:02:59 PM
Aw man I live in the wrong time zone! You guys are having all the fun!  Great work!

Trying to get v0.0.9 running now but having trouble.  Cleared the config, relaunched and input my key/password.  then when attempting to relaunch I get:

/Users/xxx/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:135:in `method_missing': undefined method `setText' for #<Qt::TreeWidgetItem:0x007fd2433f5a08> (NoMethodError)
   from /Users/xxx/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:135:in `add_offer_row'
   from /Users/xxx/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:155:in `block in update_order_book'
   from /Users/xxx/.rvm/gems/ruby-1.9.3-p448/gems/httparty-0.12.0/lib/httparty/response.rb:62:in `each'
   from /Users/xxx/.rvm/gems/ruby-1.9.3-p448/gems/httparty-0.12.0/lib/httparty/response.rb:62:in `method_missing'
   from /Users/xxx/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:154:in `update_order_book'
   from /Users/xxx/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/observer.rb:195:in `block in notify_observers'
   from /Users/xxx/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/observer.rb:194:in `each'
   from /Users/xxx/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/observer.rb:194:in `notify_observers'
   from /Users/xxx/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/network/selling_offer.rb:10:in `retrieve!'
   from /Users/xxx/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:87:in `sync'
   from /Users/xxx/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:78:in `initialize'
   from /Users/xxx/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/bin/mastercoin-wallet:10:in `new'
   from /Users/xxx/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/bin/mastercoin-wallet:10:in `<top (required)>'
   from /Users/xxx/.rvm/gems/ruby-1.9.3-p448/bin/mastercoin-wallet:23:in `load'
   from /Users/xxx/.rvm/gems/ruby-1.9.3-p448/bin/mastercoin-wallet:23:in `<main>'
   from /Users/xxx/.rvm/gems/ruby-1.9.3-p448/bin/ruby_executable_hooks:15:in `eval'
   from /Users/xxx/.rvm/gems/ruby-1.9.3-p448/bin/ruby_executable_hooks:15:in `<main>'


Suggestions?

edit - config.json:

"balance":0,"test_balance":0,"spendable_outputs":[],"bought_transactions":[],"created_transactions":[],"sold_transactions":[],"bitcoin_transactions":[],"exodus_transactions":[],"sent_transactions":[],"received_transactions":[],"btc_balance":0,"private_key":"xxx","address":"16rAwebBXhJAM9ALf3fLFbaHKz24r2o3UN"}


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 17, 2013, 07:17:36 PM
Aw man I live in the wrong time zone! You guys are having all the fun!  Great work!

Trying to get v0.0.9 running now but having trouble.  Cleared the config, relaunched and input my key/password.  then when attempting to relaunch I get:

/Users/xxx/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:135:in `method_missing': undefined method `setText' for #<Qt::TreeWidgetItem:0x007fd2433f5a08> (NoMethodError)
   from /Users/xxx/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:135:in `add_offer_row'
   from /Users/xxx/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:155:in `block in update_order_book'
   from /Users/xxx/.rvm/gems/ruby-1.9.3-p448/gems/httparty-0.12.0/lib/httparty/response.rb:62:in `each'
   from /Users/xxx/.rvm/gems/ruby-1.9.3-p448/gems/httparty-0.12.0/lib/httparty/response.rb:62:in `method_missing'
   from /Users/xxx/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:154:in `update_order_book'
   from /Users/xxx/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/observer.rb:195:in `block in notify_observers'
   from /Users/xxx/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/observer.rb:194:in `each'
   from /Users/xxx/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/observer.rb:194:in `notify_observers'
   from /Users/xxx/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/network/selling_offer.rb:10:in `retrieve!'
   from /Users/xxx/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:87:in `sync'
   from /Users/xxx/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/lib/mastercoin-wallet/gui/main_window.rb:78:in `initialize'
   from /Users/xxx/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/bin/mastercoin-wallet:10:in `new'
   from /Users/xxx/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.9/bin/mastercoin-wallet:10:in `<top (required)>'
   from /Users/xxx/.rvm/gems/ruby-1.9.3-p448/bin/mastercoin-wallet:23:in `load'
   from /Users/xxx/.rvm/gems/ruby-1.9.3-p448/bin/mastercoin-wallet:23:in `<main>'
   from /Users/xxx/.rvm/gems/ruby-1.9.3-p448/bin/ruby_executable_hooks:15:in `eval'
   from /Users/xxx/.rvm/gems/ruby-1.9.3-p448/bin/ruby_executable_hooks:15:in `<main>'


Suggestions?

edit - config.json:

"balance":0,"test_balance":0,"spendable_outputs":[],"bought_transactions":[],"created_transactions":[],"sold_transactions":[],"bitcoin_transactions":[],"exodus_transactions":[],"sent_transactions":[],"received_transactions":[],"btc_balance":0,"private_key":"xxx","address":"16rAwebBXhJAM9ALf3fLFbaHKz24r2o3UN"}

Sorry about that, it seems that QT parses 0 as nil and then gives an error. I just pushed 0.0.10 that should fix that :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 17, 2013, 07:18:20 PM
Can everybody who sent me coins for the Selling Offer, write down their transaction-ids for me. In case something changes I want to be able to refund the transactions.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on November 17, 2013, 07:24:00 PM
Sorry about that, it seems that QT parses 0 as nil and then gives an error. I just pushed 0.0.10 that should fix that :)

Yep - All good! Thanks

Aww..I missed the MSC :D


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 17, 2013, 07:29:30 PM
I will do an other test as soon as I go through everything :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 17, 2013, 08:21:48 PM
LOL: This transaction (http://mastercoin-explorer.com/transactions/339abf9b176253e60d1569120c2d6bca214edd4e6d8a69ef4fcdaf4f4a12cec6) was yours right? It seems it was mis-parsed and I need to send your coins back again. Please confirm and I will send them asap :)



Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on November 17, 2013, 08:24:28 PM
No that's not me..I tried for a smaller amount and am realizing now I probably don't have the btc in the address..oops!  trying to move funds now


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 17, 2013, 08:27:15 PM
Ah no sorry I was addressing the person on this forum called LOL, not the best of usernames ;)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on November 17, 2013, 08:30:07 PM
Haha..my bad..FYI - my txid is 27937e5ba11231560c650a64dbe5b02c5406c04863e4074991e70762cccff806 but no confirmations yet.  Will be interesting to see what happens to it.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: LOL on November 17, 2013, 08:42:52 PM
LOL: This transaction (http://mastercoin-explorer.com/transactions/339abf9b176253e60d1569120c2d6bca214edd4e6d8a69ef4fcdaf4f4a12cec6) was yours right? It seems it was mis-parsed and I need to send your coins back again. Please confirm and I will send them asap :)



Yep, that's mine.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 17, 2013, 08:46:27 PM
Money on the way back. (https://blockchain.info/tx/eff0893fa7deca520f31054029d37fa45d401fb7efa5c6c5002b34335fa4be61)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Rampion on November 17, 2013, 08:54:06 PM
When trying to install Mastercoin-wallet on OSX I get this error:

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

Any idea on how to solve this issue?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on November 17, 2013, 08:57:50 PM
When trying to install Mastercoin-wallet on OSX I get this error:

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

Any idea on how to solve this issue?

Try to elevate with sudo - sudo gem install..


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 17, 2013, 09:04:56 PM
Sudo should work although RVM is always recommended, although slightly harder. In later versions once things are more stable I will try to build .app packages for easy use on OS X.

I really need to turn in. I will check out things in the morning. Have fun breaking my stuff and a big thanks to everybody who participated so far :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on November 17, 2013, 09:29:09 PM
I tried to create another purchase offer using Mastercoin wallet:
https://blockchain.info/tx/bf56a1ec213fdfcff0f26c8a9ab7eb7588ed5c0ddb202a225e12b35a0617c06e

However, it does not show up in Mastercoin wallet and Mastercoin-explorer. Am I doing something wrong here?

EDIT: I created another purchase offer:
https://blockchain.info/tx/025d9ed3f1dd620c84f7e5418fdf5635b7d9ca08350fac51a22b39389228fe01

This time it shows up on ME and Mastercoin wallet – but I'm not able to pay because it says "Not enough received".


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: LOL on November 18, 2013, 01:18:47 AM
I tried to create another purchase offer using Mastercoin wallet:
https://blockchain.info/tx/bf56a1ec213fdfcff0f26c8a9ab7eb7588ed5c0ddb202a225e12b35a0617c06e

However, it does not show up in Mastercoin wallet and Mastercoin-explorer. Am I doing something wrong here?

EDIT: I created another purchase offer:
https://blockchain.info/tx/025d9ed3f1dd620c84f7e5418fdf5635b7d9ca08350fac51a22b39389228fe01

This time it shows up on ME and Mastercoin wallet – but I'm not able to pay because it says "Not enough received".

Same thing happened to me earlier.

On that same note, I placed a purchase offer for 1.0 test mastercoin and even though I never broadcast a payment transaction ME and the wallet say that I have a balance of 1.0 test mastercoin. My assumption is that it's challenging to differentiate between a purchase offer and the payment transaction. If the purchase offer transaction exceeds the amount of bitcoin to finalize the exchange, will it finalize the exchange?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on November 18, 2013, 07:18:51 AM
I'm also getting the "not enough received" message on two separate tx's:

27937e5ba11231560c650a64dbe5b02c5406c04863e4074991e70762cccff806 (http://mastercoin-explorer.com/transactions/27937e5ba11231560c650a64dbe5b02c5406c04863e4074991e70762cccff806)

be2005200503273686a26604076bb03a67fdaad6755d9599ae539ffde663491e (http://mastercoin-explorer.com/transactions/be2005200503273686a26604076bb03a67fdaad6755d9599ae539ffde663491e)

I notice that despite the trades not completing, the balance of the sell offer continues to decline.

Also, on the first tx, it took, I think around 7 or 8 hours to get a confirmation, I think because the amounts were small..hopefully not a sign of things to come.

EDIT:  sanity check - is it just showing not enough received because I now just need to do a multisend of btc to the 3 addresses (the amount I need to buy and the two 0.0006 sends)?  I can't recall what I did last time but I guess I was thinking the wallet will handle everything on both parts..


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 18, 2013, 09:49:56 AM
I tried to create another purchase offer using Mastercoin wallet:
https://blockchain.info/tx/bf56a1ec213fdfcff0f26c8a9ab7eb7588ed5c0ddb202a225e12b35a0617c06e

However, it does not show up in Mastercoin wallet and Mastercoin-explorer. Am I doing something wrong here?

EDIT: I created another purchase offer:
https://blockchain.info/tx/025d9ed3f1dd620c84f7e5418fdf5635b7d9ca08350fac51a22b39389228fe01

This time it shows up on ME and Mastercoin wallet – but I'm not able to pay because it says "Not enough received".

Your original transaction was present when I checked mastercoin-explorer, you can see it here (http://mastercoin-explorer.com/transactions/bf56a1ec213fdfcff0f26c8a9ab7eb7588ed5c0ddb202a225e12b35a0617c06e).

I've removed the 'insufficient' pay status again. It was mostly just very confusing. You either pay or you don't but it won't update the status if it received coins but it was not enough. This should also fix the 'I cannot pay' problem. Sorry about that, that's what you get when you code for 17 hours straight ;)

I tried to create another purchase offer using Mastercoin wallet:
https://blockchain.info/tx/bf56a1ec213fdfcff0f26c8a9ab7eb7588ed5c0ddb202a225e12b35a0617c06e

However, it does not show up in Mastercoin wallet and Mastercoin-explorer. Am I doing something wrong here?

EDIT: I created another purchase offer:
https://blockchain.info/tx/025d9ed3f1dd620c84f7e5418fdf5635b7d9ca08350fac51a22b39389228fe01

This time it shows up on ME and Mastercoin wallet – but I'm not able to pay because it says "Not enough received".

Same thing happened to me earlier.

On that same note, I placed a purchase offer for 1.0 test mastercoin and even though I never broadcast a payment transaction ME and the wallet say that I have a balance of 1.0 test mastercoin. My assumption is that it's challenging to differentiate between a purchase offer and the payment transaction. If the purchase offer transaction exceeds the amount of bitcoin to finalize the exchange, will it finalize the exchange?

Could you give me the transaction ids of the purchase offers in question. I think there is still a bug in my code where it will accept the Purchase Offer as payment if it was enough to satisfy the offer. It is not in the spec yet but I think the payment should always come one block _after_ the purchase offer.


I'm also getting the "not enough received" message on two separate tx's:

27937e5ba11231560c650a64dbe5b02c5406c04863e4074991e70762cccff806 (http://mastercoin-explorer.com/transactions/27937e5ba11231560c650a64dbe5b02c5406c04863e4074991e70762cccff806)

be2005200503273686a26604076bb03a67fdaad6755d9599ae539ffde663491e (http://mastercoin-explorer.com/transactions/be2005200503273686a26604076bb03a67fdaad6755d9599ae539ffde663491e)

I notice that despite the trades not completing, the balance of the sell offer continues to decline.

Also, on the first tx, it took, I think around 7 or 8 hours to get a confirmation, I think because the amounts were small..hopefully not a sign of things to come.

EDIT:  sanity check - is it just showing not enough received because I now just need to do a multisend of btc to the 3 addresses (the amount I need to buy and the two 0.0006 sends)?  I can't recall what I did last time but I guess I was thinking the wallet will handle everything on both parts..


Yeah sorry again for the confusion. I thought I was making things more transparent by using this extra status but it doesn't. Shouldn't happen again :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 18, 2013, 10:28:26 AM
I just discovered there is a part of the spec that we (developers) haven't discussed yet that's very open to interpretation. I just created a post to discuss the consequences of this part (https://bitcointalk.org/index.php?topic=292628.msg3621862#msg3621862) in the spec and closed my Selling Order until we can update the spec on how to parse these transactions.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: LOL on November 19, 2013, 10:51:21 AM

I tried to create another purchase offer using Mastercoin wallet:
https://blockchain.info/tx/bf56a1ec213fdfcff0f26c8a9ab7eb7588ed5c0ddb202a225e12b35a0617c06e

However, it does not show up in Mastercoin wallet and Mastercoin-explorer. Am I doing something wrong here?

EDIT: I created another purchase offer:
https://blockchain.info/tx/025d9ed3f1dd620c84f7e5418fdf5635b7d9ca08350fac51a22b39389228fe01

This time it shows up on ME and Mastercoin wallet – but I'm not able to pay because it says "Not enough received".

Same thing happened to me earlier.

On that same note, I placed a purchase offer for 1.0 test mastercoin and even though I never broadcast a payment transaction ME and the wallet say that I have a balance of 1.0 test mastercoin. My assumption is that it's challenging to differentiate between a purchase offer and the payment transaction. If the purchase offer transaction exceeds the amount of bitcoin to finalize the exchange, will it finalize the exchange?

Could you give me the transaction ids of the purchase offers in question. I think there is still a bug in my code where it will accept the Purchase Offer as payment if it was enough to satisfy the offer. It is not in the spec yet but I think the payment should always come one block _after_ the purchase offer.

Transactions following:

694ca7bff4fccf27bf348b6433dd2d32f1c4194e8c20b11aee370ded47641863
972fa24d0833fd431c7f69b77958c5ac5fb6287b9437fe8c756d9af44f5bc33e


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Faraday on November 20, 2013, 09:03:45 AM
A whole lot of transactions have suddenly been changed to invalid. I am hoping that this is a bug?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 20, 2013, 09:09:35 AM
I'm 99% sure it's a bug. As you know I'm constantly updating the code and sometimes this introduces new issues. I will check it out when I have the time.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Faraday on November 20, 2013, 09:10:47 AM
I'm 99% sure it's a bug. As you know I'm constantly updating the code and sometimes this introduces new issues. I will check it out when I have the time.

Cheers. Here is example transaction: http://mastercoin-explorer.com/transactions/d31d3ef47d0b450343d0e3df8759f01e258fbd32277bcd758531b94896944f75


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 20, 2013, 09:15:36 AM
I'm 99% sure it's a bug. As you know I'm constantly updating the code and sometimes this introduces new issues. I will check it out when I have the time.

Cheers. Here is example transaction: http://mastercoin-explorer.com/transactions/d31d3ef47d0b450343d0e3df8759f01e258fbd32277bcd758531b94896944f75

Fixed this transaction.

I think the best thing to do at the moment is re-parsing all Exodus transactions with the new code. This will be time costly but at least it will hopefully fix all transactions :)

Edit:

Re-import running. I will check out if this fixes the issues. FYI these type of things is why I wrote this addition (https://github.com/mastercoin-MSC/spec/pull/2) to the spec. Myself and Bitboy already implemented the API but I just need time to finish the verification site itself.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on November 21, 2013, 11:40:51 AM
Just a small suggestion: the "Send transactions" section for an address currently shows the source address for each transaction. To me it would make much more sense to show the destination address instead.

Annotated screenshot: https://i.imgur.com/BGq4vtL.png


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 21, 2013, 11:42:04 AM
Yeah good suggestion. I think currently I share a partial that can be used everywhere. I will fix that up next time I have a spare moment.

Keep it coming!


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: rbdrbd on November 21, 2013, 11:55:22 AM
Just a small suggestion: the "Send transactions" section for an address currently shows the source address for each transaction. To me it would make much more sense to show the destination address instead.

Annotated screenshot: https://i.imgur.com/BGq4vtL.png


Yeah, I agree. And possibly show them both on that main page itself (maybe not the address page), and truncate, using tooltips on hover. ...I find myself pulling up a bunch of tabs for each transaction just to look at the destination addresses...the transaction ID (currently truncated) could be a tooltip as well.

Easy with twitter bootstrap (good choice :)).

http://getbootstrap.com/javascript/#tooltips

I thought it had a css-only way to do this as well...but I guess that might have been taken out in v3....


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 21, 2013, 03:56:33 PM
Just a small suggestion: the "Send transactions" section for an address currently shows the source address for each transaction. To me it would make much more sense to show the destination address instead.

Annotated screenshot: https://i.imgur.com/BGq4vtL.png


This should now be the default for addresses pages, please let me know if this works for you.

Just a small suggestion: the "Send transactions" section for an address currently shows the source address for each transaction. To me it would make much more sense to show the destination address instead.

Annotated screenshot: https://i.imgur.com/BGq4vtL.png


Yeah, I agree. And possibly show them both on that main page itself (maybe not the address page), and truncate, using tooltips on hover. ...I find myself pulling up a bunch of tabs for each transaction just to look at the destination addresses...the transaction ID (currently truncated) could be a tooltip as well.

Easy with twitter bootstrap (good choice :)).

http://getbootstrap.com/javascript/#tooltips

I thought it had a css-only way to do this as well...but I guess that might have been taken out in v3....

Yeah I originally had that on the main page but because not all messages had recipient addresses I changed it. I brought it back now by condensing the table and replacing the tx id with an icon to make space. Let me know what you think. Your tooltip idea is in there :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on November 21, 2013, 03:59:13 PM
Just a small suggestion: the "Send transactions" section for an address currently shows the source address for each transaction. To me it would make much more sense to show the destination address instead.

Annotated screenshot: https://i.imgur.com/BGq4vtL.png
This should now be the default for addresses pages, please let me know if this works for you.

Works perfect – thanks for the quick implementation!


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 21, 2013, 04:05:55 PM
No problem. If there is anything else please let me know. I'm working so much on the internals of everything that I become blind for the externals. :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: rottenchris on November 22, 2013, 05:25:55 PM
Hi,

it seems something is broken with mastercoin-wallet-0.0.11. I am not able to get it working. I used mastercoin-wallet since version 0.0.7. I tried to update 0.0.10 to 0.0.11 with "gem install mastercoin-wallet". Now I get the following error when trying to start :

-----------------------------------------------------------
chris@ubuntu:~$ mastercoin-wallet
/home/chris/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.11/lib/mastercoin-wallet/gui/main_window.rb:144:in `add_purchase_row': undefined method `[]' for nil:NilClass (NoMethodError)
   from /home/chris/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.11/lib/mastercoin-wallet/gui/main_window.rb:164:in `block in load_transactions'
   from /home/chris/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.11/lib/mastercoin-wallet/gui/main_window.rb:163:in `each'
   from /home/chris/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.11/lib/mastercoin-wallet/gui/main_window.rb:163:in `load_transactions'
   from /home/chris/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.11/lib/mastercoin-wallet/gui/main_window.rb:112:in `update'
   from /home/chris/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.11/lib/mastercoin-wallet/gui/main_window.rb:75:in `initialize'
   from /home/chris/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.11/bin/mastercoin-wallet:10:in `new'
   from /home/chris/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.11/bin/mastercoin-wallet:10:in `<top (required)>'
   from /home/chris/.rvm/gems/ruby-1.9.3-p448/bin/mastercoin-wallet:19:in `load'
   from /home/chris/.rvm/gems/ruby-1.9.3-p448/bin/mastercoin-wallet:19:in `<main>'
   from /home/chris/.rvm/gems/ruby-1.9.3-p448/bin/ruby_executable_hooks:15:in `eval'
   from /home/chris/.rvm/gems/ruby-1.9.3-p448/bin/ruby_executable_hooks:15:in `<main>'
-----------------------------------------------------------


Any ideas?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 22, 2013, 05:43:42 PM
Would you be willing to pm me your address? It's seems to be related to your transactions.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on November 27, 2013, 08:44:10 AM
Hey Tachikoma - updated my ubuntu box with v0.0.11 (previously ran v0.0.7 without issue).  When I attempt a simple send, it crashes with a core dump and references a possible issue with the ruby interpreter or extension libraries.  Any thoughts?

Edit: Also unrelated but thought I'd mention - the BTC balances in both my OS X wallet and Ubuntu wallets linked to 2 different BTC addresses is not accurate - is there a reason for the discrepancy?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 27, 2013, 08:45:43 AM
Could you give me the full traceback?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on November 27, 2013, 09:18:32 AM
Could you give me the full traceback?
Perhaps if I wasn't an idiot...

let's see...easiest way to do that would be with gdb? Trying to do that but not having luck.  Is there something built into ruby I should use to capture that? or is it automatically going to a log?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 27, 2013, 09:20:02 AM
Oh no sorry just give me the whole error you see in the console. Usually the top part is the actual error, the rest is just QT crashing. Just pastie it somewhere and pm or link it here :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on November 27, 2013, 10:13:28 AM
Here you go:

Code:
/var/lib/gems/1.9.1/gems/mastercoin-wallet-0.0.11/lib/mastercoin-wallet/builder.rb:114:in `pick_outputs': undefined method `reject!' for nil:NilClass (NoMethodError)
    from /var/lib/gems/1.9.1/gems/mastercoin-wallet-0.0.11/lib/mastercoin-wallet/builder.rb:151:in `create_transaction_with_keys'
    from /var/lib/gems/1.9.1/gems/mastercoin-wallet-0.0.11/lib/mastercoin-wallet/gui/simple_send_window.rb:59:in `send_payment'
    from /var/lib/gems/1.9.1/gems/qtbindings-4.8.3.0/lib/Qt/qtruby4.rb:880:in `qt_metacall'
    from /var/lib/gems/1.9.1/gems/qtbindings-4.8.3.0/lib/Qt/qtruby4.rb:880:in `method_missing'
    from /var/lib/gems/1.9.1/gems/qtbindings-4.8.3.0/lib/Qt/qtruby4.rb:880:in `exec'
    from /var/lib/gems/1.9.1/gems/mastercoin-wallet-0.0.11/lib/mastercoin-wallet/gui/main_window.rb:98:in `new_simple_send'
    from /var/lib/gems/1.9.1/gems/qtbindings-4.8.3.0/lib/Qt/qtruby4.rb:880:in `qt_metacall'
    from /var/lib/gems/1.9.1/gems/qtbindings-4.8.3.0/lib/Qt/qtruby4.rb:880:in `method_missing'
    from /var/lib/gems/1.9.1/gems/qtbindings-4.8.3.0/lib/Qt/qtruby4.rb:880:in `exec'
    from /var/lib/gems/1.9.1/gems/mastercoin-wallet-0.0.11/bin/mastercoin-wallet:12:in `<top (required)>'
    from /usr/local/bin/mastercoin-wallet:23:in `load'
    from /usr/local/bin/mastercoin-wallet:23:in `<main>'
/usr/local/bin/mastercoin-wallet: [BUG] Segmentation fault
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]

-- Control frame information -----------------------------------------------
c:0001 p:0000 s:0002 b:0002 l:001f88 d:001f88 TOP   


-- C level backtrace information -------------------------------------------
/usr/lib/libruby-1.9.1.so.1.9(+0x155d99) [0x7f73a278ed99]
/usr/lib/libruby-1.9.1.so.1.9(+0x57d39) [0x7f73a2690d39]
/usr/lib/libruby-1.9.1.so.1.9(rb_bug+0xb3) [0x7f73a2691523]
/usr/lib/libruby-1.9.1.so.1.9(+0xf68ff) [0x7f73a272f8ff]
/lib/x86_64-linux-gnu/libc.so.6(+0x370b0) [0x7f73a22a70b0]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN10QEventLoop4exitEi+0x1e) [0x7f73a068846e]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN7QDialog10setVisibleEb+0x166) [0x7f739fee9cc6]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN7QDialogD1Ev+0x30) [0x7f739fee9e90]
/var/lib/gems/1.9.1/gems/qtbindings-4.8.3.0/ext/build/smoke/qtgui/libsmokeqtgui.so.3(_ZN12__smokeqtgui9x_QDialogD1Ev+0x65) [0x7f739e9957f3]
/var/lib/gems/1.9.1/gems/qtbindings-4.8.3.0/ext/build/smoke/qtgui/libsmokeqtgui.so.3(_ZN12__smokeqtgui9x_QDialogD0Ev+0x18) [0x7f739e995850]
/var/lib/gems/1.9.1/gems/qtbindings-4.8.3.0/ext/build/smoke/qtgui/libsmokeqtgui.so.3(_ZN12__smokeqtgui13xcall_QDialogEsPvPN5Smoke9StackItemE+0x423) [0x7f739e982ee2]
/var/lib/gems/1.9.1/gems/qtbindings-4.8.3.0/ext/build/ruby/qtruby/src/libqtruby4shared.so.2(_Z14smokeruby_freePv+0xa16) [0x7f739d09fac0]
/usr/lib/libruby-1.9.1.so.1.9(+0x6aa0a) [0x7f73a26a3a0a]
/usr/lib/libruby-1.9.1.so.1.9(rb_gc_call_finalizer_at_exit+0x1df) [0x7f73a26a7b3f]
/usr/lib/libruby-1.9.1.so.1.9(ruby_cleanup+0x1e9) [0x7f73a26969d9]
/usr/lib/libruby-1.9.1.so.1.9(ruby_run_node+0x25) [0x7f73a2696bb5]
/usr/bin/ruby1.9.1() [0x40086b]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f73a2291ea5]
/usr/bin/ruby1.9.1() [0x400899]


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 27, 2013, 10:16:02 AM
Here you go:

Code:
/var/lib/gems/1.9.1/gems/mastercoin-wallet-0.0.11/lib/mastercoin-wallet/builder.rb:114:in `pick_outputs': undefined method `reject!' for nil:NilClass (NoMethodError)
    from /var/lib/gems/1.9.1/gems/mastercoin-wallet-0.0.11/lib/mastercoin-wallet/builder.rb:151:in `create_transaction_with_keys'
    from /var/lib/gems/1.9.1/gems/mastercoin-wallet-0.0.11/lib/mastercoin-wallet/gui/simple_send_window.rb:59:in `send_payment'
    from /var/lib/gems/1.9.1/gems/qtbindings-4.8.3.0/lib/Qt/qtruby4.rb:880:in `qt_metacall'
    from /var/lib/gems/1.9.1/gems/qtbindings-4.8.3.0/lib/Qt/qtruby4.rb:880:in `method_missing'
    from /var/lib/gems/1.9.1/gems/qtbindings-4.8.3.0/lib/Qt/qtruby4.rb:880:in `exec'
    from /var/lib/gems/1.9.1/gems/mastercoin-wallet-0.0.11/lib/mastercoin-wallet/gui/main_window.rb:98:in `new_simple_send'
    from /var/lib/gems/1.9.1/gems/qtbindings-4.8.3.0/lib/Qt/qtruby4.rb:880:in `qt_metacall'
    from /var/lib/gems/1.9.1/gems/qtbindings-4.8.3.0/lib/Qt/qtruby4.rb:880:in `method_missing'
    from /var/lib/gems/1.9.1/gems/qtbindings-4.8.3.0/lib/Qt/qtruby4.rb:880:in `exec'
    from /var/lib/gems/1.9.1/gems/mastercoin-wallet-0.0.11/bin/mastercoin-wallet:12:in `<top (required)>'
    from /usr/local/bin/mastercoin-wallet:23:in `load'
    from /usr/local/bin/mastercoin-wallet:23:in `<main>'
/usr/local/bin/mastercoin-wallet: [BUG] Segmentation fault
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]

-- Control frame information -----------------------------------------------
c:0001 p:0000 s:0002 b:0002 l:001f88 d:001f88 TOP   


-- C level backtrace information -------------------------------------------
/usr/lib/libruby-1.9.1.so.1.9(+0x155d99) [0x7f73a278ed99]
/usr/lib/libruby-1.9.1.so.1.9(+0x57d39) [0x7f73a2690d39]
/usr/lib/libruby-1.9.1.so.1.9(rb_bug+0xb3) [0x7f73a2691523]
/usr/lib/libruby-1.9.1.so.1.9(+0xf68ff) [0x7f73a272f8ff]
/lib/x86_64-linux-gnu/libc.so.6(+0x370b0) [0x7f73a22a70b0]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN10QEventLoop4exitEi+0x1e) [0x7f73a068846e]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN7QDialog10setVisibleEb+0x166) [0x7f739fee9cc6]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN7QDialogD1Ev+0x30) [0x7f739fee9e90]
/var/lib/gems/1.9.1/gems/qtbindings-4.8.3.0/ext/build/smoke/qtgui/libsmokeqtgui.so.3(_ZN12__smokeqtgui9x_QDialogD1Ev+0x65) [0x7f739e9957f3]
/var/lib/gems/1.9.1/gems/qtbindings-4.8.3.0/ext/build/smoke/qtgui/libsmokeqtgui.so.3(_ZN12__smokeqtgui9x_QDialogD0Ev+0x18) [0x7f739e995850]
/var/lib/gems/1.9.1/gems/qtbindings-4.8.3.0/ext/build/smoke/qtgui/libsmokeqtgui.so.3(_ZN12__smokeqtgui13xcall_QDialogEsPvPN5Smoke9StackItemE+0x423) [0x7f739e982ee2]
/var/lib/gems/1.9.1/gems/qtbindings-4.8.3.0/ext/build/ruby/qtruby/src/libqtruby4shared.so.2(_Z14smokeruby_freePv+0xa16) [0x7f739d09fac0]
/usr/lib/libruby-1.9.1.so.1.9(+0x6aa0a) [0x7f73a26a3a0a]
/usr/lib/libruby-1.9.1.so.1.9(rb_gc_call_finalizer_at_exit+0x1df) [0x7f73a26a7b3f]
/usr/lib/libruby-1.9.1.so.1.9(ruby_cleanup+0x1e9) [0x7f73a26969d9]
/usr/lib/libruby-1.9.1.so.1.9(ruby_run_node+0x25) [0x7f73a2696bb5]
/usr/bin/ruby1.9.1() [0x40086b]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f73a2291ea5]
/usr/bin/ruby1.9.1() [0x400899]

Do you have any outputs large enough to pay for this transaction?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on November 27, 2013, 10:33:03 AM
Lack of btc on that address is likely the issue as it only contains 0.00024 I believe- I think I was just surprised by the abrupt crash.

I guess that leads to my next question related to the difference between the btc balances reported in the wallet versus the client.

For instance on one address, I have 0.1 BTC but the client indicates BTC as 0.00197113..why is that?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 27, 2013, 10:41:55 AM
Yeah the crash should not happen. I already have it on my todo but I'm currently caught up with all the distributed exchange work.

Is it possible that transaction is not confirmed yet?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on November 27, 2013, 10:51:53 AM
No - its been confirmed for over 24 hours at least..but I think I've been noticing the btc difference for awhile but have just ignored as the amounts in each case were adequate for my testing and I probably thought it had to do with confirmations also.  Anyways, I'll leave you to the DEX..its much more important ;)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on November 27, 2013, 10:52:45 AM
Can you pm me the address in question? I will try to figure it out :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on December 01, 2013, 05:03:15 PM
I'm trying to fetch data from the Mastercoin-explorer API but unfortunately, it does not work for me.
I'm using AngularJS:
Code:
$http({method: 'GET', url: 'http://mastercoin-explorer.com/api/v1/transactions.json'});

I do get a response, but no JSON data is transferred. Here's the response header:

Code:
Cache-Control	max-age=0, private, must-revalidate
Connection Keep-Alive
Content-Type application/json; charset=utf-8
Date Sun, 01 Dec 2013 16:56:29 GMT
Etag "b6475469d2329675be283f126fd7864a"
Keep-Alive timeout=5, max=100
Server Apache/2.2.22 (Debian)
Set-Cookie request_method=GET; path=/
Status 200 OK
Transfer-Encoding chunked
X-Frame-Options SAMEORIGIN
X-Powered-By Phusion Passenger 4.0.14
X-Request-Id 7481b66f-6ed6-44c4-8f1a-fe5f58fe7ebc
X-UA-Compatible chrome=1
x-content-type-options nosniff
x-runtime 0.009591
x-xss-protection 1; mode=block

I tested another data sources at http://ip.jsontest.com/ and this works for me, so I'm not sure what's the problem here.
Thanks for any hints on how to solve this.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on December 03, 2013, 09:24:28 AM
Can you open the link in your browser? (http://mastercoin-explorer.com/api/v1/transactions.json)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: klee on December 03, 2013, 09:31:00 AM
Can you open the link in your browser? (http://mastercoin-explorer.com/api/v1/transactions.json)
Text only..


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on December 03, 2013, 10:05:40 AM
That's the point :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: StarenseN on December 03, 2013, 10:10:10 AM
Can you open the link in your browser? (http://mastercoin-explorer.com/api/v1/transactions.json)

nvm.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on December 03, 2013, 10:12:19 AM
The question was actually for Maxmint  :D


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: klee on December 03, 2013, 10:23:45 AM
 :P


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on December 03, 2013, 10:26:09 AM
Can you open the link in your browser? (http://mastercoin-explorer.com/api/v1/transactions.json)

Yes, all data gets displayed correctly when opening that in a browser.
I found a workaround in the meantime, I'm querying the page via PHP curl now, that seems to be working for me.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on December 03, 2013, 10:27:28 AM
Ah, you were trying to get it directly from javascript? That won't work because of cross-origin restrictions.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: maxmint on December 03, 2013, 10:28:37 AM
Ah, you were trying to get it directly from javascript? That won't work because of cross-origin restrictions.

Yes, I tried to access it directly via JS. Thanks, that explains everything.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: krystalwhite on December 08, 2013, 07:39:27 AM
Hi All,

I apologise in advance for my technological ineptitude but does anyone have an 'idiot's guide' to installing a master coin wallet.

I have looked at https://github.com/maran/mastercoin-wallet but was completely confused as to what I had to do.

I am running windows 7 - 64 bit.

I have been offered some free Mastercoin - hence my question?

Thanks in advance.

KW


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on December 08, 2013, 09:19:53 AM
I'm sorry but installing it on Windows is quite hard. I advice that you just give out a normal Bitcoin address that you own the private key for and let them sent it to that address. Then you can wait on Zathras's client, which is fully supported on Windows.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: krystalwhite on December 08, 2013, 10:31:10 AM
Thank you so much for the response.

I wasn't aware that I can use my bitcoin qt wallet.

Cheers

kw


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Herp on December 09, 2013, 12:48:48 PM
I'm sorry but installing it on Windows is quite hard. I advice that you just give out a normal Bitcoin address that you own the private key for and let them sent it to that address. Then you can wait on Zathras's client, which is fully supported on Windows.


I've used an older Bitcoin address to receive some master coins from mastercoinfaucet. Does it still work of it's an older Bitcoin address? The address had zero bitcoin balance by the way.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on December 09, 2013, 01:01:02 PM
It doesn't matter how old the address is, all that matters is that you control the address. :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Herp on December 09, 2013, 01:26:49 PM
It doesn't matter how old the address is, all that matters is that you control the address. :)

Thanks! About this upcoming wallet, named Zathras; can I just import the keys into that or send the coins or how will it work exactly? Is there any ETA for this more user friendly wallet?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on December 09, 2013, 01:28:46 PM
This wallet is already user-friendly. It just doesn't work on Windows.

You can import the key into the wallet, that's how my wallet works, I can't tell you how it will work with the Windows wallet though. I'm not developing that.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Herp on December 09, 2013, 01:39:52 PM
This wallet is already user-friendly. It just doesn't work on Windows.

You can import the key into the wallet, that's how my wallet works, I can't tell you how it will work with the Windows wallet though. I'm not developing that.

Tried to install this Ruby based wallet on Windows but got stuck like 80% way there, after installing 4 different programs.

Do you have plans to make a simple one program installer for windows? Perhaps one that bundles all the dependencies and creates all the shortcuts and such?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on December 09, 2013, 01:44:21 PM
No, my wallet will always focus on Linux based systems. Zathras's and Bitoy's clients are for windows. Please look those up :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Herp on December 09, 2013, 02:09:39 PM
No, my wallet will always focus on Linux based systems. Zathras's and Bitoy's clients are for windows. Please look those up :)

I see. Well that's too bad because your wallet seems ahead of others.

Noticed in the other thread you're involved with https://masterchest.info/ This seems to be an online wallet but it won't allow me to register. Do you know how I can get an account here?


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on December 09, 2013, 02:10:24 PM
I'm not involved with that. As far as I know that feature is not implemented at the moment.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Herp on December 09, 2013, 02:19:30 PM
I'm not involved with that. As far as I know that feature is not implemented at the moment.

Thanks. Guess I have no choice but to wait for now.
 
Quote
Mastercoin-explorer is lagging behind because of a piece of recursive validation code I added.

This quote gave me the wrong idea. Was thinking these two, master-chest and mastercoin-explorer, are somewhat intertwined development wise.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Exocyst on December 19, 2013, 05:33:13 PM
I'm on ubuntu 13.04, and I keep getting an issue with qtbinings when I try to run mastercoin-wallet:
Code:
$ mastercoin-wallet 
/var/lib/gems/1.9.1/gems/qtbindings-4.8.5.1/lib/Qt4.rb:27:in `const_missing': uninitialized constant Qt::RubyThreadFix::Queue (NameError)
from /var/lib/gems/1.9.1/gems/qtbindings-4.8.5.1/lib/Qt4.rb:27:in `<class:RubyThreadFix>'
from /var/lib/gems/1.9.1/gems/qtbindings-4.8.5.1/lib/Qt4.rb:23:in `<module:Qt>'
from /var/lib/gems/1.9.1/gems/qtbindings-4.8.5.1/lib/Qt4.rb:22:in `<top (required)>'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.9.1/gems/qtbindings-4.8.5.1/lib/Qt.rb:1:in `<top (required)>'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.9.1/gems/mastercoin-wallet-0.0.11/lib/mastercoin-wallet.rb:1:in `<top (required)>'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.9.1/gems/mastercoin-wallet-0.0.11/bin/mastercoin-wallet:3:in `<top (required)>'
from /usr/local/bin/mastercoin-wallet:23:in `load'
from /usr/local/bin/mastercoin-wallet:23:in `<main>'

I'm brand new to ruby, what did I screw up? I followed these directions verbatim:
Code:
sudo apt-get update
sudo apt-get install ruby ruby-dev gem
sudo apt-get install libqt4-gui libqt4-dev cmake
sudo gem install mastercoin-wallet
mastercoin-wallet

For clarity, this is not an issue specifically with mastercoin-wallet, as qtbindings are malfuntioning in general: a simple require "Qt" pops off the same error:
Code:
$ irb
irb(main):001:0> require "Qt"
NameError: uninitialized constant Qt::RubyThreadFix::Queue
from /var/lib/gems/1.9.1/gems/qtbindings-4.8.5.1/lib/Qt4.rb:27:in `const_missing'
from /var/lib/gems/1.9.1/gems/qtbindings-4.8.5.1/lib/Qt4.rb:27:in `<class:RubyThreadFix>'
from /var/lib/gems/1.9.1/gems/qtbindings-4.8.5.1/lib/Qt4.rb:23:in `<module:Qt>'
from /var/lib/gems/1.9.1/gems/qtbindings-4.8.5.1/lib/Qt4.rb:22:in `<top (required)>'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.9.1/gems/qtbindings-4.8.5.1/lib/Qt.rb:1:in `<top (required)>'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in `require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
from (irb):1
from /usr/bin/irb:12:in `<main>'

I would, of course, still appreciate any help, though.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Exocyst on December 19, 2013, 06:53:25 PM
I figured it out with some help from ryanmelt of the qtbindings github (https://github.com/ryanmelt/qtbindings/issues/69)
Basically, I had to edit mastercoin-wallet.rb and call thread first:
Code:
require 'thread'
require 'Qt'
This should be fixed in the next version of qtbindings according to ryanmelt.


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Exocyst on December 19, 2013, 07:44:52 PM
Do you need to populate the blockchain with bitcoin_node before running mastercoin-wallet?

I'm not seeing any offers and I get errors when I try to create a new purchase offer for TEST MSC:
Code:
/var/lib/gems/1.9.1/gems/mastercoin-wallet-0.0.11/lib/mastercoin-wallet/builder.rb:114:in `pick_outputs': undefined method `reject!' for nil:NilClass (NoMethodError)
from /var/lib/gems/1.9.1/gems/mastercoin-wallet-0.0.11/lib/mastercoin-wallet/builder.rb:151:in `create_transaction_with_keys'
from /var/lib/gems/1.9.1/gems/mastercoin-wallet-0.0.11/lib/mastercoin-wallet/gui/purchase_offer_window.rb:59:in `send_transaction'
from /var/lib/gems/1.9.1/gems/qtbindings-4.8.5.1/lib/Qt/qtruby4.rb:900:in `qt_metacall'
from /var/lib/gems/1.9.1/gems/qtbindings-4.8.5.1/lib/Qt/qtruby4.rb:900:in `method_missing'
from /var/lib/gems/1.9.1/gems/qtbindings-4.8.5.1/lib/Qt/qtruby4.rb:900:in `exec'
from /var/lib/gems/1.9.1/gems/mastercoin-wallet-0.0.11/lib/mastercoin-wallet/gui/main_window.rb:108:in `new_purchase_offer'
from /var/lib/gems/1.9.1/gems/qtbindings-4.8.5.1/lib/Qt/qtruby4.rb:900:in `qt_metacall'
from /var/lib/gems/1.9.1/gems/qtbindings-4.8.5.1/lib/Qt/qtruby4.rb:900:in `method_missing'
from /var/lib/gems/1.9.1/gems/qtbindings-4.8.5.1/lib/Qt/qtruby4.rb:900:in `exec'
from /var/lib/gems/1.9.1/gems/mastercoin-wallet-0.0.11/bin/mastercoin-wallet:12:in `<top (required)>'
from /usr/local/bin/mastercoin-wallet:23:in `load'
from /usr/local/bin/mastercoin-wallet:23:in `<main>'

EDIT: I understand from more combing of early posts that this is an insufficient-balance issue. I guess it's time to learn ruby, I would like to contribute to this mastercoin-wallet client, is there a mailing list?

EDIT2: Learned a teensy bit of ruby, and threw up a patch: https://github.com/Exocyst/mastercoin-wallet/commit/c5ff31dcba49ccb2eda4e5e6273eded8604b0a8a


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: btcxyzzz on December 25, 2013, 11:49:30 PM
Someone help me installing it on Mint 14? Thanks...

CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
  Could NOT find Ruby (missing: RUBY_INCLUDE_DIR RUBY_LIBRARY
  RUBY_CONFIG_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindRuby.cmake:249 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:18 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
make: [build] Error 1 (ignored)
cd ext/build; make
make[1]: Entering directory `/var/lib/gems/1.9.1/gems/qtbindings-4.8.5.1/ext/build'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory `/var/lib/gems/1.9.1/gems/qtbindings-4.8.5.1/ext/build'
make: *** [build] Error 2


Gem files will remain installed in /var/lib/gems/1.9.1/gems/qtbindings-4.8.5.1 for inspection.
Results logged to /var/lib/gems/1.9.1/gems/qtbindings-4.8.5.1/./gem_make.out


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on December 30, 2013, 04:40:48 PM
Hey guys,

I've been mostly AFK these past two weeks but I'm back.

For those on (x/l/k)Ubuntu 13.10 (and perhaps 13.04) I made a script that should hopefully help you install the wallet but I require some testers.

Code:
sudo apt-get -y install curl
curl -L https://gist.github.com/maran/8182379/raw/7309391a1e2341ff9f0cb1ae6603e8006cb891cc/install.sh | bash

This should install the dependencies, install rvm, install ruby-2.1 and install the wallet software.

I developed it on a Xubuntu 13.10 version and it works there.

Please let me know.

 


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on December 31, 2013, 09:51:01 AM
Hey guys,

I've been mostly AFK these past two weeks but I'm back.

For those on (x/l/k)Ubuntu 13.10 (and perhaps 13.04) I made a script that should hopefully help you install the wallet but I require some testers.

Code:
sudo apt-get -y install curl
curl -L https://gist.github.com/maran/8182379/raw/7309391a1e2341ff9f0cb1ae6603e8006cb891cc/install.sh | bash

This should install the dependencies, install rvm, install ruby-2.1 and install the wallet software.

I developed it on a Xubuntu 13.10 version and it works there.

Please let me know.

 

Welcome back!  This is hands down the easiest method to install and works great!  It does take some time as expected - about 20 minutes or so but still much faster than manually doing everything yourself.  I had an ISO for Ubuntu 13.10 so tested with that. 

I'm surprised more people aren't jumping on this.  I recommend putting this in the OP and possibly cross posting in the main thread(s)

Thanks!  Still excited for what comes next  8)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on December 31, 2013, 10:00:15 AM
Awesome, thanks for testing it!

I will update the Github page and OP as this seems to work :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: ninjaboon on January 01, 2014, 03:37:05 AM
Hey guys,

I've been mostly AFK these past two weeks but I'm back.

For those on (x/l/k)Ubuntu 13.10 (and perhaps 13.04) I made a script that should hopefully help you install the wallet but I require some testers.

Code:
sudo apt-get -y install curl
curl -L https://gist.github.com/maran/8182379/raw/7309391a1e2341ff9f0cb1ae6603e8006cb891cc/install.sh | bash

This should install the dependencies, install rvm, install ruby-2.1 and install the wallet software.

I developed it on a Xubuntu 13.10 version and it works there.

Please let me know.

 

currently on Ubuntu 12.10, but will download the new ISO and test it out. thanks


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: iram5110 on January 03, 2014, 05:41:37 AM
buggy but interesting


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on January 03, 2014, 09:46:00 AM
buggy but interesting

If you tell me more about the buggy part I might be able to make it just interesting :)


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on January 08, 2014, 09:11:06 PM
I took some time today to add Fedora (20) support to the automagic installer. As always it might work on earlier versions, if not give me a pm.

I've updated the README with the new script link; if you use the instructions there it should always be up-to-date. (I want to avoid pasting the link here since it might expire in the future and it's hard to go back and edit it everywhere :)

Edit: I created a fixed url for the installer. The latest version should always be on wallet.mastercoin-explorer.com, to install it:

Code:
curl -L http://wallet.mastercoin-explorer.com/ | bash


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: superfluouso on January 09, 2014, 07:59:57 AM
I took some time today to add Fedora (20) support to the automagic installer. As always it might work on earlier versions, if not give me a pm.

I've updated the README with the new script link; if you use the instructions there it should always be up-to-date. (I want to avoid pasting the link here since it might expire in the future and it's hard to go back and edit it everywhere :)

Edit: I created a fixed url for the installer. The latest version should always be on wallet.mastercoin-explorer.com, to install it:

Code:
curl -L http://wallet.mastercoin-explorer.com/ | bash

Very nice! I've got to get some sleep now but will look to test on few different distros over the next couple days.  Thanks!


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on January 09, 2014, 10:07:15 AM
Seems there might be a problem left with the Fedora installation; it runs but it might need a custom OpenSSL version with ECDSA support. I might have been too early saying it's fully supported! :/


Title: Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic
Post by: Tachikoma on January 09, 2014, 02:52:53 PM
The problem is the following: I don't really have the time to dive into this Fedora business too much especially since it's a problem others could probably be working on while I focus on more Mastercoin oriented things. The problem is that the OpenSSL version installed on Fedora does not have the secp256k1 curve enabled.

I will payout USD 250 in Mastercoin for the first person who can modify the install script on http://wallet.mastercoin-explorer.com/ to support Fedora and the likes.

Requirements:
  • It should use RVM if possible
  • Preferably install ruby 2.x
  • It should not touch the yum installed OpenSSL version
  • It should be able to run and configure my wallet client after running the installation script

Please note that the error only happens once you insert your private key in the first run dialog so make sure you test it before submitting. I will also give out a bounty if you can prove that what I want is impossible :)