import EmbarkJS from 'Embark/EmbarkJS'; // import your contracts // e.g if you have a contract named SimpleStorage: //import SimpleStorage from 'Embark/contracts/SimpleStorage'; EmbarkJS.onReady((err) => { // You can execute contract calls after the connection });