Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptPassword ¶
DecryptPassword decrypts the encrypted wallet password using AES-256 decryption
func EncryptPassword ¶
EncryptPassword encrypts the wallet password using AES-256 encryption with a random salt
func SaveConfig ¶
func SaveConfig(config Config) error
SaveConfig saves the configuration to the file
func SetConfigFilePath ¶
func SetConfigFilePath(path string)
SetConfigFilePath sets the path to the config file
Types ¶
type ChainConfig ¶
type Config ¶
type Config struct { PasswordSalt string `json:"password_salt"` Chains []ChainConfig `json:"chains"` }
func LoadConfig ¶
func LoadConfig() (Config, error)
LoadConfig loads the configuration from the file
Click to show internal directories.
Click to hide internal directories.