Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gregtonoski/pubkeybitcoin

Calculate a secp256k1 public key from a private key
https://github.com/gregtonoski/pubkeybitcoin

bitcoin key pubkey secp256k1

Last synced: about 1 month ago
JSON representation

Calculate a secp256k1 public key from a private key

Awesome Lists containing this project

README

        

pubkeybitcoin - calculate a secp256k1 public key from a private key. Secp256k1 is used in Bitcoin and elsewhere.

Examples:
```
sh pubkeybitcoin.sh -f hex FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364140
```
```
sh pubkeybitcoin.sh -f wif L5oLkpV3aqBjhki6LmvChTCV6odsp4SXM6FfU2Gppt5kFLaHLuZ9
```
Output: `0379BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798`.

#### Screenshot
![image](https://github.com/user-attachments/assets/3fbfa4f0-98ed-4922-a58f-81685288ecf9)