Thanks to visit codestin.com
Credit goes to github.com

Skip to content

dpiprotocol/dpi-protocol

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5,950 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DPI Protocol

Dubai Property Index Perpetual Futures on Solana

Website Twitter License

What is DPI Protocol?

DPI Protocol introduces perpetual futures for the Dubai Property Index — enabling anyone to trade the direction of Dubai real estate without buying or selling physical property.

  • Go Long — Bullish on Dubai? Ride the upside.
  • Go Short — Think the market is overheated? Profit from corrections.
  • Hedge — Homeowners can protect their exposure without selling.

No deeds. No brokers. No waiting months to exit. For the first time, Dubai real estate becomes a two-way market.

Architecture

DPI Protocol is built on a customized fork of Drift Protocol v2, adapted for Real World Asset (RWA) trading. Key modifications include:

  • Custom Oracle — Aggregates housing prices from multiple reputable Dubai real estate services, providing real-time data on average square meter values, regional variations, and market trends.
  • RWA Tokenization — Tokenizes "square Dubai meters" directly tied to the Dubai Property Index, enabling perpetual futures trading.
  • Solana-Native — Blazing speed, minimal fees, and scalability for high-volume trading.

Building Locally

Prerequisites

  • Rust toolchain (stable)
  • Solana CLI
  • Anchor framework
  • Node.js + Yarn

Note: On Apple M1 chips, set the default Rust toolchain to stable-x86_64-apple-darwin:

rustup default stable-x86_64-apple-darwin

Compile Programs

anchor build
yarn
cd sdk/ && yarn && yarn build && cd ..

Run Tests

# Rust tests
cargo test

# TypeScript tests
bash test-scripts/run-anchor-tests.sh

SDK

The SDK is located in the ./sdk directory. It is built on top of the Drift Protocol v2 SDK — refer to their documentation for general SDK concepts, API reference, and usage examples.

Keeper Bots

Keeper bot implementations (fillers, liquidators, etc.) live in the dpi-keepers repository.

Vision

Dubai is just the beginning. DPI Protocol is designed to scale worldwide — enabling hedging for real estate markets in New York, London, Singapore, and beyond. Real estate volatility is a universal stressor; crypto provides the borderless access, 24/7 liquidity, and smart-contract automation to democratize protection.

Acknowledgments

DPI Protocol is a fork of Drift Protocol v2, customized for Real World Asset futures trading. We are grateful to the Drift team for building battle-tested infrastructure.

License

Apache 2.0

About

Dubai Property Index perpetual futures — powered by Drift Protocol v2

Resources

License

Security policy

Stars

18 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 52.1%
  • Rust 47.7%
  • Other 0.2%