Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
Ledger.create = async function(transport, scrambleKey = 'CSM'){
if(transport === ""){
transport = require("@ledgerhq/hw-transport-webusb").default
}
return new LedgerApp(transport,scrambleKey)
};
module.exports = Ledger;