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 the 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, or ask ChefGPT questions about Linea, Solidity, or your smart contract.

Cookbook Analyze Code Snippet

Import smart contract code​

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

Resources​

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