package
0.0.0-20241208111944-886a677d4f6d
Repository: https://github.com/epicchainlabs/epicchain-go.git
Documentation: pkg.go.dev

# Functions

NewAccount creates a new Account with a random generated PrivateKey.
NewAccountFromEncryptedWIF creates a new Account from the given encrypted WIF.
NewAccountFromPrivateKey creates a wallet from the given PrivateKey.
NewAccountFromWIF creates a new Account from the given WIF.
NewContractAccount creates a contract account belonging to some deployed contract.
NewInMemoryWallet creates a new NEO wallet without linking to the read file on file system.
NewToken returns the new token contract info.
NewWallet creates a new NEO wallet at the given location.
NewWalletFromBytes creates a [Wallet] from the given byte slice.
NewWalletFromFile creates a Wallet from the given wallet file path.

# Variables

ErrPathIsEmpty appears if wallet was created without linking to file system path, for instance with [NewInMemoryWallet] or [NewWalletFromBytes].

# Structs

Account represents a NEO account.
Contract represents a subset of the smartcontract to embed in the Account so it's NEP-6 compliant.
ContractParam is a descriptor of a contract parameter containing type and optional name.
Extra stores imported token contracts.
Token represents an imported token contract.
Wallet represents a NEO (NEP-2, NEP-6) compliant wallet.