This repository holds all the BG curated extensions for create-eth, so you can extend the functionality of your Scaffold-ETH project.
You can install any of the extensions in this repository by running the following command:
npx create-eth@latest -e <extension-name>
- subgraph: This Scaffold-ETH 2 extension 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.
- eip-712: An implementation of EIP-712, allowing you to send, sign, and verify typed messages in a user-friendly manner.
- ponder: This Scaffold-ETH 2 extension comes pre-configured with ponder.sh, providing an example to help you get started quickly.
- onchainkit: This Scaffold-ETH 2 extension comes pre-configured with onchainkit, providing an example to help you get started quickly.
- erc-20: This extension introduces an ERC-20 token contract and demonstrates how to interact with it, including getting a holder balance and transferring tokens.
- eip-5792: This extension shows how to use EIP-5792 wallet capabilities. It comes with an example frontend interaction with the
EIP5792_Example.sol
contract. The code demonstrates how to make a batched transaction that sets new greetings and increments the counter in a single transaction using Wagmi's experimental hooks and Coinbase smart wallet.
You can extend Scaffold-ETH by creating your own extension. To do so, you need to create a new repository with the following structure:
ToDo
npx create-eth@latest -e your-github-username/your-extension-repository:branch-name # branch-name is optional