Skip to main content

๐Ÿ”Œ Extensions

This guide introduces extensions for Scaffold-ETH 2 and explains how to use and create extensions.

What are Extensions?โ€‹

Extensions are modular add-ons for Scaffold-ETH 2 to easily customize your dApp. They offer several benefits:

  • Seamless integration with the base Scaffold-ETH 2 project
  • Quick addition of new features, pages, contracts, or components
  • Compatibility with Scaffold-ETH 2 core updates and improvements

Using Extensionsโ€‹

To use an extension when creating a new Scaffold-ETH 2 project, run:

npx create-eth@latest -e {your-github-userName}/{extension-repo-name}:{extension-branch-name}

The {extension-branch-name} is optional. If not specified, it uses the default branch.