embark-area-51/lib/contracts/code_templates/vanilla-contract.js.ejs
2018-01-05 15:10:47 -05:00

5 lines
229 B
Plaintext

<%- className %>Abi = <%- abi %>;
<%- className %> = new web3.eth.Contract(<%- className %>Abi);
<%- className %>.options.address = '<%- contract.deployedAddress %>';
<%- className %>.address = '<%- contract.deployedAddress %>';