@ledgerhq/coin-stellar
Version:
Ledger Stellar Coin integration
12 lines • 515 B
JavaScript
;
// SPDX-FileCopyrightText: © 2026 LEDGER SAS
// SPDX-License-Identifier: Apache-2.0
Object.defineProperty(exports, "__esModule", { value: true });
exports.combine = combine;
const stellar_sdk_1 = require("@stellar/stellar-sdk");
function combine(transaction, signature, publicKey) {
const unsignedTx = new stellar_sdk_1.Transaction(transaction, stellar_sdk_1.Networks.PUBLIC);
unsignedTx.addSignature(publicKey, signature);
return unsignedTx.toXDR();
}
//# sourceMappingURL=combine.js.map