This project uses Foundry as the development framework.
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
forge build
forge test
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
The smart contracts that make up Numo are licensed under the GPL-3.0 unless specified otherwise.