Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EthereumWallet ¶
type EthereumWallet struct{}
func (*EthereumWallet) SignTransaction ¶
func (ew *EthereumWallet) SignTransaction(privateKeys []string, unsignedTx *UnsignedTx) (*SignedTx, error)
type Signer ¶
type Signer interface { // SignTransaction signs an unsigned transaction with the given private key and protocol. SignTransaction(privateKeys []string, unsignedTx *UnsignedTx) (*SignedTx, error) }
Signer is an interface for signing unsigned transactions.
type SolanaWallet ¶
type SolanaWallet struct{}
func (*SolanaWallet) SignTransaction ¶
func (sw *SolanaWallet) SignTransaction(privateKeys []string, unsignedTx *UnsignedTx) (*SignedTx, error)
type UnsignedTx ¶
type UnsignedTx struct {
Data []byte
}
UnsignedTx represents an unsigned transaction.
Click to show internal directories.
Click to hide internal directories.