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

4 lines
111 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 -%>'"));
<%- done %>