Skip to main content

Cookbook.dev

Cookbook.dev is an open-source smart contract registry where developers can find solidity primitives, libraries, and smart contracts for protocols.

Search Cookbook's smart contract registry

Navigate to cookbook.dev/chains/Linea and explore Protocols on Linea, or search for specific smart contracts in the search bar.

Cookbook Search

To learn about a smart contract on Cookbook, select the protocol, and select Expand. This opens the code alongside ChefGPT, Cookbook's AI Solidity assistant.

Highlight selections of the code and press Analyze Snippet to get more information about the smart contract code you're looking at, or ask ChefGPT questions about Linea, solidity, or your smart contract.

Cookbook Analyze Code Snippet

Import any smart contract code into Cookbook

Import verified smart contract code into Cookbook to fork, learn about, or build with by inputting any smart contract address into the Cookbook search bar.

Cookbook Import Contract

Find smart contracts within the Remix IDE with the Cookbook plugin

Go to Remix.Ethereum.org

Add The Cookbook Plugin to Remix by clicking the Chef Hat Logo under Featured Plugins on the Remix Homepage.

Cookbook Remix Featured Plugin

Alternatively, search Cookbook and select Activate in the Remix Plugin Manager.

Cookbook Remix Add Plugin

Search for any protocol or smart contract and click the search result to import the smart contract code into Remix.

Cookbook's AI solidity co-pilot, ChefGPT, is available within the Remix plugin to answer questions about Linea, Solidity, or the smart contract you're working with.

Cookbook Remix Search

Further guidance

For more information on using Cookbook to find, learn about or build with smart contracts, check out the following resources: