250 PTS - BOUNTY - Import wallet.dat Private Keys via API call (2 PTS Referral)

Started by bytemaster, December 27, 2013, 07:02:38 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bytemaster

Quote from: toast on December 30, 2013, 02:18:11 AM
BitShares
https://github.com/InvictusInnovations/BitShares/blob/master/.gitignore#L46

Igorning fc from the bitshares repo is because fc is a foreign repository checked out separately...

git clone bitshares
cd bitshares
git clone fc
cmake .
make
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

toast

Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

bytemaster

Quote from: toast on December 30, 2013, 02:00:14 AM
Can you take fc/ out of the .gitignore, or at least explain what's supposed to be in there?

bitshares/fc  -> https://github.com/InvictusInnovations/fc

Which repository are you referring to for the .gitignore
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

toast

Can you take fc/ out of the .gitignore, or at least explain what's supposed to be in there?
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

toast

Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

bytemaster

Our wallets will need to import from many different wallet.dat files which may be protected by a password.  For easy of development we would like an API call implemented in the bitshares code base that can import a wallet.dat file.

Files to be created:
include/bts/bitcoin_wallet.hpp
src/bitcoin_wallet.cpp

namespace bts  {
      std::vector<fc::ecc::private_key> import_bitcoin_wallet( const fc::path& wallet_dat, const std::string& passphrase );
}


The bounty will be awarded to the first person who can complete the task with pull request that is accepted by our team.  To be accepted, a unit test case must be provided using boost unit tests that verifies that the keys can be imported and converted to the proper PTS address.   All code must follow the same conventions found in the bitshares repository.   Code must compile with g++ and VC 2010 or newer.   A 1 PTS penalty will be assessed (deducted from ultimate award) for every submission attempt that is sent back for coding style violations, compilation errors, or failed unit tests.   

There is an additional 2 PTS bounty paid to the person who refers the winner of this bounty to this thread.  You must be the first to post the name of the person who ultimately wins the bounty to this thread.   You cannot refer yourself.

Any questions regarding the implementation of this method or about the requirements must be posted in this thread.  More bounties will be forth coming.

For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.