|
@@ -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::
|
|
|
|
|
|
- import "zeppelin-solidity/contracts/Ownable.sol";
|
|
|
+ import "zeppelin-solidity/contracts/ownership/Ownable.sol";
|
|
|
|
|
|
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::
|
|
|
|
|
|
- import "zeppelin-solidity/contracts/Ownable.sol";
|
|
|
+ import "zeppelin-solidity/contracts/ownership/Ownable.sol";
|
|
|
|
|
|
contract MyContract is Ownable {
|
|
|
...
|