Skip to content

Port Finance Variable Rate Lending & Liquidity Mining Program

Notifications You must be signed in to change notification settings

port-finance/variable-rate-lending

Repository files navigation

Port Variable Rate Lending

Bug Bounty

Logo black@4x (1)

We have partnered with Immunefi to offer bug bounty up to 500K: https://immunefi.com/bounty/portfinance/

Development

Environment Setup

  1. Install the latest Rust stable from https://rustup.rs/
  2. Install Solana v1.8.0 or later from https://docs.solana.com/cli/install-solana-cli-tools
  3. Install the libudev development package for your distribution (libudev-dev on Debian-derived distros, libudev-devel on Redhat-derived).

Build

The normal cargo build is available for building programs against your host machine:

$ cargo build

To build BPF Program:

$ cargo build-bpf

Test

Unit tests contained within all projects can be run with:

$ cargo test      # <-- runs host-based tests
$ cargo test-bpf  # <-- runs BPF program tests

Verify Build

Dump on-chain file to a local file

solana program dump <program-id> <file-name>

Compare the on-chain file with a local build using vbindiff

About

Port Finance Variable Rate Lending & Liquidity Mining Program

Resources

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •