Documentation ¶
Index ¶
- func ActivateChainOnNodes(clientResolver multiclient.ClientResolver, apiHosts []string, ...) error
- func CreateChainOrigin(layer1Client l1connection.Client, originator *cryptolib.KeyPair, ...) (isc.ChainID, error)
- func DeployChain(par CreateChainParams, stateControllerAddr, govControllerAddr iotago.Address) (isc.ChainID, error)
- func RunDKG(client *apiclient.APIClient, peerPubKeys []string, threshold uint16, ...) (iotago.Address, error)
- type CreateChainParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivateChainOnNodes ¶ added in v1.0.3
func ActivateChainOnNodes(clientResolver multiclient.ClientResolver, apiHosts []string, chainID isc.ChainID) error
ActivateChainOnNodes puts chain records into nodes and activates its
func CreateChainOrigin ¶ added in v0.2.0
func CreateChainOrigin( layer1Client l1connection.Client, originator *cryptolib.KeyPair, stateController iotago.Address, governanceController iotago.Address, initParams dict.Dict, ) (isc.ChainID, error)
CreateChainOrigin creates and confirms origin transaction of the chain and init request transaction to initialize state of it
func DeployChain ¶ added in v0.1.0
func DeployChain(par CreateChainParams, stateControllerAddr, govControllerAddr iotago.Address) (isc.ChainID, error)
DeployChain creates a new chain on specified committee address
func RunDKG ¶ added in v0.2.0
func RunDKG(client *apiclient.APIClient, peerPubKeys []string, threshold uint16, timeout ...time.Duration) (iotago.Address, error)
RunDKG runs DKG procedure on specific Wasp hosts: generates new keys and puts corresponding committee records into nodes. In case of success, generated address is returned
Types ¶
Click to show internal directories.
Click to hide internal directories.