Skip to content
Merged
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
26 changes: 25 additions & 1 deletion docs/network/guides/hardhat-foundry-starter-kit.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,13 @@ The starter kit includes a basic setup for configuring Hardhat and Foundry, alon
2. Install the project dependencies.

```bash
npm install
yarn
```

or alternatively:

```bash
npm install --force
```

3. Copy the example environment file and update it with your settings.
Expand Down Expand Up @@ -144,6 +150,12 @@ The starter kit includes a basic setup for configuring Hardhat and Foundry, alon

1. Compile the smart contracts to generate the necessary artifacts.

```bash
yarn hardhat compile
```

or alternatively:

```bash
npx hardhat compile
```
Expand All @@ -152,6 +164,12 @@ The starter kit includes a basic setup for configuring Hardhat and Foundry, alon

2. Run the provided test suite to ensure everything is set up correctly.

```bash
yarn hardhat test
```

or alternatively:

```bash
npx hardhat test
```
Expand All @@ -160,6 +178,12 @@ The starter kit includes a basic setup for configuring Hardhat and Foundry, alon

Optionally you can add the API keys for [Flare Explorer](https://flare-explorer.flare.network) in the `.env` file.

```bash
yarn hardhat run scripts/tryDeployment.ts
```

or alternatively:

```bash
npx hardhat run scripts/tryDeployment.ts
```
Expand Down