Skip to content

hedera-dev/tutorial-foundry-unit-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to Setup Foundry and Write a Basic Unit Test

Setup Foundry

Using an existing Hedera node project with the JavaScript SDK, learn how to set up Foundry to be able to leverage Forge, their command-line tool, to run your smart contract tests written in Solidity.

What you will accomplish

  • ✅ Configure Foundry and Forge with a Hedera Project
  • ✅ Write unit tests in Solidity
  • ✅ Run your tests using Foundry forge command
  • ✅ Create a Forge Gas Report

Prerequisites

Before you begin, you should be familiar with the following:

Have the following set up on your computer:


Get started

The repo, github.com/hedera-dev/setup-foundry-and-write-basic-unit-test, is intended to be used alongside this tutorial

About

Learn to setup Foundry within a nodeJS project and test a Hedera Smart Contract

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published