Skip to content

numocash/power-maker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡ 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.

Releases

No releases published

Packages

No packages published

Languages