n3util

package
v0.51.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2026 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetN3Client

func GetN3Client(v *viper.Viper) (*rpcclient.Client, error)

GetN3Client creates and initializes neo-go RPC client using configuration from viper. It reads the endpoint from the provided viper instance using the key "rpc-endpoint".

func GetWalletAccount

func GetWalletAccount(w *wallet.Wallet, typ string) (*wallet.Account, error)

GetWalletAccount returns account with the given label from the wallet.

func OpenAlphabetWallets

func OpenAlphabetWallets(v *viper.Viper, walletDir string) ([]*wallet.Wallet, error)

OpenAlphabetWallets opens all wallets from the given directory and returns them as a slice.

func OpenWallet

func OpenWallet(path string, v *viper.Viper) (*wallet.Wallet, error)

OpenWallet opens a wallet from the given path and decrypts it with the password from the config.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL