const readlineSync = require('readline-sync'); const nem = require("nem-sdk").default; const QRCode = require('qrcode'); class NemOfflineTransaction { constructor(networkId) { this.networkId = networkId; } start() { // [1] 入力 this.keyIn(); // [2] 確認 this.confirm(); // [3] 署名付きのトランザクション生成 const tx = this.generateTransaction(); // [4] QRコードへ変換 this.generateQRCode(tx); } keyIn() { this.recipient = re