Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 935 Bytes

README.md

File metadata and controls

54 lines (38 loc) · 935 Bytes

🤖 PowerMaker

Local development

This project uses Foundry as the development framework.

Dependencies

forge install foundry-rs/forge-std

To handle high-percision fixed point airithmic, Numo uses the PRBMath Library.

bun add @prb/math

You need to add this to your remappings.txt file:

@prb/math/=node_modules/@prb/math/

For a consistent address across chain deployments, we use CREATE3

npm install create3-factory

Compilation

forge build

Test

forge test

Local setup

In order to test third party integrations such as interfaces, it is possible to set up a forked mainnet with several positions open

sh anvil.sh

then, in a separate terminal,

sh setup.sh

Licences

The smart contracts that make up Numo are licensed under the GPL-3.0 unless specified otherwise.