Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 937 Bytes

README.md

File metadata and controls

47 lines (29 loc) · 937 Bytes

PalmeraModule - Safe module for Palmera

Overview

Tech requirements

Copy .env.example as .env and fill it with your own API KEYS (alchemy, etherscan) & mnemonic to be used locally

Foundry is used as the development framework. Please install it following the instructions:

https://book.getfoundry.sh/getting-started/installation

Init submodules

The external smart contracts dependencies are place in the lib/ folder. In order to initialize them use this command:

git submodule update --init --recursive

Compile contracts foundry

forge build or make build

Run tests foundry

Tests foundry docs

To run the tests using the local VM (anvil)

forge test

Run tests hardhat

Tests hardat docs

To run the tests using the local VM (hardhat)

yarn run test