Sin descripción

Manuel Araoz 78fdfbeaa1 mention truffle beta tutorial hace 9 años
contracts 825203fcec write ownable simple test hace 9 años
migrations 825203fcec write ownable simple test hace 9 años
scripts 99c8ac9a28 fix stoppablebid, add package.json hace 9 años
test 6455b96c79 Test that Ownable prevents non-owners from changing ownership. hace 9 años
.gitignore e49f9c42a9 ignore build folder hace 9 años
CONTRIBUTING.md e45efbb8c1 test must not be random addendum hace 9 años
LICENSE 8e22caaac7 LICENSE formatting hace 9 años
README.md 78fdfbeaa1 mention truffle beta tutorial hace 9 años
package.json 06a391113c fix Token imports and v0.0.6 hace 9 años
truffle.js 50a290e10a use truffle hace 9 años

README.md

Zeppelin Solidity

Zeppelin is a library for writing secure Smart Contracts on Ethereum.

With Zeppelin, you can build distributed applications, protocols and organizations:

Getting Started

Zeppelin integrates with Truffle, an Ethereum development environment. Please install Truffle and initialize your project with truffle init.

sudo npm install -g truffle
mkdir myproject && cd myproject
truffle init

To install the Zeppelin library, run:

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:

import "./zeppelin/Rejector.sol";

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, and ideas are welcome.

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/Rejector.sol";

contract MetaCoin is Rejector { 
  ...
}

For more info see the Truffle Beta package management tutorial.

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.

If you find a security issue, please email security@openzeppelin.org.

Developer Resources

Building a distributed application, protocol or organization with Zeppelin?

Interested in contributing to Zeppelin?

Contracts

TODO

License

Code released under the MIT License.