embark-area-51/lib/contracts/code_templates/vanilla-contract.js.ejs

4 lines
184 B
Plaintext

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