embark/dapps/templates/boilerplate/app/js/index.js

11 lines
270 B
JavaScript

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
});