Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivanxuu/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.
https://github.com/ivanxuu/btctool
Last synced: 6 days ago
JSON representation
Bitcoin utils related to Elliptic curve cryptography (ECC) algorithms used in bitcoin to create addresses or public keys from private keys, brainwallets, WIFs, etc.
- Host: GitHub
- URL: https://github.com/ivanxuu/btctool
- Owner: ivanxuu
- Created: 2018-04-06T13:46:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-05-14T09:49:41.000Z (over 6 years ago)
- Last Synced: 2024-10-17T13:40:40.930Z (about 1 month ago)
- Language: Elixir
- Size: 49.8 KB
- Stars: 5
- Watchers: 2
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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)](https://hexdocs.pm/btctool/BtcTool.html#privkey_to_wif/2)
Create WIF private key from raw private key.[BtcTool.wif_to_privkey(wif)](https://hexdocs.pm/btctool/BtcTool.html#wif_to_privkey/1)
Returns the raw private key from a Wallet Import Format (WIF) string.[BtcTool.wif_to_pubkey(wif)](https://hexdocs.pm/btctool/BtcTool.html#wif_to_pubkey/1)
Returns the public key from a Wallet Import Format (WIF) string.[BtcTool.wif_to_address(wif, options)](https://hexdocs.pm/btctool/BtcTool.html#wif_to_address/2)
Generate a bitcoin address from a Wallet Import Format (WIF) string.[BtcTool.brainwallet_to_wif(wif, options)](https://hexdocs.pm/btctool/BtcTool.html#brainwallet_to_wif/2)
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`:```elixir
def deps do
[
{:btctool, "~> 0.1"}
]
end
```The docs can be found at
[https://hexdocs.pm/btctool](https://hexdocs.pm/btctool).