Available Extensions
Info
Extensions can only be installed during the initial setup of a new Scaffold-ETH 2 project.
Core Extensionsโ
Core extensions are extensions built and maintained by Scaffold-ETH 2 team. These extensions can be directly accessed via just extension name without mentioning the github user name and branch name:
npx create-eth@latest -e <extension-name>
E.g.: npx create-eth@latest -e subgraph
Here are the core extensions:
- subgraph: Uses the subgraphs from The Graph to index and query blockchain data. Helps you build and test subgraphs locally for your contracts. It also enables interaction with the front-end and facilitates easy deployment to Subgraph Studio.
- ponder: Pre-configured with ponder.sh, an open-source framework for blockchain application backends. With Ponder, you can quickly build & deploy an API that serves custom data from smart contracts on any EVM blockchain.
- onchainkit: Pre-configured with onchainkit,providing an example to help you get started quickly with the ready-to-use React components and TypeScript utilities built by Coinbase team.
- erc-20: An implementation of ERC-20 token contract, allowing you to interact with the contract in a user-friendly manner, including getting a holder balance and transferring tokens.
- eip-712: An implementation of EIP-712, allowing you to send, sign, and verify typed messages.
Third-party Extensionsโ
Third-party extensions are extensions built by the community. To use a third-party extension, use the following format:
npx create-eth@latest -e {github-username}/{extension-repo-name}:{branch-name} # branch-name is optional
E.g.: npx create-eth@latest -e ChangoMan/charts-extension
To create your own extension, check out the Creating Your Own Extension section.