require('dotenv').config(); import {Reflaunt} from "../lib/core/Reflaunt"; (async () => { const evt = await new Reflaunt({ mnemonic: process.env.ROPSTEN_MNEMONIC, nodeUrl: process.env.ROPSTEN_NODE_URL, wsUrl: process.env.ROPSTEN_WS_URL }).watchTransferEvent((data) => { console.log(data); }, (err) => { console.log(err); }); })();