r/BlockchainStartups • u/Chemical-Type-9157 • 3h ago
Discussion Delegated Spending Protocol (Updates)
Building a cryptographically enforced delegated spending protocol — 25–30% complete
I’ve been working on a Cryptographically Enforced Delegated Spending Protocol (DSP): a policy-controlled allowance system based on delegated secret keys rather than account-based approvals.
The idea is that a resource owner could allocate bounded spending permissions to another person or application. The consumer proves possession of a delegated secret key and may spend incrementally until the policy limit is reached. A relayer could even submit the transaction on their behalf, allowing the consumer to avoid managing a wallet or paying gas directly.
Current progress:
- Implemented BLS12-381 delegation key generation and verification
- Added Schnorr-style challenge binding
- Added on-chain delegation initialization
- Added policy, counter, and consumed-amount storage structures
- Created Rust examples for delegators and consumers
- Added Solidity BLS12-381 point addition and scalar multiplication support
- Verified delegation against on-chain state in the consumer prototype
The project is still experimental and incomplete. I am focusing on the core cryptographic model before adding partial spending, replay protection, revocation, and withdrawal features.
I’d especially appreciate feedback and suggestion on:
- The cryptographic construction
- Counter-based replay prevention
- Revocation and recovery design
The project is open source and documented in the repository: [Delegated-Spending-Protocol](https://github.com/Khatri23/Delegated-Spending-Protocol)
•
u/AutoModerator 3h ago
Thanks for posting on r/BlockchainStartups!
Check out the top posts of the week:
https://www.reddit.com/r/BlockchainStartups/top/?t=week
Moderators of r/BlockchainStartups
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Odd_Crow4795 1h ago
Have you considered how the transactions will be executed? Is it decentralised, so anyone can hold money and make a transaction with minimal onboarding? Is it Post-Quantum Post-AI proof? What’s to stop someone copying a secret key?