ethers.js/packages/hardware-wallets/test.js
2020-01-10 20:09:40 -05:00

15 lines
309 B
JavaScript

"use strict";
const { LedgerSigner } = require("./lib");
(async function() {
const signer = new LedgerSigner();
console.log(signer);
try {
const sig = await signer.signMessage("Hello World");
console.log(sig);
} catch (error) {
console.log("ERR", error);
}
})();