How It Works

A simple how-to guide.

Getting Started

The contract code base is here. Each npm package is under @primitivefi.

git clone


Run this command to download the codebase's dependencies


Contracts Package

This package contains the buidler project with the protocol's contracts and test suites: @primitivefi/contracts.

Start with going into the contracts directory, starting up the buidler node for running the Buidler EVM. Then run the tests!

cd packages/primitive-contracts
yarn bevm
yarn test


To be added...


To be added...