Production-grade DeFi primitives for the Solana ecosystem
Blueshift Projects Platform is a comprehensive DeFi infrastructure platform providing battle-tested primitives for flash loans, vaults, and escrow operations on Solana. With 176,000+ lines of auditable Rust code, we enable protocols to integrate advanced DeFi functionality without building from scratch.
| Program | Status | LOC | Description |
|---|---|---|---|
| π Flash Loan | β Ready | 52,774 | Uncollateralized loans with atomic repayment guarantees |
| π Vault System | β Ready | 34,609 | Secure asset management with multi-sig support |
| π€ Escrow Protocol | β Ready | 88,124 | Trustless P2P token swaps |
| π secp256r1 Vault | π§ͺ Experimental | 265 | Advanced cryptographic vault |
| β‘ Pinocchio Vault | π§ͺ Experimental | 168 | Optimized native implementation |
Total: 6 program implementations β’ 176,249 lines of Rust code
- π οΈ Infrastructure, Not Applications - We build the plumbing; you build the product
- π Composable by Design - Integrate just what you need
- π Developer-First - Comprehensive docs, examples, and support
- π Security-Focused - Professional audit before mainnet
- π‘ Enables Innovation - Protocols can focus on UX, not rebuilding primitives
- π Increases Efficiency - Flash loans enable arbitrage and liquidations
- π€ Reduces Risk - Audited, reusable code vs. custom implementations
- π Network Effects - More integrations = deeper liquidity = better UX
# Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Install Solana CLI
sh -c "$(curl -sSfL https://release.solana.com/stable/install)"
# Install Anchor (for Anchor programs)
cargo install --git https://github.com/coral-xyz/anchor avm --locked --force
avm install latest
avm use latest# Clone repository
git clone https://github.com/edoh-onuh/blueshift-platform.git
cd blueshift-platform
# Build Flash Loan
cd blueshift_anchor_flash_loan
anchor build
# Build Vault
cd ../blueshift_anchor_vault
anchor build
# Build Escrow
cd ../blueshift_anchor_escrow
anchor build# Test Flash Loan
cd blueshift_anchor_flash_loan
anchor test
# Test Vault
cd ../blueshift_anchor_vault
anchor test
# Test Escrow
cd ../blueshift_anchor_escrow
anchor testEnables uncollateralized loans with atomic repayment guarantees using Solana's instruction introspection.
Key Features:
- β‘ Atomic execution - borrow and repay in single transaction
- π Instruction introspection ensures repayment
- π° 5% fee model for protocol sustainability
- π― Optimized for arbitrage, liquidations, and collateral swaps
Use Cases:
- MEV bots and arbitrage strategies
- Liquidation engines for lending protocols
- Collateral rebalancing without capital
- Flash mint attacks testing/prevention
π Read Flash Loan Documentation β
Secure asset custody with flexible access controls and multi-signature support.
Key Features:
- π PDA-based security architecture
- π₯ Multi-signature support
- πͺ Supports SOL and all SPL tokens
- βοΈ Flexible access control patterns
- π Advanced crypto (secp256r1) variant available
Use Cases:
- DAO treasury management
- Protocol-owned liquidity vaults
- Institutional custody solutions
- Multi-party escrow for complex deals
π Read Vault Documentation β
Trustless peer-to-peer token swaps with flexible terms.
Key Features:
- π Make/Take/Refund pattern
- π Support for any SPL token pair
- β±οΈ Time-delayed settlements
- πΌ OTC trading infrastructure
- π‘οΈ No counterparty risk
Use Cases:
- P2P token swaps
- OTC trading platforms
- NFT purchases with custom tokens
- B2B settlements
π Read Escrow Documentation β
blueshift-platform/
βββ blueshift_anchor_flash_loan/ # Flash loan (Anchor)
βββ blueshift_anchor_vault/ # Vault system (Anchor)
βββ blueshift_anchor_escrow/ # Escrow protocol (Anchor)
βββ blueshift_secp256r1_vault/ # Cryptographic vault
βββ blueshift_vault/ # Vault (Pinocchio)
βββ blueshift-pinocchio-quantum-vault/ # Quantum-resistant experiments
We provide multiple implementations to demonstrate:
- Anchor Framework - Production-ready, developer-friendly
- Native Solana - Maximum performance and control
- Experimental - Cutting-edge cryptography and optimization
- β Pre-Mainnet Audit - Professional security review before launch
- π Bug Bounty - $250K+ fund on Immunefi (post-audit)
- π Quarterly Reviews - Ongoing security assessments
- π’ Transparent Reporting - Public audit reports and findings
- π¨ Incident Response - 24/7 monitoring and rapid response team
- Signer Verification - All state changes require proper authentication
- PDA Validation - Bump seeds stored and verified
- Overflow Protection - Safe math operations throughout
- Account Ownership - Strict validation of account owners
- Instruction Introspection - Atomic guarantees for flash loans
π‘ Seeking Audit - Applied for Solana Audit Subsidy Program (Cohort V)
Target Auditors: OakSecurity, Zellic, Certora, Runtime Verification
Total Lines of Code: 176,249
Rust Files: [Count]
Programs: 7
Frameworks: Anchor + Native Solana
Test Coverage: [Pending]
Documentation: Comprehensive
- β Complete core program implementations
- β³ Security audit (in progress)
- β³ Comprehensive documentation
- β³ Developer integration guides
- π― Address audit findings
- π― Mainnet deployment
- π― First protocol integrations (target: 5)
- π― Bug bounty program launch
- π― Expand protocol integrations (target: 15)
- π― Developer grants program
- π― Community governance initiation
- π― Cross-program composability enhancements
- π― Advanced features (options, perpetuals infrastructure)
- π― Performance optimizations
- π― International expansion
- π― Year-end security review
Want to integrate flash loans, vaults, or escrow into your protocol?
- π Read the Docs - Start with program-specific documentation
- π¬ Join Discord - Get support from our team and community
- π§ͺ Test on Devnet - Use our devnet deployment for testing
- π Go Live - Integrate with mainnet post-audit
Integration Bounties: $2,000 for first 10 protocol integrations
import * as anchor from "@coral-xyz/anchor";
import { Program } from "@coral-xyz/anchor";
import { BlueshiftFlashLoan } from "../target/types/blueshift_flash_loan";
// Initialize flash loan
const flashLoan = await program.methods
.borrow(new anchor.BN(1000000)) // 1 USDC
.accounts({
borrower: wallet.publicKey,
// ... other accounts
})
.rpc();
// Your arbitrage logic here
// Automatic repayment verification via instruction introspection- Flash Loan Guide - Complete flash loan documentation
- Vault Guide - Vault setup and usage
- Escrow Guide - P2P trading with escrow
- Security Considerations - Security best practices
- Integration Guide - How to integrate Blueshift
- API Reference - Complete API documentation
- Solana Foundation - For building an amazing ecosystem
- Anchor Framework - For making Solana development accessible
- Audit Partners - For ensuring our code is secure
- Community - For feedback and support
This project will be open-sourced under GPL-3.0 License following completion of professional security audit.
Current Status: Code review in progress. Full public release planned for Q2 2026.
Pre-Audit Software: This code has not yet undergone professional security audit. Do not use in production or with real funds until audit completion and findings remediation.
Use at Your Own Risk: The developers assume no liability for any losses incurred through use of this software.
Projects Developer: John Edoh Onuh
GitHub: @edoh-onuh
- Twitter: @Adanubrown
- Email: adanu1947@gmail.com
Building the infrastructure for Solana's DeFi future
Last Updated: January 16, 2026
Version: 0.1.0-pre-audit
Status: π‘ Seeking Security Audit