Lamarkaz / parasol

Agile Smart Contract Development Environment
https://getparasol.io
MIT License
74 stars 9 forks source link

import smart contracts from node_modules #3

Open 7flash opened 5 years ago

7flash commented 5 years ago

How can I import smart contract from node_modules?

nourharidy commented 5 years ago

We're currently working on a tool to simplify the task. But to answer your question, in the meantime, you need to import the address of your contract from addressbook.json and the contract ABI from the ABI/ directory in order to create a web3.eth.Contract instance using both.