0.0.41 โ€ข Published 8 days ago

create-eth v0.0.41

Weekly downloads
-
License
MIT
Repository
github
Last release
8 days ago

โš ๏ธ The CLI branch is under active development.
If you find any bug, please report as issue or send a message in ๐Ÿ— scaffold-eth developers chat

๐Ÿ— Scaffold-ETH 2

๐Ÿงช An open-source, up-to-date toolkit for building decentralized applications (dapps) on the Ethereum blockchain. It's designed to make it easier for developers to create and deploy smart contracts and build user interfaces that interact with those contracts.

โš™๏ธ Built using NextJS, RainbowKit, Hardhat, Wagmi, Viem, and Typescript.

  • โœ… Contract Hot Reload: Your frontend auto-adapts to your smart contract as you edit it.
  • ๐Ÿช Custom hooks: Collection of React hooks wrapper around wagmi to simplify interactions with smart contracts with typescript autocompletion.
  • ๐Ÿงฑ Components: Collection of common web3 components to quickly build your frontend.
  • ๐Ÿ”ฅ Burner Wallet & Local Faucet: Quickly test your application with a burner wallet and local faucet.
  • ๐Ÿ” Integration with Wallet Providers: Connect to different wallet providers and interact with the Ethereum network.

Debug Contracts tab

Requirements

Before you begin, you need to install the following tools:

Quickstart

To get started with Scaffold-ETH 2, follow the steps below:

  1. Install from NPM Registry and follow the CLI instructions.
npx create-eth@latest

๐Ÿ’ฌ Hint: If you choose Foundry as solidity framework in the CLI, you'll also need Foundryup installed in your machine. Checkout: getfoundry.sh

  1. Run a local network in the first terminal:
yarn chain

This command starts a local Ethereum network using Hardhat or Foundry, depending on which one you selected in the CLI. The network runs on your local machine and can be used for testing and development. You can customize the network configuration in:

  • packages/hardhat/hardhat.config.ts if you have Hardhat as solidity framework.
  • packages/foundry/foundry.toml if you have Foundry as solidity framework.
  1. On a second terminal, deploy the test contract:
yarn deploy

This command deploys a test smart contract to the local network. The contract can be modified to suit your needs. Is located in:

  • Hardhat => packages/hardhat/contracts
  • Foundry => packages/foundry/contracts

The yarn deploy command uses a deploy script to deploy the contract to the network. You can customize it. Is located in:

  • Hardhat => packages/hardhat/deploy
  • Foundry => packages/foundry/script
  1. On a third terminal, start your NextJS app:
yarn start

Visit your app on: http://localhost:3000. You can interact with your smart contract using the Debug Contracts page. You can tweak the app config in packages/nextjs/scaffold.config.ts.

Run smart contract test with yarn hardhat:test or yarn foundry:test depending of your solidity framework.

What's next:

  • Edit your smart contract YourContract.sol in packages/hardhat/contracts
  • Edit your frontend homepage at packages/nextjs/app/page.tsx. For guidance on routing and configuring pages/layouts checkout the Next.js documentation.
  • Edit your deployment scripts in packages/hardhat/deploy
  • Edit your smart contract test in: packages/hardhat/test. To run test use yarn hardhat:test

Documentation

Visit our docs to learn how to start building with Scaffold-ETH 2.

To know more about its features, check out our website.

Contributing to Scaffold-ETH 2

We welcome contributions to Scaffold-ETH 2!

Please see CONTRIBUTING.MD for more information and guidelines for contributing to Scaffold-ETH 2.

0.0.41

8 days ago

0.0.40

10 days ago

0.0.39

12 days ago

0.0.38

16 days ago

0.0.37

25 days ago

0.0.36

1 month ago

0.0.35

2 months ago

0.0.34

2 months ago

0.0.33

3 months ago

0.0.32

4 months ago

0.0.31

4 months ago

0.0.30

5 months ago

0.0.29

5 months ago

0.0.28

5 months ago

0.0.20

8 months ago

0.0.21

7 months ago

0.0.22

7 months ago

0.0.23

7 months ago

0.0.24

6 months ago

0.0.25

6 months ago

0.0.15

10 months ago

0.0.16

9 months ago

0.0.17

9 months ago

0.0.18

9 months ago

0.0.19

9 months ago

0.0.10

10 months ago

0.0.11

10 months ago

0.0.12

10 months ago

0.0.13

10 months ago

0.0.14

10 months ago

0.0.26

6 months ago

0.0.9

10 months ago

0.0.27

5 months ago

0.0.8

10 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago