package
0.108.1
Repository: https://github.com/nspcc-dev/neo-go.git
Documentation: pkg.go.dev

# Packages

Package chain contains functions creating new test blockchain instances.

# Functions

AddNetworkFee adds network fee to the transaction.
CompileFile compiles a contract from the file and returns its NEF, manifest and hash.
CompileSource compiles a contract from the reader and returns its NEF, manifest and hash.
NewContractSigner returns a contract signer for the provided contract hash.
NewExecutor creates a new executor instance from the provided blockchain and committee.
NewMultiSigner returns a multi-signature signer for the provided account.
NewSingleSigner creates a [SingleSigner] from the provided account.
Nonce returns a unique number that can be used as a nonce for new transactions.
ReadNEF loads a contract from the specified NEF and manifest files.

# Structs

Contract contains contract info for deployment.
ContractInvoker is a client for a specific contract.
Executor is a wrapper over chain state.

# Interfaces

MultiSigner is an interface for multisignature signing account.
Signer is a generic interface which can be either a simple- or multi-signature signer.
SingleSigner is a generic interface for a simple one-signature signer.