Skip to content

Commit

Permalink
Merge pull request #676 from onflow/EVM-Hardhat-updates
Browse files Browse the repository at this point in the history
Update hardhat title and small fixes
  • Loading branch information
Greg Santos authored Mar 25, 2024
2 parents 85a2da3 + 888e1bb commit f87db4b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/evm/build/guides/deploy-contract/using-hardhat.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: Using Hardhat
description: "Using Hardhat to deploy a Solidity contract to EVM on Flow."
sidebar_label: Using Hardhat
title: Flow Hardhat Guide
description: "Using Hardhatto deploy a Solidity contract to EVM on Flow."
sidebar_label: Hardhat
sidebar_position: 1
---

# Using Hardhat
# Flow Hardhat Guide

Hardhat is an Ethereum development tool designed to facilitate the deployment, testing, and debugging of smart contracts. It provides a streamlined experience for developers working with Solidity contracts.

Expand Down Expand Up @@ -69,7 +69,7 @@ To keep this example straightforward, we've included the account's private key d

### Deploying HelloWorld Smart Contract

### HelloWorld Smart Contract
## HelloWorld Smart Contract

```Solidity
// SPDX-License-Identifier: MIT
Expand Down Expand Up @@ -215,7 +215,7 @@ main().catch((error) => {

Here are the steps to follow:
1. Create an `updateGreeting.ts` script in the `scripts` directory.
2. Paste in the TypeScript above, Make sure to update the contract address with the one from deployment in earlier step.
2. Paste in the TypeScript above, make sure to update the contract address with the one from deployment in earlier step.
3. Call the new script, `NEW_GREETING='Howdy!' npx hardhat run ./scripts/updateGreeting.ts --network previewnet`
4. The output should be
```shell
Expand Down

0 comments on commit f87db4b

Please sign in to comment.