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

4 lines
110 B
Plaintext
Raw Normal View History

2017-10-14 00:01:35 +00:00
__mainContext.web3 = undefined;
web3 = new Web3(new Web3.providers.HttpProvider("<%- url -%>"));
2017-10-14 00:01:35 +00:00
<%- done %>