embark/lib/contracts/code_templates/vanilla-contract.js.ejs
2017-10-13 20:01:35 -04:00

4 lines
184 B
Plaintext

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