A Hedera project template for building and testing Solidity Smart Contracts using Foundry. It includes a sample TodoList smart contract and unit tests.
- TypeScript
- Foundry
- Hedera Hashgrapsh JavaScript SDK
- Clone this repo
git clone git@github.com:hedera-dev/hedera-smart-contract-testing-with-foundry.git
- Execute
npm i
- Add a
.env
file in the root directory with your Hedera Portal Account Credentials - Execute
npm run start
to run the project
Don't have one? Create one by going to portal.hedera.com. This testnet account will recieve 10,000 test HBAR every 24 hours!
This repo pertains to the following article: How to Set Up Foundry To Test Smart Contracts On Hedera