package
0.0.0-20240121083119-ff0cf44d71f4
Repository: https://github.com/corray333/blockchain.git
Documentation: pkg.go.dev

# Functions

GenerateSecretNumberBySeedPhrase generates a secret number from the seed phrase.
GenerateSeedPhrase generates a seed phrase from the seed number.
GenerateSeedPhraseFromSkratch generates a randem seed number and uses it to generate a seed phrase.
TODO: change this function to make generated address smaller.
Wallet.GetAddress method returns an address of the wallet.
Wallet.GetPKH method returns a public key hash of the wallet.
Wallet.GetKey method returns a private key of the wallet.
Wallet.GetPublicKey method returns a public key of the wallet.
No description provided by the author
InitializeWallet function fills wallet global variable with correct data, generated by a SEED_PHRASE from .env file.
No description provided by the author

# Structs

Wallet structure represents a wallet in network.