Skip to content

Bitcoin utils related to Elliptic curve cryptography (ECC) algorithms used in bitcoin to create addresses or public keys from private keys, brainwallets, WIFs, etc.

Notifications You must be signed in to change notification settings

ivanxuu/btctool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BtcTool

Bitcoin utils related to Elliptic curve cryptography (ECC) algorithms used in bitcoin to create addresses or public keys from private keys, brainwallets, WIFs, etc.

Functions

BtcTool.privkey_to_wif(privkey, options) Create WIF private key from raw private key.

BtcTool.wif_to_privkey(wif) Returns the raw private key from a Wallet Import Format (WIF) string.

BtcTool.wif_to_pubkey(wif) Returns the public key from a Wallet Import Format (WIF) string.

BtcTool.wif_to_address(wif, options) Generate a bitcoin address from a Wallet Import Format (WIF) string.

BtcTool.brainwallet_to_wif(wif, options) Returns Wallet Import Format (WIF) generated from any arbitrary text (passphrase).

Installation

The package can be installed by adding btctool to your list of dependencies in mix.exs:

def deps do
  [
    {:btctool, "~> 0.1"}
  ]
end

The docs can be found at https://hexdocs.pm/btctool.

About

Bitcoin utils related to Elliptic curve cryptography (ECC) algorithms used in bitcoin to create addresses or public keys from private keys, brainwallets, WIFs, etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages