Commit 0d89e99c by Boris Kostenko Committed by GitHub

Fix contracts path issue

parent a5a1be72
...@@ -13,7 +13,7 @@ To install the Zeppelin library, run:: ...@@ -13,7 +13,7 @@ To install the Zeppelin library, run::
After that, you'll get all the library's contracts in the `node_modules/zeppelin-solidity/contracts` folder. You can use the contracts in the library like so:: After that, you'll get all the library's contracts in the `node_modules/zeppelin-solidity/contracts` folder. You can use the contracts in the library like so::
import "zeppelin-solidity/contracts/Ownable.sol"; import "zeppelin-solidity/contracts/ownership/Ownable.sol";
contract MyContract is Ownable { contract MyContract is Ownable {
... ...
...@@ -27,7 +27,7 @@ Truffle Beta Support ...@@ -27,7 +27,7 @@ Truffle Beta Support
"""""""""""""""""""""""" """"""""""""""""""""""""
We also support Truffle Beta npm integration. If you're using Truffle Beta, the contracts in ``node_modules`` will be enough, so feel free to delete the copies at your ``contracts`` folder. If you're using Truffle Beta, you can use Zeppelin contracts like so:: We also support Truffle Beta npm integration. If you're using Truffle Beta, the contracts in ``node_modules`` will be enough, so feel free to delete the copies at your ``contracts`` folder. If you're using Truffle Beta, you can use Zeppelin contracts like so::
import "zeppelin-solidity/contracts/Ownable.sol"; import "zeppelin-solidity/contracts/ownership/Ownable.sol";
contract MyContract is Ownable { contract MyContract is Ownable {
... ...
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment