diff --git a/lib/contracts/blockchain.js b/lib/contracts/blockchain.js index 5e24c9aa..c927101b 100644 --- a/lib/contracts/blockchain.js +++ b/lib/contracts/blockchain.js @@ -24,6 +24,10 @@ class BlockchainConnector { this.registerProcessLaunch(); + self.events.setCommandHandler("blockchain:object", (cb) => { + cb(self); + }); + if (!this.web3) { this.initWeb3(); } else {