The adapter according your environment. See ExtensionAdapterFactory. It uses the default ExtensionAdapterFactory to determine the correct adapter.
the current connection, iff exists
Requests a confirmation, i.e. cryptographic signing, of a transaction.
The unsignedTransaction byte sequence is being returned by any of the SignumJS operations as long as no private key is passed as parameter to the operation
The hexadecimal byte string of an unsigned transaction.
The confirmed transaction, in case of success
const { unsignedTransactionBytes } = await ledger.transaction.sendAmountToSingleRecipient({
senderPublicKey: connection.publicKey, // only public key is passed!
recipientId: Address.fromReedSolomonAddress('TS-K37B-9V85-FB95-793HN').getNumericId(),
feePlanck: String(FeeQuantPlanck),
amountPlanck: Amount.fromSigna(1).getPlanck()
})
const { transactionId, fullHash } = await wallet.confirm(unsignedTransactionBytes)
Error if signing failed for some reason, i.e. rejected operation or invalid transaction data
Tries to connect to the extension wallet. Each recurring call tries overwrites current connection
The argument object
The connection if successful, or null, if not available
Requests to send an encrypted P2P message via the extension
The send parameters
The confirmed transaction, in case of success
Instantiates the extension wallet proxy.