How It Works

A simple how-to guide.

Getting Started

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

git clone https://github.com/primitivefinance/primitive-protocol.git

Start

Run this command to download the codebase's dependencies

yarn

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

Tasks

To be added...

Scripts

To be added...