You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: applications/kitdot.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,17 +12,18 @@
12
12
13
13
**Tagline:** Web2-like payment experiences for building Polkadot dApps
14
14
15
-
Kitdot Payment Features Enhancement is a comprehensive payment development toolkit that empowers developers to build production-ready payment applications on Polkadot with Web2-like user experiences.
15
+
We aim to expand kitdot templates to have a comprehensive toolkit that empowers developers to build production-ready applications on Polkadot with Web2-like payment experiences.
16
16
17
17
**Brief Description:**
18
18
19
19
Kitdot is a TypeScript development toolkit that helps developers build Polkadot dApps faster with ready-to-use templates. This grant proposal aims to enhance Kitdot with three critical milestones that address the biggest barriers to mainstream Web3 adoption:
20
20
21
-
1.**Gasless Transactions**- Templates for gasless dApp interactions using account abstraction. Includes smart contracts and production-ready code developers can deploy.
21
+
1.**Gasless Transactions System**– Templates for gasless dApp interactions using account abstraction. Includes smart contracts, base contracts, relay services, and deployable production code.
22
22
23
-
2.**UX Improvements and X402 Payment Protocol** - Templates implementing x402 protocol for content and API monetization. Developers can use these to build paid services.
23
+
2.**X402 Payment Protocol System** – Templates implementing the X402 protocol for content and API monetization. Include token contracts, facilitator services, and full paid API examples.
24
+
25
+
3.**Ecosystem Collaboration & UX Refinement** – Templates and integrations demonstrating DotConnect, ReactiveDot, Polkadot UI, and Dedot working together. Includes partner coordination, UX improvements, and comprehensive documentation.
24
26
25
-
3.**Ecosystem Integration** - Templates demonstrating DotConnect, ReactiveDot, Polkadot UI, and Dedot integration. Shows developers how these tools work together.
26
27
27
28
**Why We're Creating This:**
28
29
@@ -62,6 +63,7 @@ We've conducted hands-on feasibility research for both payment features, testing
62
63
Throughout development, we maintain close collaboration with key ecosystem partners to ensure seamless integration:
63
64
- Worked with MetaMask DevRels to ensure Web3Auth compatibility with Passet Hub
64
65
- We are going to reach out to DotConnect, ReactiveDot, Polkadot UI, and Dedot core developers to build frontends using their tools and resources.
66
+
- We already have a channel of contact with thirdweb and we are going to reach out to Pimlico and Biconomy to discuss Asset Hub Integration on their infrastructure.
-Project endorsed by many community members and KOLs.
144
+
-Listed on Polkadot [Ecosystem tools directory](https://polkadotecosystem.com/tools/dev/kitdot)
143
145
- See more on [this forum discussion](https://forum.polkadot.network/t/kitdot-build-web2-like-apps-on-polkadot/15303)
144
146
145
147
@@ -194,7 +196,7 @@ Our team has completed comprehensive feasibility research for both payment featu
194
196
-**Total Estimated Duration:** 5 months
195
197
-**Full-Time Equivalent (FTE):** 1.5 FTE
196
198
-**Total Costs:** 30,000 USD (USDT or USDC)
197
-
-**DOT %:** 0% (100% stablecoin payment in USDT or USDC)
199
+
-**DOT %:** 0% (100% stablecoin payment in USDT/USDC/HOLLAR)
198
200
199
201
### Milestone 1 — Gasless Transactions System
200
202
@@ -207,8 +209,7 @@ Our team has completed comprehensive feasibility research for both payment featu
207
209
| 1. | Simplified Forwarder Contract | Solidity smart contract implementing ERC-2771 forwarder pattern adapted for PolkaVM constraints. Features: EIP-712 signature verification, nonce management, deadline validation, and call forwarding with sender extraction. Optimized to avoid constructor storage operations. |
208
210
| 2. | ERC2771Context Base Contract | Simplified recipient contract base that extracts real sender from forwarded calls. Enables existing contracts to support gasless transactions by inheriting this base. |
209
211
| 3. | Relay Service (Gasless Module) | Node.js/TypeScript service that accepts signed meta-transactions, validates them off-chain, and submits to forwarder contract. Features: whitelist management (user/contract/function-based), gas estimation for PolkaVM, rate limiting, and monitoring. |
210
-
| 4. | Sample Recipient Contracts | Example NFT and token contracts demonstrating gasless functionality. Shows how to inherit ERC2771Context and implement trusted forwarder pattern. |
211
-
| 6. | Whitelist Strategy Templates | Production-ready whitelist implementations: user-based (specific addresses authorized), contract-based (specific target contracts), function-based (specific function selectors), and hybrid approach. Each with rate limiting and gas budgets. |
212
+
| 4. | Whitelist Strategy Templates | Production-ready whitelist implementations: user-based (specific addresses authorized), contract-based (specific target contracts), function-based (specific function selectors), and hybrid approach. Each with rate limiting and gas budgets. |
212
213
213
214
### Milestone 2 — X402 Payment Protocol System
214
215
@@ -220,9 +221,8 @@ Our team has completed comprehensive feasibility research for both payment featu
220
221
| -----: | ----------- | ------------- |
221
222
| 1. | USDT Wrapper Token Contract | Custom USDT implementation with full EIP-3009 support optimized for PolkaVM. Features: transferWithAuthorization, receiveWithAuthorization, signature-based transfers, nonce management, time-bound authorizations. Based on USDT0/txfusion patterns adapted for constructor constraints. |
222
223
| 2. | Self-Hosted Facilitator (X402 Module) | Payment processor service that validates X402 payments, verifies EIP-3009 signatures, and submits transactions to Passet Hub. Adapted for PolkaVM's multi-dimensional resource metering. Features: payment verification API, blockchain settlement, confirmation tracking, and replay protection. |
223
-
| 3. | Payment Escrow Contract | Smart contract for time-locked payments with dispute resolution. Allows merchants to lock payments until service delivery with configurable timeouts and refund mechanisms. |
224
-
| 4. | HTTP 402 Server | Express/Fastify middleware implementing X402 challenge-response flow. Issues HTTP 402 challenges with payment details, verifies payment proofs via facilitator, and delivers resources upon confirmation. |
225
-
| 5. | Kitdot Template: X402 Paid API | Complete template for monetizing APIs with X402 payments. Includes: Express API server with 402 middleware, React frontend with payment handling, USDT Wrapper token contracts, facilitator configuration, and example paid endpoints (content access, data queries, AI agent integration). |
224
+
| 3. | HTTP 402 Server | Express/Fastify middleware implementing X402 challenge-response flow. Issues HTTP 402 challenges with payment details, verifies payment proofs via facilitator, and delivers resources upon confirmation. |
225
+
| 4. | Kitdot Template: X402 Paid API | Complete template for monetizing APIs with X402 payments. Includes: Express API server with 402 middleware, React frontend with payment handling, USDT Wrapper token contracts, facilitator configuration, and example paid endpoints (content access, data queries, AI agent integration). |
0 commit comments