Last updated 6 months ago
Veil protocol seeks to ensure that users despite being anonymous while interacting with various DeFi protocols on Midnight can be assessed to show their financial trust-worthiness without disclosure.
We intend to provide an on-chain verifiable smart contract that can be interacted with by other smart contracts to verify users' financial history without disclosing their identities.
Please provide your proposal title
Veil Credit Scoring Protocol For Midnight DeFi Ecosystem
Please specify how many months you expect your project to last
3
Please indicate if your proposal has been auto-translated
No
Original Language
en
What is the problem you want to solve?
Veil protocol seeks to ensure that users despite being anonymous while interacting with various DeFi protocols on Midnight can be assessed to show their financial trust-worthiness without disclosure.
Supporting links
Does your project have any dependencies on other organizations, technical or otherwise?
No
Describe any dependencies or write 'No dependencies'
No dependencies
Will your project's outputs be fully open source?
Yes
Please provide here more information on the open source status of your project outputs
MIT
Please choose the most relevant theme and tag related to the outcomes of your proposal
Risk Management
What is useful about your DApp within one of the specified industry or enterprise verticals?
DeFi applications built on midnight need a means to verify users' financial trust-worthiness, how they behave when the take loans from liquidity pools and other financial behaviours you can imagine. This is the gap Veil credit scroing protocol strives to fill without exposing the identities of involved entities.
Veil provides a mechanism for other DApps or protocols in the Midnight DeFi ecosystem to integrate it into their application creating a standard for regulated financial transaction among user on Minight blockchain network.
It will also allow users mint NFTs to showcase a Proof of Trust-worthiness (PoT) that can be verified onchain.
What exactly will you build? List the Compact contract(s) and key functions/proofs, the demo UI flow, Lace (Midnight) wallet integration, and your basic test plan.
The project archietecture consist of a modular compact smart contract that includes the following circuits which will be tested using unit testing and testnet simulations. They are:
We will also implement a secure backend services capable of communicating with the contract on behalf of integrating DApp and direct user of the protocol.
The frontend demo will showcase Midnight lace preview wallet connection flow, minting of PoT NFT and its verification and a carefully curated documentation for partner protocols and DApps who intend to inetgrate Veil into their workflows.
How will other developers learn from and reuse your repo? Describe repo structure, README contents, docs/tutorials, test instructions, and extension points. Which developer personas benefit, and how will you gauge impact (forks, stars, issues, remixes)?
Veil is designed to give Midnight builders a practical, modular example they can easily understand and integrate. The contract circuits like verifyTrustScore, updateTrustScore, mintPoTNFT, and others, mirror the real needs we’ve seen while building DeFi protocols across multiple ecosystem hackathons.
Our key developer personas are:
By providing a full setup; contract, backend, frontend demo, and clear documentation, Veil becomes a reusable template that lowers the barrier for new builders. We expect natural developer activity such as forks, stars, issue discussions, and downstream integrations as more protocols adopt Veil as their trust standard in the Midnight DeFi ecosystem.
Please describe your proposed solution and how it addresses the problem
DEFI protocols built on the Midnight blockchain network are big on privacy. Here is a problem associated with this approach. Most of these protocol totally or partially shield the metadata of its users which make it impossible to tell which users is financially trust-worthy to interact with. Especially in decentralized applications where users interact directly or indirectly with each other such as lending, collateralized stablecoin, DEX, Staking, Yield and Payment protocols.
Veil protocol provides an onchain verifiable platform that will be integratable into other protocol via API calls for now since contract-contract interaction are not yet available on midnight and enable them to track users' financial behavior through immutable onchain credit score allocation as they interact with these protocols without disclosing their identities, reducing the risk of financial bankruptcy. It also provides a means for users to demonstrate financial trust-worthiness using NFTs minted from our credit-scoring protocol.
Please define the positive impact your project will have on Midnight ecosystem
The success of veil protocol can be measured when we consider several metrics, which include:
What is your capability to deliver your project with high levels of trust and accountability? How do you intend to validate if your approach is feasible?
Within the past few month of the year, my team (Lucentlabs) has demonstrated expertise in developing several DeFi related decentralized dapps in the midnight ecosystem through participation in ecosystem hackathons and emerging as winners in almost all of them including the just concluded Midnight summit hackathon where we emerged as winners for the finance track.
Our experience also span through collaboration with other DeFi protocol such as Fluid Token, a lending protocol built on Midnight blockchain. My extensive period of active participation in the ecosystem building DeFi dapps was the main source of inspiration for Veil credit-scoring protocol, seeing that they all share similar problem of failure to ensure financial-trustworthiness amongst user.
The protocol feasibiility depends on the following stages, which include;
Each of these stages of the protocol development requires proefficient expertise which my team possess. From sleek UI/UX design, to contract developement and backend integration which will be spare-headed by me also with the assistance of two of two other compact smart contract developers; Samir Idris (With proven knowledge of development on Cardano using AIKEN) & Bamidele Joseph (Compact smart contract developer and Full Stack engineer), down to proper API documentation which will be written by me.
Please provide a cost breakdown of the proposed work and resources
The project is divided into three milestones, each with specific deliverables that build toward a complete, production-ready solution:
Milestone 1: Smart Contract & Backend Integration ($USDM 2,000)
Covers development and deployment of the core smart contract on testnet, plus backend service implementation with API integration and CLI testing. This establishes the foundational infrastructure that other DApps can call.
Milestone 2: Frontend DApp for PoT Minting ($USDM 3,000)
Handles complete UI/UX design and frontend development, including wallet connection and the full Proof-of-Trustworthiness NFT minting flow. This creates the user-facing interface that makes the system accessible.
Milestone 3: Documentation & Website Redesign ($USDM 5,000)
Delivers comprehensive technical documentation for smart contracts and APIs, integrated directly into Veil's website, plus a redesigned landing page. This ensures developer adoption and clear communication of the project's value across the Midnight ecosystem.
Each milestone includes all necessary development, testing, design, integration, and documentation work. The total $10,000 budget reflects the technical complexity of building a complete trust attestation system from smart contracts through user interface to production-ready documentation that will serve as infrastructure for the broader ecosystem.
How does the cost of the project represent value for the Midnight ecosystem?
The budget for this project is structured in a way that ensures every resource is tied directly to the core development flow, smart contract engineering, backend architecture, frontend integration, UI/UX design, and proper technical documentation. Nothing here is abstract or inflated; each cost aligns with real deliverables that move Veil toward becoming a production-ready credit-scoring protocol within the Midnight ecosystem.
All development work will be handled by our in-house team, which already has proven experience building DEFI-focused dApps on Midnight. This allows us to manage funds efficiently since we’re not outsourcing critical components. The budget covers the engineering time needed to build the contract logic, implement the backend API layer, integrate wallet and DApp interactions, design a clean user experience for PoT minting, and produce high-quality documentation that developers can rely on.
Every expense here falls under eligible cost categories based on Fund Rules which includes development, testing, documentation, and design. The work follows a clear timeline, and the budget is allocated strictly to technical tasks that improve reliability, usability, and developer adoption. By keeping the workflow modular and validating each stage before moving forward, the project ensures strong value for money while maintaining full accountability in how the funds are managed.
I confirm that the proposal clearly provides a basic prototype reference application for one of the areas of interest.
Yes
I confirm that the proposal clearly defines which part of the developer journey it improves and how it makes building on Midnight easier and more productive.
Yes
I confirm that the proposal explicitly states the chosen permissive open-source license (e.g., MIT, Apache 2.0) and commits to a public code repository.
Yes
I confirm that the team provides evidence of their technical ability and experience in creating developer tools or high-quality technical content (e.g., GitHub, portfolio).
Yes
I confirm that a plan for creating and maintaining clear, comprehensive documentation is a core part of the proposal's scope.
Yes
I confirm that the budget and timeline (3 months) are realistic for delivering the proposed tool or resource.
Yes
I Agree
Yes
Veil Protocol Team consist of member of LucentLabs which includes the following personnel;
Elliot Lucky
**Github: **https://github.com/codebigint
Midnight ALIIT Ambassador, Experienced Compact Smart Contract developer, Full stack developer, Co-founder at LucentLabs and Project owner.
Samir Idris
Github: https://github.com/scisamir
Experienced AIKEN mentor & developer, Compact smart contract developer, Fullstack developer and Co-founder at LucentLabs.
Joseph Martins
Github: https://github.com/techmartins72
Compact Smart contract developer, Frontend Engineeer and Co-founder at LucentLabs.
Repository Links
Statera : https://github.com/statera-protocol/statera-protocol-midnight
FundAGoal: https://github.com/codeBigInt/fundagoal
Hydrastake: https://github.com/TechMartins72/hydra-stake-protocol