Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOriginTransaction ¶
func NewOriginTransaction(par NewOriginTransactionParams) (*sctransaction.Transaction, error)
NewOriginTransaction - creates new origin transaction for the chain - origin tx approves empty state - origin tx mints chain token to the origin address. The address must be owned by the initial committee
func NewRootInitRequestTransaction ¶ added in v0.1.0
func NewRootInitRequestTransaction(par NewRootInitRequestTransactionParams) (*sctransaction.Transaction, error)
NewRootInitRequestTransaction is a first request to be sent to the uninitialized chain. At this moment it only is able to process this specific request the request contains minimum data needed to bootstrap the chain Transaction must be signed by the same address which created origin transaction
Types ¶
type NewOriginTransactionParams ¶
type NewOriginTransactionParams struct {
OriginAddress address.Address
OriginatorSignatureScheme signaturescheme.SignatureScheme
AllInputs map[valuetransaction.OutputID][]*balance.Balance
}
type NewRootInitRequestTransactionParams ¶ added in v0.1.0
type NewRootInitRequestTransactionParams struct {
ChainID coretypes.ChainID
ChainColor balance.Color
ChainAddress address.Address
Description string
OwnerSignatureScheme signaturescheme.SignatureScheme
AllInputs map[valuetransaction.OutputID][]*balance.Balance
}
Click to show internal directories.
Click to hide internal directories.