Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Pymmdrza committed Aug 28, 2024
1 parent d185029 commit 2cf6f16
Showing 1 changed file with 24 additions and 11 deletions.
35 changes: 24 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ sudo chmod +x install.sh

---

## Update `2024.08.24`:
### Update `2024.08.24`:

Add Short Key (Mini Private Key) Converter for bitcoin wallet. (Mini Private Key : [More Detail's](https://en.bitcoin.it/wiki/Mini_private_key_format))

Expand All @@ -97,7 +97,7 @@ Short Key Like: `S6c56bnXQiBjk9mqSYE7ykVQ7NzrRy`

---

### Private Key
## Private Key

More details about private key convert in python with
cryptofuzz : [cryptofuzz/Example/Privatekey](https://guide.mmdrza.com/guidelines/cryptofuzz/example/private-key-hex 'cryptofuzz private key hex source code python')
Expand Down Expand Up @@ -132,7 +132,7 @@ compress_address = conv.hex_to_addr(privatekey, True)
uncompress_address = conv.hex_to_addr(privatekey, False)
```

### Wif
## Wif

Convert From
Wif ( [More detail and Example](https://guide.mmdrza.com/guidelines/cryptofuzz/example/private-key-wif 'more detail wif convert with cryptofuzz') )
Expand Down Expand Up @@ -168,7 +168,7 @@ uncompress_address = conv.wif_to_addr(wif, False)

```

### Mnemonic
## Mnemonic

Convert From Mnemonic (BIP39) ( [More Detail](https://guide.mmdrza.com/guidelines/cryptofuzz/example/mnemonic) )

Expand Down Expand Up @@ -204,7 +204,7 @@ uncompress_address = conv.mne_to_addr(mnemonic, False)

---

### Decimal
## Decimal

Convert From Decimal (Number) ( [More Detail](https://guide.mmdrza.com/guidelines/cryptofuzz/example/decimal) )

Expand Down Expand Up @@ -239,6 +239,21 @@ uncompress_address = conv.int_to_addr(dec, False)

---

## Block

read block data from block file (bitcoin core sync data file's) [ `blk00001.blk` ]

```python
from cryptofuzz import block
import os
# path block file
path_data = os.path.join("BITCOIN_CORE_SYNC_BLOCK_FOLDER")
block_path = os.path.join(path_data, "blk00001.dat") # first block file sync
# full block data
block_data = block.reader(block_path)
```

---
## Command-Line Usage

After installing the `cryptofuzz` package, you can use the `cryptofuzz` command-line tool to perform various
Expand All @@ -248,7 +263,7 @@ cryptographic operations directly from your terminal.

Here are some examples demonstrating how to use the `cryptofuzz` command-line tool:

#### Generate a New Private Key
### Generate a New Private Key

```bash
cryptofuzz --privatekey
Expand All @@ -266,7 +281,7 @@ Ethereum Address: 0x742d35Cc6634C0532925a3b844Bc454e4438f44e
...
```

#### Generate a New Mnemonic Phrase
### Generate a New Mnemonic Phrase

```bash
cryptofuzz --mnemonic
Expand All @@ -282,10 +297,9 @@ Private Key: 0x8f2a559490...
Public Key: 04bfcab...
Bitcoin Address (P2PKH): 1HZwkCg...
Ethereum Address: 0xAb5801a7...
...
```

#### Convert Private Key to Bitcoin Addresses
### Convert Private Key to Bitcoin Addresses

```bash
cryptofuzz --bitcoin
Expand All @@ -299,10 +313,9 @@ Private Key (Hex): 0x1e99423a4ed27608a15a2616c1...
P2PKH Address: 1BoatSLRHtKNngkdXEeobR76b53LETtpyT
P2SH Address: 3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy
Bech32 Address: bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kygt080
...
```

#### Display Example Usages
### Display Example Usages

```bash
cryptofuzz --example
Expand Down

0 comments on commit 2cf6f16

Please sign in to comment.