Bitcoin Forum
May 25, 2024, 09:48:42 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to generate valid wallet and private keys with PHP  (Read 261 times)
willmakeacoin (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
January 15, 2018, 09:33:54 PM
 #1

hello,

as several coins I have do not have a paperwallet generator and the only language I speak is PHP,
does anyone know how can someone create wallets of any currency using PHP ?

thanks
BitMaxz
Legendary
*
Online Online

Activity: 3262
Merit: 2977


:( My PC broke due trying to recover an old wallet


View Profile WWW
January 15, 2018, 11:27:51 PM
 #2

Are you planning to make a website that can generate wallet and priv keys in php?
I think you can't get any free script here mostly they are selling it look at this thread as sample https://bitcointalk.org/index.php?topic=2276372.0
But if you wanted to make your own you should install your own bitcoin core you make wallet in php via JSON-RPC
You can check the JSON-RPC in php here https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)

But if you wanted an easy step without running bitcoind daemon you should buy the script from trusted sellers.. i don't know if the above link is trusted or not since its neutral i think its still safe..

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
willmakeacoin (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
January 15, 2018, 11:49:44 PM
 #3

@BitMaxz: thanks, but as mentioned in the OP, I am not looking to make it for BTC, but other alt-coins that do not currently have a paperwallet generator, so having a ton of daemons, might be pointless after all.

I wonder, considering it is basic cryptography, can someone shed some light, which php functions shall be utilized to generate a valid wallet & priv key combo randomly and how it can be customized to work for each different crypto coin and it's settings ?
master2080
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
January 16, 2018, 06:48:38 AM
 #4

Find out how to manually generate a key for each of the currency you want, then just implement it in PHP?

Where's the issue exactly?
willmakeacoin (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
February 07, 2018, 05:39:40 PM
 #5

so, nobody knows ?
garlex
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
February 08, 2018, 09:38:51 PM
 #6

Are you attempting to wrap a native coin client in PHP or code it from scratch in PHP? The difference is immense.
pebwindkraft
Sr. Member
****
Offline Offline

Activity: 257
Merit: 343


View Profile
February 09, 2018, 10:25:46 AM
Merited by ABCbits (1)
 #7

not a PHP expert, but this topic comes up all time in StackExchange. You might search there, basically people use libraries that are required.
Closest I could come up with is here:
https://bitcoin.stackexchange.com/questions/64117/php-is-there-a-way-to-convert-a-private-ecdsa-key-to-its-corresponding-public-k

Simply do a search in the topline with the word "php", and you'll get some replies. Hope this brings you forward.
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!