signer

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeybaseSigner

type KeybaseSigner struct {
	// contains filtered or unexported fields
}

func NewKeybaseSigner

func NewKeybaseSigner(keybase keys.Keybase, chainID string) *KeybaseSigner

NewKeybaseSigner creates a new signer instance

func (*KeybaseSigner) SignTx

func (s *KeybaseSigner) SignTx(
	tx *std.Tx,
	account *gnoland.GnoAccount,
	nonce uint64,
	passphrase string,
) error

SignTx signs the given transaction by appending the signature to it

Jump to

Keyboard shortcuts

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