BDP

Privacy-focused Bitcoin trading platform with zero-knowledge security.

About

## Wave 1 submission

In this wave we built BDP (Bitcoin Discreet Platform) focusing on creating a privacy-focused trading platform for Bitcoin spot and perpetual markets. The project involved designing and deploying a Solidity smart contract on Citrea Testnet using Hardhat, incorporating zero-knowledge technology to hide order books and prevent MEV and front-running of an intuitive user interface with React.js integrated with ethers.js and MetaMask for wallet connectivity. Placeholder zk-proofs were implemented to simulate private order commitments, with plans for full zk-SNARK integration using circom. The smart contract leveraged Citrea’s Schnorr precompile for secure signature verification, and the platform targeted high-volume traders and institutions using cBTC as the native asset.

BDP exemplifies Citrea’s goal of scaling Bitcoin by enabling complex decentralized applications, such as DeFi trading platforms, without altering Bitcoin’s base layer consensus rules. The use of zk-proofs aligns with Citrea’s emphasis on privacy and security, enhancing Bitcoin’s utility for institutional-grade applications. By integrating with Citrea’s Bitcoin Light Client and Testnet infrastructure (Chain ID: 5115, RPC: https://rpc.testnet.citrea.xyz), BDP supports the chain’s mission to foster innovative use cases and drive real-world adoption.

## Wave 2 submission

During this wave a full zk-SNARK circuit with circom to lock down order privacy, enhancing BDP’s MEV resistance. We developed an off-chain matching engine to optimize order execution speed and accuracy. Perpetual contract features was added, introducing leverage options for advanced traders. Finally, we improved the UI to launch a mainnet beta with a security audit, inviting institutional partners to test and adopt BDP as a flagship Bitcoin DeFi solution.

## Wave 3 submission

During this wave, the app featured a significant UI upgrade, adopting a dark-themed, vibrant design inspired by modern crypto wallets, with green and purple accents for a sleek, professional look tailored to high-volume traders and institutions. The UI includes interactive elements like a dynamic balance dashboard, a real-time chart with toggleable timeframes (4 hours to 6 months), and an enhanced portfolio view with mock data refresh functionality, all built using React, Tailwind CSS, and TypeScript. New features integrates Stork for low-latency price feeds, ensuring traders receive up-to-date cryptocurrency and RWA data, while Blocksense optimize order execution by providing intelligent market analysis to prevent MEV and front-running. Redstone enhances the app by supplying price feeds for emerging assets like liquid Bitcoin staking tokens, enriching the trading options with secure, modular oracle data. The backend was developed using Hardhat and deployed on Citrea Testnet, leveraging its zkEVM compatibility to handle secure trade processing and order book privacy via zero-knowledge proofs. Smart contract modifications would include a new TradingPrivacy contract that utilizes Citrea’s secp256r1 and Schnorr precompiles for gas-efficient, privacy-preserving signature verification, ensuring discreet trades. The BitcoinLightClient contract was extended to verify transaction inclusions with updated witness roots, enhancing security for Bitcoin-native assets on Citrea’s rollup. This submission fosters innovative DeFi use cases, supporting continued development, and moving BDP closer to real-world adoption with a robust, privacy-focused trading ecosystem.

## Wave 4 submission

BDP currently offers a polished, interactive UI with a dynamic balance dashboard, timeframe-toggleable chart, portfolio view with refresh capability, and an order placement form, all working. The backend smart contracts are deployed and functional on Citrea Testnet, providing a foundation for privacy and Bitcoin integration, their interaction exposed in the UI. These functions demonstrate a robust prototype offering an innovative DeFi features and a platform ready for further development and real-world adoption in subsequent waves.

## Wave 5 submission

During this wave we enhanced the BDP expense tracker dApp with the following features to improve financial planning and user engagement while maintaining its privacy-focused approach for Bitcoin markets on Citrea:

Expected Earnings: Added functionality to store and track anticipated income onchain using Citrea's Program Derived Addresses. Implemented a new ExpectedEarnings component with a form to input earnings (amount, description, expected date) and a table to display them, with the ability to mark earnings as received.

Expected Invoices: Introduced a feature to log and manage expected invoices, including a form in the Invoices component to input invoice details (amount, description, due date) and mark them as arrived.

Data is stored onchain for transparency. Planning and Future Savings: Added a SavingsGoals component to set and track savings goals (target amount, description, target date), with functionality to add funds to goals. Savings data is stored onchain, enabling secure tracking.

Recent Purchases and Expenses: Implemented a RecentTransactions component to display the latest onchain transactions (purchases and expenses) fetched from the Citrea blockchain, presented in a styled table.

Prizes

  • Wave 1 grant · 27.91 USDT
  • Wave 5 grant · 45 USDT

From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

No public repo linked, so we can't tell.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.