generateBCSTransaction static method
Implementation
static Uint8List generateBCSTransaction(AptosAccount accountFrom, RawTransaction rawTxn) {
final txnBuilder = TransactionBuilderEd25519(
accountFrom.pubKey().toUint8Array(),
(Uint8List signingMessage) => Ed25519Signature(accountFrom.signBuffer(signingMessage).toUint8Array())
);
return txnBuilder.sign(rawTxn);
}