Updated on 2026-08-14

This commit is contained in:
Tangem 2023-12-12 17:38:17 +03:00
parent fb11527b5b
commit b8fc09d6bf
6 changed files with 97 additions and 7 deletions

View file

@ -21,6 +21,10 @@ class DemoTransactionSender(private val walletManager: WalletManager) : Transact
)
}
override suspend fun estimateFee(amount: Amount): Result<TransactionFee> {
return getFee(amount, walletManager.wallet.address)
}
override suspend fun send(transactionData: TransactionData, signer: TransactionSigner): SimpleResult {
val signerResponse = signer.sign(
hash = getDataToSign(),