Skip to content

Revival of port-finance/variable-rate-lending — Solana lending protocol. SDK 1.18+, 66/66 tests pass, new TypeScript SDK. Solana Graveyard Hackathon 2026.

Notifications You must be signed in to change notification settings

ExpertVagabond/port-lending

Repository files navigation

Port Finance Lending — Revived

Solana Graveyard Hackathon Revival | Track: Migrations ($7K)

This fork brings the abandoned Port Finance lending protocol back to life on modern Solana tooling. See MIGRATION.md for the full technical migration guide.

What's New

  • Upgraded from Solana SDK 1.9 to 1.18+ with Rust 2021 edition
  • Replaced dead Switchboard v1 oracle with deprecation stub
  • 2 programs compile and BPF-build on modern toolchain
  • 66/66 tests passing (token-lending program)
  • New TypeScript client SDK with state decoders, instruction builders, and 52-assertion demo
  • 13 migration stories completed (see MIGRATION.md)

Quick Start

# Prerequisites: Rust, Solana CLI 1.18+
perl -pi -e 's/^version = 4$/version = 3/' Cargo.lock                # BPF compat
cargo build-sbf -- -p port-finance-variable-rate-lending              # Build lending
cargo build-sbf -- -p port-finance-staking                            # Build staking
cargo test -p port-finance-variable-rate-lending                      # Run tests (66 pass)

Original README below:

Port Variable Rate Lending

Logo black@4x (1)

Build

cargo build                                              # Host build
cargo build-sbf -- -p port-finance-variable-rate-lending # BPF build

Test

cargo test -p port-finance-variable-rate-lending  # 66 tests
cargo test -p port-finance-staking                # Staking tests

About

Revival of port-finance/variable-rate-lending — Solana lending protocol. SDK 1.18+, 66/66 tests pass, new TypeScript SDK. Solana Graveyard Hackathon 2026.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •