Skip to content

Generate a Bitcoin/Ethereum wallet address from a given private key. Finite field arithmetics and their tests also added for fun. However didn't use them to generate the public key the reason being they are quite slow

Notifications You must be signed in to change notification settings

rupam-04/walletcryptography

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Take a private key from anywhere. You can use an online service that uses BIP-39 or also generate it using Python in terminal like (the latter should only be used for testing):

>>> import secrets
>>> secrets.token_hex(32)

To generate an Ethereum public address run:

./walletcryptography ethereum <private key>

To generate a Bitcoin public address run:

./walletcryptography bitcoin <private key>

In both the cases a file will be created in the root directory having the details of the generated address and uncompressed public key. You also don't need to have an internet connection while doing this.

About

Generate a Bitcoin/Ethereum wallet address from a given private key. Finite field arithmetics and their tests also added for fun. However didn't use them to generate the public key the reason being they are quite slow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published