diff --git a/docs/dapp/opl/setup.md b/docs/dapp/opl/setup.md index fa717959f1..c1ec92ac47 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`. 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 527dbab28e..31948f3cee 100644 --- a/docs/dapp/sapphire/quickstart.mdx +++ b/docs/dapp/sapphire/quickstart.mdx @@ -41,7 +41,7 @@ data trove) if the operator fails to re-up before too long. Let's make it happen! [higher level of security]: guide.mdx#writing-secure-dapps -[dead person's switch]: https://en.wikipedia.org/wiki/Dead_man's_switch +[dead person's switch]: https://en.wikipedia.org/wiki/Dead_man%27s_switch ### Init a new Hardhat project @@ -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