Perpetual DEX breed from the magical farm
The following assumes the use of node@>=14
.
- Copy
.env.example
file and change its name to.env
in the project folder - Run
yarn
to install all dependencies
$ curl -L https://foundry.paradigm.xyz | bash # install foundryup
$ foundryup # install forge and cast
yarn compile
Note: There will be a new folder called typechain
generated in your project workspace. You will need to navigate to typechain/index.ts
and delete duplicated lines inside this file in order to proceed.
# unit tests
$ yarn test:unit
# integration tests
$ yarn test:integration
The primary license for Alpaca Protocol is the MIT License, see MIT LICENSE.