@stellar/stellar-sdk
Version:
A library for working with the Stellar network, including communication with the Horizon and Soroban RPC servers.
15 lines (11 loc) • 360 B
JavaScript
;
var signer = require('./signer.js');
const basicNodeSigner = (keypair, networkPassphrase) => {
const { signTransaction, signAuthEntry } = new signer.KeypairSigner(
keypair,
networkPassphrase
);
return { signTransaction, signAuthEntry };
};
exports.basicNodeSigner = basicNodeSigner;
//# sourceMappingURL=basic_node_signer.js.map