1k-defi-module-integration
CommunityPlug new DeFi modules into OneKey quickly.
Authorwanghaisheng
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Integrating new DeFi modules into OneKey traditionally requires stitching together disparate patterns for Earn, Borrow, and bespoke stand-alone modules. This Skill provides a unified blueprint to streamline provider integration, data orchestration, and routing so teams can add protocols consistently and safely.
Core Features & Use Cases
- Standardized patterns for Earn, Borrow, and entirely new modules, including Home, DataGate, and modal routing.
- Reusable architecture primitives: data management with IAsyncData, refresh strategies, PendingBridge, and tag-based pending tracking.
- Real-world use cases: adding a staking protocol to Earn, integrating a lending market under Borrow, or building a completely new module with its own tab and routes.
Quick Start
Define the module with a Home, a DataGate, a ManagePosition modal, and routing, then implement state management and a PendingBridge per the guide.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: 1k-defi-module-integration Download link: https://github.com/wanghaisheng/web3-scaffold-app-monorepo/archive/main.zip#1k-defi-module-integration Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.