This is an implementation of TransactionSigner. It is used to sign transactions given a KeyStore from near-api-js.
KeyStore
near-api-js
A new KeyStoreTransactionSigner can be created from a NEAR WalletConnection or by using the constructor.
KeyStoreTransactionSigner
WalletConnection
const transactionSigner = KeyStoreTransactionSigner.fromWallet(wallet)
const transactionSigner = new KeyStoreTransactionSigner({ keyStore, signerId: "my-acct.testnet", networkId: "testnet", })
TransactionSigner.sign
Create an instance of KeyStoreTransactionSigner from a NEAR Account.
Account
Create an instance of KeyStoreTransactionSigner from a NEAR WalletConnection.
Generated using TypeDoc
This is an implementation of TransactionSigner. It is used to sign transactions given a
KeyStore
fromnear-api-js
.A new
KeyStoreTransactionSigner
can be created from a NEARWalletConnection
or by using the constructor.