This is an implementation of TransactionCreator. It is used to create transactions given a KeyStore and Provider from near-api-js.
KeyStore
Provider
near-api-js
A new KeyStoreTransactionCreator can be created from a NEAR WalletConnection or by using the constructor.
KeyStoreTransactionCreator
WalletConnection
const transactionCreator = KeyStoreTransactionCreator.fromWallet(wallet)
const transactionCreator = new KeyStoreTransactionCreator({ keyStore, signerId: "my-acct.testnet", networkId: "testnet", nodeUrl: "https://rpc.testnet.near.org", })
TransactionCreator.create
Create an instance of KeyStoreTransactionCreator from a NEAR Account.
Account
Create an instance of KeyStoreTransactionCreator from a NEAR WalletConnection.
Generated using TypeDoc
This is an implementation of TransactionCreator. It is used to create transactions given a
KeyStore
andProvider
fromnear-api-js
.A new
KeyStoreTransactionCreator
can be created from a NEARWalletConnection
or by using the constructor.