|
9 年之前 | |
---|---|---|
contracts | 9 年之前 | |
migrations | 9 年之前 | |
scripts | 9 年之前 | |
test | 9 年之前 | |
.gitignore | 9 年之前 | |
CONTRIBUTING.md | 9 年之前 | |
LICENSE | 9 年之前 | |
README.md | 9 年之前 | |
package.json | 9 年之前 | |
truffle.js | 9 年之前 |
Zeppelin is a secure Smart Contract library for the Solidity language.
Provides contracts to help with easy implementation of common security patterns. See Onward with Ethereum Smart Contract Security.
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 {
...
}
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.
Building a distributed application, protocol or organization with Zeppelin?
Interested in contributing to Zeppelin?
TODO
Code released under the MIT License.