Skip to content

jdaviderb/jet-v1

 
 

Repository files navigation

Jet Protocol

Jet V1

Build Status Discord Chat License

Note

  • Jet Protocol is in active development so all APIs and behaviours are subject to change.
  • This is experimental unaudited software. Use at your own risk.

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

About

Decentralized lending on Solana

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Rust 46.5%
  • TypeScript 36.1%
  • Svelte 13.7%
  • CSS 3.0%
  • JavaScript 0.5%
  • HTML 0.1%
  • Shell 0.1%