Skip to content
forked from mattsse/jet-v2

A DeFi margin system with fixed-term lending markets

License

Notifications You must be signed in to change notification settings

adpthegreat/jet-v2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jet V2

Build Discord License

Jet Protocol v2

This repository contains the source code for the implementation of Jet Protocol v2 to run on the Solana network, and associated tools for using the protocol (like a web frontend). The protocol allows for users to participate in non-custodial borrowing and lending marketplaces.

Status

The protocol is currently under active development, and all APIs are subject to change.

Documentation

Auto-generated API docs are available here

Getting Started

Install yarn, anchor and the Solana CLI (instructions)

Wasm Pack

To run the frontend web application also requires wasm-pack, which can be installed with cargo:

cargo install wasm-pack --locked

Test

Run the full test suite used by the github CI workflow. This requires all dependencies to be installed:

./check

Run it in a docker container that already contains all the solana and anchor dependencies. This only requires docker:

./check in-docker

Run a single job from the workflow:

./check [in-docker] [job-name (e.g. e2e-test)]

Web App

Ensure you have a /app/.env file with the required variables:

REACT_APP_RPC_TOKEN = <YOUR_RPC_TOKEN>
REACT_APP_RPC_DEV_TOKEN = <YOUR_DEV_RPC_TOKEN>
REACT_APP_IP_REGISTRY = <YOUR_IP_REGISTRY_TOKEN>
REACT_APP_LOGROCKET_PROJECT = ""

To run the app:

yarn
yarn --cwd packages build
yarn dev

About

A DeFi margin system with fixed-term lending markets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 66.2%
  • TypeScript 29.2%
  • Less 4.0%
  • Shell 0.4%
  • JavaScript 0.2%
  • HTML 0.0%