@ledgerhq/coin-stellar
Version:
Ledger Stellar Coin integration
9 lines • 432 B
JavaScript
// SPDX-FileCopyrightText: © 2026 LEDGER SAS
// SPDX-License-Identifier: Apache-2.0
import { Networks, Transaction as StellarSdkTransaction } from '@stellar/stellar-sdk';
export function combine(transaction, signature, publicKey) {
const unsignedTx = new StellarSdkTransaction(transaction, Networks.PUBLIC);
unsignedTx.addSignature(publicKey, signature);
return unsignedTx.toXDR();
}
//# sourceMappingURL=combine.js.map