Influencer | Entrepreneur
This Channel Does Not Promote Or Encourage Any Illegal Activities all contents Provided by This Channel is meant For Educational Purpose-only
Last updated 9 months, 2 weeks ago
{~} Send your menfess to
@tosfesssbot
{~} Bot pengaduan
@tosfessrobot (bukan untuk send mf)
{~} PP @PPTOSFESS
Explore, click, and shop!
Rekber @Jejakrekber
info: @baselpminfo
Last updated 2 months ago
#typescript #javascript #encryption #crypto
TS модуль для AES шифрования текста паролем, использует соль в 256 бит
Использую для безопасного хранения ключей
#python #btc #ordinal #brc-20 #runes #wallet
Генерация ordinal BTC кошеля:
```
from dataclasses import dataclass
from hdwallet import HDWallet
from hdwallet.utils import generate_entropy
from hdwallet.symbols import BTC as SYMBOL
from btclib.b32 import p2tr
@dataclass
class P2TRBTCWallet:
mnemonic: str
address: str
path: str = "m/86'/0'/0'/0/7"
class P2TRBTCGenerator:
def __init__(self, strength: int = 128, language: str = "english"):
self.strength = strength
self.language = language
self.entropy = generate\_entropy(strength=self.strength)
self.hdwallet = HDWallet(symbol=SYMBOL, use\_default\_path=False)
self.hdwallet.from\_entropy(
entropy=self.entropy, language=self.language
)
self.hdwallet.from\_path("m/86'/0'/0'/0/7")
def generate(self) \-> P2TRBTCWallet:
address = p2tr(self.hdwallet.compressed())
return P2TRBTCWallet(
mnemonic=self.hdwallet.mnemonic(),
address=address
)
```
Influencer | Entrepreneur
This Channel Does Not Promote Or Encourage Any Illegal Activities all contents Provided by This Channel is meant For Educational Purpose-only
Last updated 9 months, 2 weeks ago
{~} Send your menfess to
@tosfesssbot
{~} Bot pengaduan
@tosfessrobot (bukan untuk send mf)
{~} PP @PPTOSFESS
Explore, click, and shop!
Rekber @Jejakrekber
info: @baselpminfo
Last updated 2 months ago