Bitcoin Forum
October 20, 2018, 08:04:48 PM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
   Home   Help Search Donate Login Register  
Pages: [1]
Author Topic: netWallet, Read Litecoin wallet hosted on a server!  (Read 1000 times)
Hero Member
Offline Offline

Activity: 714
Merit: 500

View Profile WWW
March 20, 2013, 03:28:58 AM

I've had this idea in my head for awhile, and I've only shared it with 2 people. It's called netWallet, and it's basically having the QT(Or any client that decides to implement this) to read a wallet file from an online server that you can host yourself. It can be anything file name because the file contents are the same.

How I want it to work, you generate a secure unique Wallet URL and Key that's encrypted in AES, you paste the encoded link in the QT and enter the password and the QT will create a connection to the wallet, so it doesn't have to be downloaded. You will host the wallet and a php file that the client will connect to, the client will send the key to the php file for verification and return the wallets contents(Never exposes the actual wallets url, also please rename wallet.dat to something.xD). The QT will never save the Key, and the only possible way for a hacker to steal the wallet.dat info would be to intercept the packets(Unless your hosting it on a SSL site).

I created a small example of generating these unique URLs and Keys in C#:
Key and URL generation:

./netWallet new <url>

Decrypting URL with Key:

./netWallet getlink <encrypted link> <key>

Please note that "wallet.dat" in the pictures will be replaced with "something.php" once I code the php server part of this.

As you can also see that the URL and Key are in BASE64. Reason being me compressing the encrypted key and link bytes to BASE64 so the user can easily copy the info down.

The way I'm able to create the single key(AES requires a key and IV) is me converting the key and IV bytes to BASE64 and adding the LTC char between them(Easier for later parsing), and then converting the whole string into a BASE64 string again.

You can use see the code I used for the images above here:

It's very simple to implement, so feel free to create your own version in whatever language you please.

If anyone wants to add to this idea, go ahead, it's open to anyone. I'm not very proficient in PHP or C++, so if anyone wants to finish off the PHP server part or even make a simple implementation of to the QT, go for it!


*Image Removed*
Donate LTC: LRgbgTa3XNQSEUhnwC6Ye2vjiCV2CNRpib
Donate BTC: 1AGP6xPTRvsAVhsRsBX13NUH6p6LJjyeiA
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Offline Offline

Activity: 1176
Merit: 1000


View Profile
March 20, 2013, 01:35:00 PM

Isn't this a bit like what electrum is doing?

more or less retired.
Pages: [1]
Jump to:  

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