Documentation ¶
Index ¶
Constants ¶
View Source
const ( // EdgewareMainnet network name. EdgewareMainnet = "edgeware-mainnet" // EdgewareBeresheet network name. EdgewareBeresheet = "edgeware-beresheet" // EdgewareLocal network name. EdgewareLocal = "edgeware-local" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PublicKeyFinder ¶
type PublicKeyFinder struct { }
PublicKeyFinder for substrate.
func NewPublicKeyFinder ¶
func NewPublicKeyFinder() *PublicKeyFinder
NewPublicKeyFinder create a default substrate public key finder.
func (*PublicKeyFinder) PublicKeyFromAddress ¶
func (pkf *PublicKeyFinder) PublicKeyFromAddress(ctx context.Context, protocol, network string, address []byte) (crypto.PublicKey, error)
PublicKeyFromAddress returns the public key from the address.
type Signer ¶ added in v0.0.43
type Signer struct {
// contains filtered or unexported fields
}
func NewSigner ¶ added in v0.0.43
func NewSigner(privateKey crypto.PrivateKey) *Signer
type SignerOptions ¶ added in v0.0.43
type SignerOptions struct { Extrinsic types.Extrinsic SignatureOptions types.SignatureOptions }
Click to show internal directories.
Click to hide internal directories.