Fix contracts path issue
This commit is contained in:
@ -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
|
|||||||
""""""""""""""""""""""""
|
""""""""""""""""""""""""
|
||||||
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 {
|
||||||
...
|
...
|
||||||
|
|||||||
Reference in New Issue
Block a user