Bez popisu

Francisco Giordano 0541347034 v1.6.0 před 7 roky
.github 0cdc5e13ce Update ISSUE_TEMPLATE.md před 7 roky
audit 6d8bb497c8 removing trailing whitespace před 8 roky
contracts c5d66183ab Move ERC20 contracts to ERC20 custom folder (#701) před 7 roky
docs cc5e898250 Merge pull request #588 from BrandonGilchrist/feature/delayed-crowdsale-docs před 7 roky
migrations 8662846838 feat: apply eslint --fix across project před 7 roky
scripts f28c245a3c Update to truffle 4.0.0 před 8 roky
test 1eea95f9ac Move ERC721 files to custom folder (#700) před 7 roky
.babelrc f2142545c7 modified test to use async await pattern. před 9 roky
.env.example b9b26e1d8a feat: allow configuration of ropsten and ganache with env variables před 7 roky
.eslintrc 8662846838 feat: apply eslint --fix across project před 7 roky
.gitattributes ad5edd329f feat: add solidity syntax highlighting directive, fixes #671 před 7 roky
.gitignore 1455a5a942 Re-enable solidity coverage před 7 roky
.jshintrc 90654cb2c9 add .jshintrc před 8 roky
.node-version 846b0714ad feat: remove yarn in favor of npm před 8 roky
.solcover.js 1455a5a942 Re-enable solidity coverage před 7 roky
.soliumignore 6d8bb497c8 removing trailing whitespace před 8 roky
.soliumrc.json 3b48a671fd fix: solium errors - whitespace related před 7 roky
.travis.yml e0f3fea97f feat: add solium linting to travis, npm script před 7 roky
CONTRIBUTING.md d95c3ade8f Minor changes as per feedback from @frangio před 7 roky
LICENSE 6d8bb497c8 removing trailing whitespace před 8 roky
README.md 250572f48d add note about not following semver před 7 roky
ethpm.json 0541347034 v1.6.0 před 7 roky
package-lock.json 0541347034 v1.6.0 před 7 roky
package.json 0541347034 v1.6.0 před 7 roky
truffle-config.js ac3808885a fix: default to empty string for mnemonic před 7 roky

README.md

Zeppelin Solidity

NPM Package Build Status Coverage Status

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

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

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

Getting Started

OpenZeppelin 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 OpenZeppelin library, run the following in your Solidity project root directory:

npm init -y
npm install -E zeppelin-solidity

Note that OpenZeppelin does not currently follow semantic versioning. You may encounter breaking changes upon a minor version bump. We recommend pinning the version of OpenZeppelin you use, as done by the -E (--save-exact) option.

After that, you'll get all the library's contracts in the node_modules/zeppelin-solidity/contracts folder. You can use the contracts in the library like so:

import 'zeppelin-solidity/contracts/ownership/Ownable.sol';

contract MyContract is Ownable {
  ...
}

Security

OpenZeppelin 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 OpenZeppelin?

Interested in contributing to OpenZeppelin?

Collaborating organizations and audits by OpenZeppelin

among others...

License

Code released under the MIT License.