Pages:
Author

Topic: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) - page 62. (Read 129207 times)

hero member
Activity: 938
Merit: 1000
Payment confirmed, thanks again! Smiley
legendary
Activity: 1260
Merit: 1031
Rational Exuberance
sr. member
Activity: 284
Merit: 250
Here's the new address for grazcoin, sent via PM:

So please send to the following address:
1Mint2BdVyh6iCKurX9qPpcPFcD6WT3Eai


Sweet. Almost ready to proceed. Can you double/triple/quadruple check and confirm this address publicly, please? Someday I know I'm going to make a mistake with something like this, and I'd like it to not be today Smiley

I would have really preferred the previous P2SH address (starting with 3), but I understand the technical difficulties.
If then, 1Mint2BdVyh6iCKurX9qPpcPFcD6WT3Eai is the second best Smiley

legendary
Activity: 1260
Merit: 1031
Rational Exuberance
Here's the new address for grazcoin, sent via PM:

So please send to the following address:
1Mint2BdVyh6iCKurX9qPpcPFcD6WT3Eai


Sweet. Almost ready to proceed. Can you double/triple/quadruple check and confirm this address publicly, please? Someday I know I'm going to make a mistake with something like this, and I'd like it to not be today Smiley
legendary
Activity: 1260
Merit: 1031
Rational Exuberance
Confirmed as well. Since the price is very volatile the last 24 hours (High: 146.95, low: 135.00) I would recommend you change the amounts before paying out or you might pay out too much, or too little.   

I spoke to the board about this, and we are agreed that the payout is 180 BTC, based on the price the day the contest ended. The only way I'll change the payout amount is if the price of BTC drops dramatically.
legendary
Activity: 1260
Merit: 1031
Rational Exuberance
  • 46.8 BTC to grazcoin at 3Mint2B5ECNdXDZJneJ1XtKmrkmnMbwBbN for his contest winnings (100% of 26% of 180 BTC)

confirmed.
We should make sure that also such addresses (P2SH) could get mastercoins.

Hit a minor snag trying to set this transaction up this morning: Armory doesn't like P2SH addresses (I get an error message). It looks like I need a standard BTC address from you grazcoin. Sorry!

(Sent grazcoin a PM)

Sorry for the delay!
hero member
Activity: 938
Merit: 1000
Confirmed as well. Since the price is very volatile the last 24 hours (High: 146.95, low: 135.00) I would recommend you change the amounts before paying out or you might pay out too much, or too little.   
sr. member
Activity: 284
Merit: 250
  • 46.8 BTC to grazcoin at 3Mint2B5ECNdXDZJneJ1XtKmrkmnMbwBbN for his contest winnings (100% of 26% of 180 BTC)

confirmed.
We should make sure that also such addresses (P2SH) could get mastercoins.

sr. member
Activity: 266
Merit: 250
Since there is quite a bit of money at stake, please double, triple, quadruple check the addresses above. I'll probably do this transaction tomorrow. I don't like to delay, but making a mistake with one of these addresses would be very bad!
Address confirmed, thanks JR!
legendary
Activity: 1260
Merit: 1031
Rational Exuberance

Public disclosure of the next planned expenditures:

  • 0.72 BTC to Ron at 1NFwgQHwdUmPucbGvzYM9Q8rTmAU4sX4y9 for purchasing our ad-free wordpress blog (http://blog.mastercoin.org)
  • 69.12 BTC to Tachikoma at 1DVnvVJN9bgs4Si4xZ16aZRzC8ovgtWESH for the BTC part of his contest winnings (80% of 48% of 180 BTC)
  • 46.8 BTC to grazcoin at 3Mint2B5ECNdXDZJneJ1XtKmrkmnMbwBbN for his contest winnings (100% of 26% of 180 BTC)
  • 43.2 BTC to zathras at 1MCHESTbJhJK27Ygqj4qKkx4Z4ZxhnP826 for his contest winnings (100% of 24% of 180 BTC)
  • 0 BTC to bitoy. Like a real man, he only wants MasterCoins for his contest winnings Smiley

The MasterCoin part of the contest winnings will come later, once I settle on the final list of MSC sellers on the buy/sell thread. I'm purchasing 3.6 BTC worth of MSC for bitoy, and 17.28 BTC worth of MSC for Tachikoma, for a total of 20.88 - a purchase which looks to be moving the price a noticeable amount. Smiley

Since there is quite a bit of money at stake, please double, triple, quadruple check the addresses above. I'll probably do this transaction tomorrow. I don't like to delay, but making a mistake with one of these addresses would be very bad!
legendary
Activity: 1260
Merit: 1031
Rational Exuberance
Time to buy some MSC:

Our first coding contest is complete, and two of our winners want some MasterCoins in the mix. (The other two said they want to buy MasterCoins on their own terms).

Consequently, I have 20.88 BTC to spend on MasterCoins, at the best price(s) I can get. (This is essentially a "market order")

Looking at the spreadsheet, it appears that I need to talk to: thehun, MidwestMiner, StarenseN, Wink, and lishbtc in order to put together an order this big. If anybody can beat their prices (which are listed up to 0.03 BTC/MSC), please PM me ASAP.

I'm happy to use MaxMint if desired. I'll be sending the MasterCoins to the Exodus Address first, then splitting them up from there to the two contestants (I want to make sure they both get the same price)

Thanks!

-J.R.

Smiley
legendary
Activity: 1498
Merit: 1000
Congrats guys, you are amazing!
sr. member
Activity: 266
Merit: 250
Well done guys, been a busy month so time to relax for a couple days!
hero member
Activity: 938
Merit: 1000
Congrats guys. I think we should be very proud of what we accomplished together in such a short timeframe! Smiley
sr. member
Activity: 284
Merit: 250
I now have the requested info from the three main participants, which I plugged into my spreadsheet which already had my own opinion. After my magic math, the following numbers came out:

Tachikoma: 48%
Grazcoin: 26%
Zathras: 24%
Bitoy: 2%

Zathras included maraoz in his payouts distribution suggestion (maraoz withdrew from the contest), but that didn't actually affect the outcome because I was actually looking at the ratios between contestants rather than the total percentages (i.e. person X thinks person Y deserves twice as much as person Z . . . and that's all I'll say about the magic formulas!).

My heartfelt thanks to each of you. Payment will be sent once I give the board the opportunity to exercise their veto power.


congratz to all Smiley
Thank you dacoinminster!

legendary
Activity: 1260
Merit: 1031
Rational Exuberance
I now have the requested info from the three main participants, which I plugged into my spreadsheet which already had my own opinion. After my magic math, the following numbers came out:

Tachikoma: 48%
Grazcoin: 26%
Zathras: 24%
Bitoy: 2%

Zathras included maraoz in his payouts distribution suggestion (maraoz withdrew from the contest), but that didn't actually affect the outcome because I was actually looking at the ratios between contestants rather than the total percentages (i.e. person X thinks person Y deserves twice as much as person Z . . . and that's all I'll say about the magic formulas!).

My heartfelt thanks to each of you. Payment will be sent once I give the board the opportunity to exercise their veto power.
sr. member
Activity: 266
Merit: 250
A final overview of my contributions to the contest as requested.

With thanks to:
* Bouncy Castle for their crypto library (SHA & bignum)
* James Newton-King for the JSON.NET library (serialize/deserialize JSON)
* Tachikoma for the multisig specification


CODE CONTRIBUTIONS:

Masterchest Library - a .NET DLL that gives potential new mastercoin developers the ability to use functions with a single line of code

Download: source/binaries

 * Class structures to hold the various RPC responses
 * Decode mastercoin transactions (generate (exodus purchase), simple send and multisig)
 * Encode mastercoin transactions (multisig only, simple send not offered to minimize blockchain bloat) creating the raw transaction hex from scratch
 * Get a list of addresses in wallet from bitcoind/qt (using both listbyreceivedaddress and listunspent to get all addresses including change)
 * Retrieve a blockhash from bitcoind/qt
 * Retrieve a block from bitcoind/qt
 * Retrieve the block currently being mined from bitcoind/qt
 * Retrieve transactions from bitcoind/qt
 * Evaluate a bitcoin transaction and return whether it contains a mastercoin transaction

Masterchest Engine - a blockchain scanning & mastercoin transaction processing engine

Download: source/binaries
Screenshot:


 * Scans the bitcoin blockchain and retrieves the transactions in each block
 * Checks each bitcoin transaction to see if it contains a mastercoin transaction
 * Parses any mastercoin transactions found and decodes them
 * Writes decoded transactions to a database
 * Processing engine runs through transactions in database checking validity and updating balances etc

Masterchest.info - a block explorer for displaying mastercoin transactions and address balances/history

Download: source/binaries
Screenshot:


 * Independent verification of transactions for the community
 * Lookup address balances and their transaction history
 * Lookup transactions and their validity
 * Display recent mastercoin transactions
 * Unconfirmed transaction support and fast scanning (60-120 secs for a mastercoin transaction to appear)

Masterchest Wallet - a desktop wallet for mastercoin

Download: source/binaries
Screenshot:


 * Clean fresh UI design (attempt to distinguish ourselves from the myriad of bitcoin clones all using the same QT wallet design)
 * Interfaces with bitcoind/qt via RPC
 * Blockchain scanning & mastercoin transaction detection
 * Decoding detected transactions and processing wallet and address balances
 * Multiple address support (automatically picks up all addresses from bitcoind/qt and allows them to be used as source or destination for sends)
 * Multiple currency support (mastercoin, test mastercoin, bitcoin)
 * Send transactions for all supported currencies (multisig for mastercoin, sendtoaddress for bitcoin (though this will move to createraw in future releases))
 * Transaction history
 * Unconfirmed transaction support (both mastercoin and bitcoin)

OTHER CONTRIBUTIONS:
 * Developed an independant implementation of Tachikoma's multisig and successfully verified compatibility against Tachikoma's implementation
 * Work with Tachikoma & JR to define current set of transaction processing rules
 * Helped define perception of total coin supply and define final totals verifying that three seperate implementations (masterchest.info, mastercoin-explorer.com, grazcoins mastercoin-tools) agreed on the final figure of 619478.59338440 MSC
 * Testing of grazcoins CSV output of all exodus generate transactions against masterchest
 * Various rounds of test transactions
 * Testing of Tachikoma's various contributions
 * Contributed to various technical discussions
 * Testing rounds on VMs locating & resolving Masterchest wallet bugs

All contributions are open source for anyone to use as they like Smiley

Congratulations and well done to all the other contestants!

Thanks Smiley
hero member
Activity: 938
Merit: 1000
Code contributions

Mastercoin-ruby: A ruby library to parse MasterCoin data. Source
  • Decoda a Mastercoin data-address
  • Decode a Mastercoin data-public key
  • Encode data to an address
  • Encode data to a public key
  • Advise how to create a 'old school' transaction using sendmany
  • Get the amount of coins bought via Exodus for a given Bitcoin address
  • Get the amount of coins bought via Exodus for a given Bitcoin transaction-id
  • Decode a Mastercoin transaction based on given Bitcoin transaction-id
  • Create and relay a Mastercoin multisig transaction through Bitcoind

Mastercoin-explorer.com: A Ruby on Rails application to index all Mastercoin transactions and show other data. Source.
  • Index all Mastercoin related transactions both Exodus payments and simple send transactions.
  • Offer a public JSON API so others can easily parse this data without having to index everything themselves. Documentation here.
  • Multi-currency support currently has real and test Mastercoins

Mastercoin-wallet: A (QT-based) Mastercoin thin-client implementation. Source
  • Uses the forementioned Mastercoin-explorer API to communicatie balance data.
  • Only requires a private key with an existing Mastercoin balance to use.
  • Saves keys encoded in config files.
  • Does not require local Bitcoind/QT.
  • Uses multisig approach.





Other contributions
sr. member
Activity: 284
Merit: 250
Sent to tachikoma, grazcoin, zathras, and bitoy just now:

Hey guys,

I need each of you to do the following:


Note: Grazcoin joined forces with Grimentz which is responsible for UI of http://masterchain.info, so voting for Grazcoin includes the part of Grimentz.

Pages:
Jump to: