Contracts Panel
Browse and import popular smart contracts and OpenZeppelin libraries
Overview
The Contracts Panel streamlines access to commonly used smart contracts and trusted OpenZeppelin libraries. Whether you’re working with standard tokens or implementing custom logic, this tool helps you get started faster by surfacing reliable building blocks.
You'll find:
- Popular Contracts like ERC20 and ERC721 templates
- Official OpenZeppelin libraries covering token standards, access control, and security patterns
How It Works
The interface is split into two main parts: a contract browser on the left, and a detail view on the right.
Contract Browser
The left panel organizes available contracts into two categories:
- Popular Contracts
- ERC20 and ERC721 implementations
- Base templates for common patterns
- OpenZeppelin Contracts
- Standards like ERC20, ERC721, and ERC1155
- Modules for Access Control, Security, and Utilities
This structure makes it easy to explore reusable components and evaluate what fits your use case.
Contract Details
Clicking on a contract brings up its full details in the right-hand panel. This view includes:
- Metadata like category, interface definitions, and extension compatibility
- Source Code, fully visible with syntax highlighting and documentation comments
- Import Requirements to help you understand what's needed to integrate it
Quick Import
Once you've found a contract you'd like to use, just click “Add to Notebook.” This action:
- Inserts the appropriate import statements
- Includes the contract code as a reference
- Automatically brings in any dependencies