Skip to content

Commit

Permalink
Update: no EC multiply quick usage example
Browse files Browse the repository at this point in the history
  • Loading branch information
meherett committed Oct 25, 2023
1 parent 08d86b9 commit b8b0dcc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ PASSPHRASE: str = "meherett" # u"\u03D2\u0301\u0000\U00010400\U0001F4A9"
NETWORK: Literal["mainnet", "testnet"] = "mainnet"
# To show detail
DETAIL: bool = True
# Wallet Wallet Important Format's
# Wallet Important Format's
WIFs: List[str] = [
private_key_to_wif(private_key=PRIVATE_KEY, wif_type="wif", network=NETWORK), # No compression
private_key_to_wif(private_key=PRIVATE_KEY, wif_type="wif-compressed", network=NETWORK) # Compression
Expand Down
12 changes: 8 additions & 4 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ _______________
from bip38 import (
private_key_to_wif, bip38_encrypt, bip38_decrypt
)
from typing import List
from typing import (
List, Literal
)

import json

Expand All @@ -76,8 +78,8 @@ _______________
DETAIL: bool = True
# Wallet important format's
WIFs: List[str] = [
private_key_to_wif(private_key=PRIVATE_KEY, wif_type="wif"), # No compression
private_key_to_wif(private_key=PRIVATE_KEY, wif_type="wif-compressed") # Compression
private_key_to_wif(private_key=PRIVATE_KEY, wif_type="wif", network=NETWORK), # No compression
private_key_to_wif(private_key=PRIVATE_KEY, wif_type="wif-compressed", network=NETWORK) # Compression
]

for WIF in WIFs:
Expand Down Expand Up @@ -147,7 +149,9 @@ EC multiply:
from bip38 import (
intermediate_code, create_new_encrypted_wif, confirm_code, bip38_decrypt
)
from typing import List
from typing import (
List, Literal
)

import json
import os
Expand Down

0 comments on commit b8b0dcc

Please sign in to comment.