Commit 1005b097 by Manuel Aráoz Committed by GitHub

Update README.md

parent 755e222f
...@@ -6,20 +6,20 @@ Provides contracts to help with easy implementation of common security patterns. ...@@ -6,20 +6,20 @@ Provides contracts to help with easy implementation of common security patterns.
## Getting started ## Getting started
Zeppelin integrates with [Truffle](https://github.com/ConsenSys/truffle), an Ethereum development environment. Please [install Truffle](https://github.com/ConsenSys/truffle#install) and initialize your project with `truffle init`. Zeppelin integrates with [Truffle](https://github.com/ConsenSys/truffle), an Ethereum development environment. Please [install Truffle](https://github.com/ConsenSys/truffle#install) and initialize your project with `truffle init`.
``` ```sh
sudo npm install -g truffle sudo npm install -g truffle
mkdir myproject && cd myproject mkdir myproject && cd myproject
truffle init truffle init
``` ```
To install the Zeppelin library, run: To install the Zeppelin library, run:
``` ```sh
npm i zeppelin-solidity npm i zeppelin-solidity
``` ```
After that, you'll get all the library's contracts in the `contracts/zeppelin` folder. You can use the contracts in the library like so: After that, you'll get all the library's contracts in the `contracts/zeppelin` folder. You can use the contracts in the library like so:
``` ```js
import "./zeppelin/Rejector.sol"; import "./zeppelin/Rejector.sol";
contract MetaCoin is Rejector { contract MetaCoin is Rejector {
......
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