Architecture

Deriverse's architecture is designed for maximum performance, security, and composability on Solana.

Core design principles

1. Network gas consumption optimization

Deriverse prioritizes execution efficiency by:

  • Native Solana interfaces: Using native Rust Solana program interfaces instead of frameworks like Anchor

  • Hand-optimized layouts: Custom instruction layouts minimize compute unit consumption

  • Reduced overhead: Eliminating framework abstractions that add performance costs

  • Best practice alignment: Following Solana's recommended patterns for advanced protocols

Result: Higher scalability and lower transaction costs for all users.

2. Zero administrative role

After initial deployment, Deriverse operates completely autonomously:

  • One-time setup: Administrative account used only during bootstrap

  • No upgrades: Protocol cannot be modified outside of governance

  • No freezes: No ability to halt trading or freeze funds

  • Immutable ;ogic: All operations governed by smart contract code

Result: Maximum trustlessness and resistance to intervention.

Advanced features

1. Special market maker instructions

Professional liquidity providers benefit from optimized trading tools:

Benefits:

  • Reduced compute unit consumption

  • Lower transaction fees

  • Atomic bid-ask updates prevent adverse selection

  • Enables tighter spreads and deeper liquidity

2. Versioned transactions & address lookup tables

Optimized transaction processing through:

  • Pre-initialized ALTs: Frequently used addresses stored on-chain

  • Reduced payload size: Transactions reference ALT indices instead of full addresses

  • Faster verification: Smaller transactions process more quickly

  • Lower network overhead: Reduced bandwidth requirements

3. Non-blocking parallel processing

Advanced concurrency model enables:

  • Parallel instrument access: Multiple instruments can be accessed simultaneously

  • Cross-instrument operations: Complex hedging and arbitrage strategies

  • Batch order placement: Multiple orders across different markets

  • Improved throughput: Higher transaction processing capacity

Account architecture

1. Unified client accounts

Simplified account management across all Spot Instruments:

Advantages:

  • Lower rent costs

  • Simplified wallet management

  • Streamlined user experience

  • Reduced on-chain storage requirements

2. Expandable accounts

Dynamic account growth using Solana's realloc capability:

  • Start Small: Accounts begin with minimal rent-exempt space

  • Grow as Needed: Storage expands based on usage demands

  • Resource Efficient: No wasted allocation for unused capacity

  • Cost Effective: Pay only for space actually required

Data structure design

1. Frontend Native Formats

Smart contracts emit data optimized for client consumption:

  • Direct mapping: One-to-one correspondence with frontend schemas

  • No transformation: Eliminates need for additional processing layers

  • Framework agnostic: Works with any modern web framework

  • Real-time updates: Immediate availability of market state changes

2. Built-in accounting & statistics

Comprehensive on-chain record keeping:

Derivatives ledger:

  • Margin movements

  • Funding payments

  • Trade executions

  • Settlement events

Spot market data:

  • Trade-level price records

  • Volume aggregation

  • Candlestick reconstruction

  • Historical analysis support

Token standards

1. Token-2022 support

Full compatibility with Solana's latest token standard:

  • Day one support: Available across all protocol modules

  • Future-proof: Ready for upcoming token capabilities

  • Simplified upgrades: Seamless adoption of new features

  • Enhanced gunctionality: Access to advanced token features

Transaction logging

1. On-chain event emission

Structured transaction logs for immediate consumption:

  • Real-time events: Immediate availability to client applications

  • Structured format: Consistent, predictable data schemas

  • No external dependencies: No need for indexing services

  • SDK ready: Direct consumption by TypeScript and Rust clients

Last updated