From 51585329903206f25f007c89a2d60217bb52300a Mon Sep 17 00:00:00 2001 From: Xi Zhang Date: Tue, 17 Oct 2023 10:30:18 -0500 Subject: [PATCH] Update supported Hardhat version --- docs/dapp/opl/setup.md | 4 ++-- docs/dapp/sapphire/quickstart.mdx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/dapp/opl/setup.md b/docs/dapp/opl/setup.md index fa717959f1..f5b5ef87ec 100644 --- a/docs/dapp/opl/setup.md +++ b/docs/dapp/opl/setup.md @@ -30,13 +30,13 @@ Let's create a new Hardhat project. :::info -Currently we are compatible with Hardhat up to `2.12.7`. You may need to +Currently we are compatible with Hardhat up to `2.16.0`. You may need to specify the version of Hardhat to install. ::: ```shell -cd opl-secret-ballot/backend && npx hardhat +cd opl-secret-ballot/backend && npx hardhat init ``` When initializing the Hardhat application, we would like to use the `backend` diff --git a/docs/dapp/sapphire/quickstart.mdx b/docs/dapp/sapphire/quickstart.mdx index fe8f5c3699..31948f3cee 100644 --- a/docs/dapp/sapphire/quickstart.mdx +++ b/docs/dapp/sapphire/quickstart.mdx @@ -49,7 +49,7 @@ We're going to use Hardhat, but Sapphire should be compatible with your dev environment of choice. Let us know if things are not as expected! 1. Make & enter a new directory -2. `npx hardhat@~2.16.0` then create a TypeScript project. +2. `npx hardhat@~2.16.0 init` then create a TypeScript project. 3. Add [`@oasisprotocol/sapphire-hardhat`] as dependency: ```shell npm2yarn