Explorar o código

update README for truffle beta support

Manuel Araoz %!s(int64=9) %!d(string=hai) anos
pai
achega
f97589b0bc
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      README.md

+ 10 - 0
README.md

@@ -31,6 +31,16 @@ contract MetaCoin is Rejector {
 
 > NOTE: The current distribution channel is npm, which is not ideal. [We're looking into providing a better tool for code distribution](https://github.com/OpenZeppelin/zep-solidity/issues/13), and ideas are welcome.
 
+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:
+
+```js
+import "zeppelin-solidity/contracts/Rejector.sol";
+
+contract MetaCoin is Rejector { 
+  ...
+}
+```
+
 ## Security
 Zeppelin is meant to provide secure, tested and community-audited code, but please use common sense when doing anything that deals with real money! We take no responsibility for your implementation decisions.