• Stars
    star
    193
  • Rank 201,081 (Top 4 %)
  • Language
    Rust
  • License
    GNU Affero Genera...
  • Created about 3 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Decentralized lending on Solana

Jet Protocol

Jet V1

Build Status Discord Chat License

Website

Note

  • The software in this repository is deprecated, and only considered useful for educational purpose
  • You can find the successor protocol under active development in jet-v2

Contributing

Install Anchor

Directions can be found here.

Build, deploy, and test programs

You may also need to install the NPM dependencies for tests

npm install

You can use anchor to build and test the program.

anchor test

Run Frontend

Initial localnet setup - startup a local validator and deploy

npm install
cd scripts
./localnet-start.sh

Set up frontend app environment variable to use localnet

vi ../app/.env # Set IDL = localnet

Run ctrl-c. to kill the solana-test-validator process to stop the localnet

Startup a local validator and deploy

Install any other NPM dependencies in the app directory

cd ../app
npm install

npm run dev to run live-reloading dev environment

npm run build to compile app to the /build directory

npm run check typescript type-checker

localhost:3000 in browser