Sem descrição

Manuel Araoz b1cb7b5975 implement solium recommendations há 8 anos atrás
contracts b1cb7b5975 implement solium recommendations há 8 anos atrás
docs ae73f1a564 Renamed files and replaced occurencies of 'Stoppable' to 'Pausable' há 8 anos atrás
migrations 9bd51db2b2 refactor tests for truffle 3 há 8 anos atrás
scripts 9bd51db2b2 refactor tests for truffle 3 há 8 anos atrás
test 9bd51db2b2 refactor tests for truffle 3 há 8 anos atrás
.babelrc f2142545c7 modified test to use async await pattern. há 9 anos atrás
.gitignore 2299cd1c39 remove unneeded files há 8 anos atrás
.jshintrc 90654cb2c9 add .jshintrc há 8 anos atrás
.soliumignore 60b48b0235 Solium há 8 anos atrás
.soliumrc.json 60b48b0235 Solium há 8 anos atrás
.travis.yml 9ab997d788 fix travis test runner há 8 anos atrás
CONTRIBUTING.md 342e7bf9ff Add tag comment on CONTRIBUTING.md há 8 anos atrás
LICENSE 8e22caaac7 LICENSE formatting há 9 anos atrás
README.md c21006e6d3 fix link há 8 anos atrás
package.json 7e7193ae61 truffle 2=>3 há 8 anos atrás
truffle.js 7e7193ae61 truffle 2=>3 há 8 anos atrás

README.md

Zeppelin Solidity

NPM Package Build Status

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

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

NOTE: New to smart contract development? Check our introductory guide.

Getting Started

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

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

contract MyContract is Ownable {
  ...
}

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

contract MyContract is Ownable {
  ...
}

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 and any security problem you might experience.

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?

Collaborating organizations and audits by Zeppelin

among others...

License

Code released under the MIT License.