blockchain

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IBlockchainProvider

type IBlockchainProvider interface {
	WriteConfig(options *types.InitOptions) error
	FirstTimeSetup() error
	DeployFireFlyContract() (*types.ContractDeploymentResult, error)
	PreStart() error
	PostStart(firstTimeSetup bool) error
	GetDockerServiceDefinitions() []*docker.ServiceDefinition
	GetBlockchainPluginConfig(stack *types.Stack, org *types.Organization) (blockchainConfig *types.BlockchainConfig)
	GetOrgConfig(stack *types.Stack, org *types.Organization) (coreConfig *types.OrgConfig)
	Reset() error
	GetContracts(filename string, extraArgs []string) ([]string, error)
	DeployContract(filename, contractName, instanceName string, member *types.Organization, extraArgs []string) (*types.ContractDeploymentResult, error)
	CreateAccount(args []string) (interface{}, error)
	ParseAccount(interface{}) interface{}
	GetConnectorName() string
	GetConnectorURL(org *types.Organization) string
	GetConnectorExternalURL(org *types.Organization) string
}

Jump to

Keyboard shortcuts

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