embark/lib/contracts/code_templates/define-web3-simple.js.ejs

4 lines
111 B
Plaintext

__mainContext.web3 = undefined;
web3 = new Web3(new Web3.providers.HttpProvider("<%- url -%>'"));
<%- done %>