Bitcoin Forum
June 07, 2024, 12:01:54 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / Re: PyBTC Bitcoin Address's Generator (offline) and More on: December 10, 2015, 07:09:13 PM
 Grin Done update it

Code:
def rankey():
r = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~!@#$%^&*()"0123456789'
rand = random.sample(r,64)
k = ''.join(rand)
key = sha256(k).hexdigest()
return key
2  Bitcoin / Development & Technical Discussion / Re: PyBTC Bitcoin Address's Generator (offline) and More on: December 10, 2015, 06:20:37 PM
oh  Shocked thanx i'll fix it
3  Bitcoin / Development & Technical Discussion / Re: PyBTC Bitcoin Address's Generator (offline) and More on: December 10, 2015, 05:43:12 PM
also you can use your private key  Wink so don't worry
4  Bitcoin / Development & Technical Discussion / Re: PyBTC Bitcoin Address's Generator (offline) and More on: December 10, 2015, 05:35:18 PM
 Cheesy Cheesy

i'm a n00b its jsut random kay and encode it in hex and sha256 to get 32-bit key and use it as a private key Smiley
5  Bitcoin / Development & Technical Discussion / PyBTC Bitcoin Address's Generator (offline) and More on: December 10, 2015, 04:46:50 PM
Hello all this my first Post Here  Cheesy Cheesy

PyBTC it's Simple (script & library)

Bitcoin Address's Generator (offline) , Base58Check (WIF) Encode/Decode , WIF to Bitcoin Address

Ex for using as library
Code:
    >>> from PyBTC import Addr
    >>> Addr('0000000000000000000000000000000000000000000000000000000000000002')
    '1LagHJk2FyCV2VzrNHVqg3gYG4TSYwDV4m'

WIF
Code:
    >>> from PyBTC import WIF
    >>> WIF('0000000000000000000000000000000000000000000000000000000000000002')
    '5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreAvUcVfH'

Ex as script

Code:

PyBTC.py -a
Address :  1LTUNrDmDZTDJxy3PviZxjwDJpvUr2YRu7
Privkey :  3427e5ca8a4b34f2c057b6ebd4372b6a86b6c8ad16831cce7cf5b53bcefc637e
WIF     :  5JDFqFTFDEfvzuxrQrSrvnrTHJKqeTdcNTxWMCQ2VotLZTfPw7v

source  Grin https://github.com/MGF15/PyBTC/
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!