Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address serAddress.Address
type AikenPlutusJSON ¶
type AikenPlutusJSON struct { Preamble struct { Title string `json:"title"` Description string `json:"description"` Version string `json:"version"` PlutusVersion string `json:"plutusVersion"` License string `json:"license"` } `json:"preamble"` Validators []struct { Title string `json:"title"` Datum struct { Title string `json:"title"` Schema struct { Ref string `json:"$ref"` } `json:"schema"` } `json:"datum"` Redeemer struct { Title string `json:"title"` Schema struct { Ref string `json:"$ref"` } `json:"schema"` } `json:"redeemer"` CompiledCode string `json:"compiledCode"` Hash string `json:"hash"` } `json:"validators"` Definitions struct { } `json:"definitions"` }
func (*AikenPlutusJSON) GetScript ¶
func (apj *AikenPlutusJSON) GetScript(name string) (*PlutusData.PlutusV2Script, error)
type Backend ¶
type Backend Base.ChainContext
type ExternalWallet ¶
type ExternalWallet struct {
Address serAddress.Address
}
func (*ExternalWallet) GetAddress ¶
func (ew *ExternalWallet) GetAddress() *serAddress.Address
func (*ExternalWallet) PkeyHash ¶
func (ew *ExternalWallet) PkeyHash() serialization.PubKeyHash
func (*ExternalWallet) SignTx ¶
func (ew *ExternalWallet) SignTx(tx Transaction.Transaction) TransactionWitnessSet.TransactionWitnessSet
type GenericWallet ¶
type GenericWallet struct { SigningKey Key.SigningKey VerificationKey Key.VerificationKey Address serAddress.Address StakeSigningKey Key.StakeSigningKey StakeVerificationKey Key.StakeVerificationKey }
func (*GenericWallet) GetAddress ¶
func (gw *GenericWallet) GetAddress() *serAddress.Address
func (*GenericWallet) PkeyHash ¶
func (gw *GenericWallet) PkeyHash() serialization.PubKeyHash
func (*GenericWallet) SignTx ¶
func (wallet *GenericWallet) SignTx(tx Transaction.Transaction) TransactionWitnessSet.TransactionWitnessSet
type Wallet ¶
type Wallet interface { GetAddress() *serAddress.Address SignTx(tx Transaction.Transaction) TransactionWitnessSet.TransactionWitnessSet PkeyHash() serialization.PubKeyHash }
Click to show internal directories.
Click to hide internal directories.