Welcome to OpenZeppelin Documentation!

Learn about developing, upgrading and deploying your smart contract applications

We have three different components to help you solve all your smart contract needs. Each one builds on top of the previous one. Our contracts library is our cornerstone product, a secure foundation for your solidity needs. Our SDK gives you a tool suite to interact with your smart contracts and the starter kits help you tie it all together with a consumer-ready frontend.

Why use OpenZeppelin tools?

OpenZeppelin has been the bedrock of smart contract development in Ethereum for the last few years. Our libraries have been used by more than 100K developers to create tokens, protect digital assets and power decentralized applications. It has helped developers secure more than $4.5 billion in digital assets.

As the ecosystem matures, we are taking all the lessons we have learned during this journey to help you create professional applications that are ready for consumer adoption.

A library of modular, reusable, secure smart contracts, written in Solidity.

A suite of tools to help you develop, test, upgrade and deploy smart contracts.

Bundles to kickstart your decentralized web application.

Gas Station Network (Beta)

Gas Station Network is a service that you can integrate in your dapp to abstract all transaction and gas costs.

More information about Gas Station Network:

Components

In order to integrate Gas Station Network into your application, you need to slightly modify your contracts with OpenZeppelin library and then connect to a new provider via web3.

  • Contracts: See how to use OpenZeppelin Library to integrate GSN here.

  • Fund your dapp recipient: Use the dapp tool to fund your application here.

  • Web3 Provider: Check how to use the GSN web3 provider here. We recommend using OpenZeppelin Network.js to handle different Web3 Providers.

  • Testing GSN: Test and development helper methods and scripts for using GSN are available here.

GSN Sample App: Online Chat

We have created a sample chat application to showcase the power of gasless dapps. As you can see you don’t need Metamask or any other wallet to interact with it. You can take a look and the code and see an example of how to integrate GSN using OpenZeppelin Network.js in the sample app.

More information about the GSN Chat App Live App Code Repo

Gas Station Network is still in beta. It is live on Mainnet, Rinkeby, Kovan, Ropsten and Goerli.