暫無描述

Demian Elias Brener c21006e6d3 fix link 8 年之前
contracts 9c81dd29bb Fix example contracts 8 年之前
docs b1b66ce165 remove DS_Store 8 年之前
migrations 032cae05c0 Change to right contract name for LimitBalance 9 年之前
scripts 99c8ac9a28 fix stoppablebid, add package.json 9 年之前
test bb22cd62ac Merge pull request #100 from adklempner/shareable-test 8 年之前
.babelrc f2142545c7 modified test to use async await pattern. 8 年之前
.gitignore 2299cd1c39 remove unneeded files 8 年之前
.travis.yml 2c7d883164 Add .travis.yml 9 年之前
CONTRIBUTING.md 4fc0d99bfc update repo name to zeppelin-solidity 9 年之前
LICENSE 8e22caaac7 LICENSE formatting 9 年之前
README.md c21006e6d3 fix link 8 年之前
package.json f2142545c7 modified test to use async await pattern. 8 年之前
truffle.js 69463d9120 fix truffle build 9 年之前

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.