Skip to content

hats-finance/Palmera-0x5fee7541ddcd51ba9f4af606f87b2c42eea655be

 
 

Repository files navigation

Audit Competition for Palmera

This repository is for the audit competition for the Palmera. To participate, submit your findings only by using the on-chain submission process on https://app.hats.finance/vulnerability .

How to participate

Good luck!

We look forward to seeing your findings.


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

About

Palmera hierarchical module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 61.8%
  • TypeScript 37.6%
  • Other 0.6%