Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions src/content/docs/docs/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ import { FileTree } from "@astrojs/starlight/components";
import RunRemote from "@hh/RunRemote.astro";
import Run from "@hh/Run.astro";

:::tip

Hardhat 3 is production-ready and you can migrate today. We'll keep it in beta status as we work on missing features and stabilize it.

:::

Hardhat is a flexible and extensible development environment for Ethereum software. It helps you write, test, debug, and deploy your smart contracts with ease, whether you're building a simple prototype or a complex production system.

This guide will walk you through installing our recommended setup, but since most of Hardhat's functionality comes from plugins, you're free to customize it or choose a completely different path.
Expand Down Expand Up @@ -113,4 +107,4 @@ Once you've finished the tutorial, or if you prefer smaller focused guides, chec
- [Getting gas statistics of your test runs](/docs/guides/testing/gas-statistics)
- [Computing the code coverage of your tests](/docs/guides/testing/code-coverage)

Join our [Hardhat 3](https://hardhat.org/hardhat3-beta-telegram-group) Telegram group to share feedback and stay updated on new releases.
Join our [Hardhat 3](https://hardhat.org/hardhat3-telegram-group) Telegram group to share feedback and stay updated on new releases.
30 changes: 0 additions & 30 deletions src/content/docs/docs/hardhat3/beta-status.mdx

This file was deleted.

6 changes: 0 additions & 6 deletions src/content/docs/docs/migrate-from-hardhat2/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ import { Code } from "@astrojs/starlight/components";
import Install from "@hh/Install.astro";
import Run from "@hh/Run.astro";

:::tip

Hardhat 3 is production-ready and you can migrate today! We'll keep it in beta status as we work on missing features and stabilize it in the near future.

:::

Hardhat 3 is a complete rewrite of Hardhat 2. While many features are familiar, several fundamental changes mean the new version isn't directly compatible with Hardhat 2 projects:

- **ESM-first**: Your Hardhat config must be an ES module. Scripts and JavaScript/TypeScript tests can still be CommonJS, but ESM is the default.
Expand Down
6 changes: 0 additions & 6 deletions src/content/docs/docs/reference/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@ title: Configuration
description: Hardhat 3 configuration reference
---

:::tip

Hardhat 3 is production-ready and you can migrate today! We'll keep it in beta status as we work on missing features and stabilize it in the near future.

:::

When Hardhat is run, it searches for the closest `hardhat.config.ts` file starting from the Current Working Directory. This file normally lives in the root of your project. An empty `hardhat.config.ts` is enough for Hardhat to work.

The entirety of your Hardhat setup (i.e. your config, plugins and custom tasks) is contained in this file.
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/docs/tutorial/setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ You'll create an empty directory and initialize a Hardhat project inside it:

You'll be prompted to select a few options. Accept the defaults for everything **except the project type** (we'll use a minimal project):

1. Version: "Hardhat 3 Beta"
1. Version: "Hardhat 3"
2. Directory: current directory (`"."`)
3. **Project type: "A minimal Hardhat project"** <Badge text="not default" variant="caution" />
4. Install dependencies: yes
Expand Down
1 change: 1 addition & 0 deletions src/redirects/moved-pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ export default [
["/docs/guides/gas-statistics", "/docs/guides/testing/gas-statistics"],
["/docs/guides/cookbook", "/docs/cookbook"],
["/docs/plugins", "/docs/plugins/official-plugins"],
["/docs/hardhat3/beta-status", "/docs/getting-started"],
] satisfies Redirects;
2 changes: 1 addition & 1 deletion src/redirects/next-to-starlight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default [
"/hardhat-network-helpers/docs/reference",
"/docs/plugins/hardhat-network-helpers#reference",
],
["/docs/learn-more/beta-status", "/docs/hardhat3/beta-status"],
["/docs/learn-more/beta-status", "/docs/getting-started"],
Comment thread
schaable marked this conversation as resolved.
[
"/docs/learn-more/configuration-variables",
"/docs/guides/configuration-variables",
Expand Down
1 change: 1 addition & 0 deletions src/redirects/shortlinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import type { Redirects } from "./types";
export default [
["/configuration", "/docs/reference/configuration"],
["/errors", "/docs/reference/errors"],
["/hardhat3-telegram-group", "https://t.me/+nx5My-pzR0piMjU5"],
["/hardhat3-beta-telegram-group", "https://t.me/+nx5My-pzR0piMjU5"],
["/plugin-authors-group", "https://t.me/+cFxwO53KTrY5MjYx"],
["/discord", "https://discord.gg/TETZs2KK4k"],
Expand Down
Loading