Collection Updated 2 years ago

OpenZeppelin 101

Everything you need to know about OpenZeppelin.

Zeppelin
smart-contract
openzeppelin
solidity

5

Articles
Curator
jmrocco
OpenZeppelin 101

OpenZeppelin Part 1: Introductory

Introductory To OpenZeppelin What Is OpenZeppelin? OpenZeppelin is a library of reusable smart contracts to use with Ethereum and other EVM and eWASM blockchains. The contracts focus on secure and simple open source code. They are continuously tested and community reviewed to ensure they follow the best industry standards and security practices. As a developer its difficult to create any piece of code from scratch; especially a contract. Through the use of OpenZeppelins inheritable contracts, yo

Juliette Rocco

3 min read

11 Mar 19

OpenZeppelin Part 2: Access Control

Access Control What is It? The first category of contracts is access control. Access control allows a developer to regulate who can use certain features of the contract. Examples are: minting tokens, voting on proposals, ownership, etc. This feature is useful for creating a restrictive contract. How to Use OpenZeppelin provides two contracts: Ownable.sol and Roles.sol for access control. Both methods are useful in different scenarios depending on how restrictive you want the contract to be. Owne

Juliette Rocco

3 min read

19 Mar 19

OpenZeppelin Part 3: Token Standards

Token Standards OpenZeppelin has incorporated a series of token contracts to assist with creating and managing them. What is a Token? In Ethereum, tokens are a digital asset that can represent anything. It can be a protocol, physical object, or even cryptocurrency. People use them for a variety of actions such as buying or even voting. A token is a smart contract and a smart contract is a piece of code. To send a token you need to write a contract. Keep in mind that this contract must conform to

Juliette Rocco

3 min read

28 Feb 19

OpenZeppelin Part 4: Crowdsales

Crowdsales What is a Crowdsale? In Blockchain, crowdsales are fundraisers to assist in the development of a project. Backers use the tokens sold during the crowdsale to participate in the project once its launched. The tokens are usable only within this project. OpenZeppelin & Crowdsales OpenZeppelin created four categories of contracts to assist in the creation of a crowdsale contract based on the most important properties of a crowdsale. Price & Rate Configuration Before creating a crowdsale i

Juliette Rocco

4 min read

28 Feb 19

OpenZeppelin Part 5: There's More!

Theres More! OpenZeppelin has a wide range of utilities to help add more complexity to your contracts. Cryptography Within the cryptography folder are two contracts to help with security: ECDSA.sol : This contract helps you to manage and recover your ECDSA signatures (Elliptic Curve Digital Signature Algorithm). MerkleProof.sol : Functions to verify Merkle proofs. Merkle proofs make sure that data is in the Merkle tree.pragma solidity ^0.5.2; import openzeppelin-solidity/contracts/cryptography/E

Juliette Rocco

5 min read

19 Mar 19