Bitcoin Forum
May 02, 2024, 09:07:07 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: PHP Deterministic wallet public key generator  (Read 1899 times)
melpomene (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
July 09, 2013, 04:29:20 PM
 #1

Hi!

A friend has coded electrum compatible public key generation from mpk (master public key) in pure php.

Code:
https://gist.github.com/sembrestels/5948996

This allows php sites to work with addresses from an electrum compatible wallet so they can generate any of the receiving addresses without real access to funds.

This is his first bitcoin related code. If this is useful for your project consider making a donation to the following address:
1N67cWXfuAZPJa9rb8fBVfdX2Gb8xb8Yi7

Code based on electrum python code and the following gist: https://gist.github.com/scintill/3549107, using php ecdsa and big number libraries.

Developed as a first stage for integrating payments into elgg (an open source social networking software).

Cheers!
1714640827
Hero Member
*
Offline Offline

Posts: 1714640827

View Profile Personal Message (Offline)

Ignore
1714640827
Reply with quote  #2

1714640827
Report to moderator
1714640827
Hero Member
*
Offline Offline

Posts: 1714640827

View Profile Personal Message (Offline)

Ignore
1714640827
Reply with quote  #2

1714640827
Report to moderator
1714640827
Hero Member
*
Offline Offline

Posts: 1714640827

View Profile Personal Message (Offline)

Ignore
1714640827
Reply with quote  #2

1714640827
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714640827
Hero Member
*
Offline Offline

Posts: 1714640827

View Profile Personal Message (Offline)

Ignore
1714640827
Reply with quote  #2

1714640827
Report to moderator
1714640827
Hero Member
*
Offline Offline

Posts: 1714640827

View Profile Personal Message (Offline)

Ignore
1714640827
Reply with quote  #2

1714640827
Report to moderator
1714640827
Hero Member
*
Offline Offline

Posts: 1714640827

View Profile Personal Message (Offline)

Ignore
1714640827
Reply with quote  #2

1714640827
Report to moderator
stick
Sr. Member
****
Offline Offline

Activity: 441
Merit: 266



View Profile
July 09, 2013, 05:03:46 PM
 #2

have you seen https://bitcointalk.org/index.php?topic=240018.0 ?

CoinBomb
Full Member
***
Offline Offline

Activity: 179
Merit: 100



View Profile WWW
July 09, 2013, 09:10:23 PM
 #3

is this litecoin compatible as well? (I know electrum has a litecoin fork, but not sure of the internals...)

Promote our site for no risk BTC / LTC profit! 1% gross profit, LTC/BTC payments weekly. Click through for more details.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!