25 ยท TECHNICAL REQUIREMENTS
Version: 6.0
Date: 12.03.2026
Status: Canonical
Key updates v5.0:
- AI Yield Engine: 800+ strategies, 8 streams, 1M+ parametric combinations
- WellexVault: single ERC-4626, Multi-EVM 7 networks + Tron + Solana
- Ranks v5.0: Explorer โ Builder โ Achiever โ Manager โ Director โ Leader โ Ambassador โ Master โ Champion โ Legend
- Iron Rules: no provider names, single plan $19/mo, no tokens
- Card On-Ramp: providers hidden from user, auto-routing behind the scenes
โ ๏ธ Technical specs describe infrastructure for yield distribution. Target Yield is not a guarantee โ actual yield depends on DeFi market conditions.
Table of Contentsโ
- Registration and Authentication
- Authorization and Session Management
- Wallet and Payments
- AI Yield Engine & WellexVault
- Staking (WEB only)
- MLM Network (WEB only)
- Band and Health Data Pipeline
- Subscription
- KYC/AML
- Dashboard: APP vs WEB
- Security and Privacy
- Community (APP only)
- Notifications
- Localization
- API Architecture
- Webhooks & Developer API
1. Registration and Authenticationโ
1.1 Dual Entry Modelโ
The platform supports two independent registration paths: Email-first (primary for APP) and Web3-first (for crypto users).
Path 1: Email-first (primary for APP)โ
| # | Requirement |
|---|
| 1.1.1 | Registration via Email + password |
| 1.1.2 | Social login: Apple ID (Sign in with Apple), Google (OAuth 2.0) |
| 1.1.3 | On registration, a Web3 wallet (ERC-4337 Account Abstraction) is automatically created |
| 1.1.4 | Blockchain is completely hidden from the user |
| 1.1.5 | Web3 wallet is used for transactions on the WEB platform |
| 1.1.6 | Gasless transactions via paymaster (Polygon) |
Path 2: Web3 Wallet-first (for crypto users)โ
| # | Requirement |
|---|
| 1.2.1 | "Connect wallet" button on the WEB platform |
| 1.2.2 | WalletConnect v2 integration: MetaMask, Trust Wallet, Coinbase Wallet, etc. |
| 1.2.3 | Verification via message signature EIP-4361 (Sign-In with Ethereum) |
| 1.2.4 | After wallet connection โ mandatory email input to create account |
| 1.2.5 | Email is used for access recovery, notifications, and APP linking |
| 1.2.6 | If email is already registered โ offer to link wallet to existing account |
Unified Accountโ
| # | Requirement |
|---|
| 1.3.1 | Both registration paths lead to a unified account in the system |
| 1.3.2 | One account = one email + one or more Web3 wallets |
| 1.3.3 | User can use APP, WEB, or both platforms simultaneously |
| 1.3.4 | Maximum 3 external Web3 wallets per account |
1.2 Required Fields on Registrationโ
| # | Field | Email-first | Web3-first |
|---|
| 1 | Email | โ
| โ
(after wallet connection) |
| 2 | Password | โ
| โ (login via wallet signature) |
| 3 | First name | โ
| โ
|
| 4 | Last name | โ
| โ
|
| 5 | Date of birth | โ
| โ
|
| 6 | Country/region | โ
| โ
|
| 7 | Wallet address | โ (created automatically) | โ
(from connected wallet) |
| 8 | Referral code | Optional | Optional |
| 9 | Terms of Service | โ
| โ
|
| 10 | GDPR consent | โ
| โ
|
1.3 Email Verificationโ
OTP: 6 digits ยท Valid 15 minutes ยท Maximum 3 attempts
1.4 Two-Factor Authentication (2FA)โ
Supported methods: TOTP, SMS, backup codes
1.5 Social Loginโ
| # | Requirement |
|---|
| 1.5.1 | Providers: Google (OAuth 2.0), Apple ID (Sign in with Apple) |
| 1.5.2 | Available in APP only (not in WEB) |
| 1.5.3 | On first login โ automatic account creation + Web3 wallet |
| 1.5.4 | Additional request: date of birth and country |
1.6 Rate Limitingโ
Standard request rate limits for brute-force protection
Acceptance Criteria โ Registrationโ
2. Authorization and Session Managementโ
2.1 Login Methodsโ
| Method | Platform | Process |
|---|
| Email + password | APP + WEB | Standard form + 2FA |
| Social login | APP | Apple ID / Google โ auto-login |
| Web3 wallet | WEB | Wallet connection โ EIP-4361 signature โ auto-login |
2.2 Session Managementโ
- JWT: Access Token โ 15 minutes, Refresh Token โ 30 days
- Token rotation on refresh
- Automatic session compromise detection
2.3 Device Managementโ
List of authorized devices, remote session revocation
2.4 Biometric Login (APP)โ
Face ID / Touch ID / Fingerprint
3. Wallet and Paymentsโ
3.1 Dual Wallet Modelโ
| Type | Creation | Management |
|---|
| Auto-created (MPC) | On Email registration | Hidden from user; gasless transactions |
| External (connected) | On Web3 login | User manages independently |
| # | Requirement |
|---|
| 3.1.1 | Auto-created: MPC wallet (Fireblocks/Dfns), 2-of-3 key share scheme |
| 3.1.2 | External: WalletConnect v2, EIP-4361 verification |
| 3.1.3 | Maximum 3 external wallets per account |
| 3.1.4 | All operations gasless for auto-created (ERC-2771 + Relayer) |
| 3.1.5 | External wallet: user pays gas (or Wellex subsidizes) |
3.2 Card On-Ramp (Multi-provider, hidden from user)โ
โ Iron Rule 5: in UI and any public materials it is forbidden to mention on-ramp provider names. User sees only: "bank card", "local methods", "on-ramp". Providers are internal implementation.
| # | Requirement |
|---|
| 3.2.1 | Integration of multiple on-ramp providers via aggregator (Primary, Secondary, Tertiary) โ internal configuration, not displayed to user |
| 3.2.2 | Supported methods: bank cards (Visa/MC), Apple Pay, Google Pay, SEPA, PIX, local methods by region |
| 3.2.3 | Auto-routing: aggregator selects provider by best-rate in region automatically |
| 3.2.4 | KYC tiers: Tier 1 ($500/mo, minimal KYC), Tier 2 ($5K/mo, full KYC), Tier 3 ($5K+, EDD) |
| 3.2.5 | USDC credited to user's Safe{Wallet} automatically |
| 3.2.6 | Optional auto-deposit to WellexVault after on-ramp |
| 3.2.7 | Fallback between providers โ automatic, without user involvement |
| 3.2.8 | In UI: only "Top up with card" / "Local methods" โ no provider branding |
3.3 Multi-EVM Supportโ
| # | Requirement |
|---|
| 3.3.1 | Supported networks: ETH, Polygon, BSC, Arbitrum, Optimism, Base, Avalanche |
| 3.3.2 | Cross-chain bridge: LayerZero (primary), Across (secondary) |
| 3.3.3 | DEX swap: 1inch Fusion API (primary), 0x Swap API (fallback), ParaSwap (tertiary) |
| 3.3.4 | Single aggregated balance across all networks in UI |
3.4โ3.7โ
Recovery Flow, transaction history โ per standard specification
4. AI Yield Engine & WellexVaultโ
SSOT: 06_YIELD_PROTOCOL.md ยท 07_AI_SYSTEM.md
โ ๏ธ Target Yield (0โ20%/mo) โ not a guarantee. Actual yield depends on DeFi market conditions.
4.1 WellexVault โ Single Vault (ERC-4626)โ
| # | Requirement |
|---|
| 4.1.1 | Single vault WellexVault (ERC-4626 + UUPS Proxy) on each EVM network |
| 4.1.2 | No Risk Tranches (Conservative/Balanced/Aggressive) โ one vault for all |
| 4.1.3 | Lock-up by amount: $0โ999 โ 0d, $1Kโ9999 โ 30d, $10K+ โ 90d |
| 4.1.4 | 100% insurance coverage (single level, no tiers) |
| 4.1.5 | Supported assets: USDC / USDT |
| 4.1.6 | Multi-EVM: ETH, Polygon, BSC, Arbitrum, Optimism, Base, Avalanche |
| 4.1.7 | Minimum deposit: $100 |
| 4.1.8 | Auto-compound ($129 one-time activation) |
4.2 AI Yield Engine โ 800+ Strategiesโ
| # | Requirement |
|---|
| 4.2.1 | AI Yield Engine processes 800+ atomic strategies from 8 DeFi categories |
| 4.2.2 | ML optimization on 1M+ parametric combinations (gradient boosting + backtesting 36 mo) |
| 4.2.3 | Optimal portfolio recalculation every 15 minutes |
| 4.2.4 | Decision latency: < 500ms |
| 4.2.5 | Data sources: 50+ on-chain protocols + 12 off-chain signals |
| 4.2.6 | Built into each user's ERC-4337 Smart Wallet |
| 4.2.7 | Emergency exit: < 60 seconds |
4.3 8 DeFi Source Categoriesโ
| # | Category | Protocols (examples) | Allocation |
|---|
| 1 | DeFi Lending | Aave v3, Compound III, Morpho Blue | 30% |
| 2 | RWA / Real World Assets | Ondo USDY, Maple Finance, Superstate | 25% |
| 3 | Prediction Markets + Structured | Polymarket LP, Ribbon, Stryke | 25% |
| 4 | Arbitrage | Funding rate arb, CEX/DEX spread, cross-chain | 20% |
| 5 | AMM fees | Uniswap v3, Curve | dynamic |
| 6 | Liquidity incentives | CRV/CVX incentives, LM programs | dynamic |
| 7 | Rate / basis arbitrage | Funding/basis, cross-protocol spreads | dynamic |
| 8 | Structured strategies | Delta-neutral, protected LP, covered calls | dynamic |
Categories 1โ4 โ core allocation (100%). Categories 5โ8 โ dynamic overlays within tiers.
4.4 WVI Allocation Modifierโ
| WVI | Active Strategies | Allocation | Target Yield/mo |
|---|
| 0โ39 | 142 | 80% DeFi+RWA ยท 20% Arb | 0% |
| 40โ69 | 340 | 60% DeFi+RWA ยท 30% Arb ยท 10% Prediction | 2โ5% |
| 70โ89 | 581 | 40% DeFi+RWA ยท 30% Arb ยท 30% Prediction | 8โ12% |
| 90โ100 | 307 | 30% DeFi+RWA ยท 20% Arb ยท 50% Prediction | 16โ20% |
4.5 Smart Contract Architectureโ
| Contract | Standard | Purpose | Deployment |
|---|
WellexVault | ERC-4626 + UUPS Proxy | Single vault | Each EVM network |
StrategyManager | Ownable2Step | Allocation management, 6h timelock | Each EVM network |
YieldDistributor | Custom | Weekly distribution by WVI | Each EVM network |
WellnessOracle | Chainlink-style | WVI on-chain (monthly) | Each EVM network |
InsuranceFund | Custom | Insurance pool | Ethereum (primary) |
WithdrawalQueue | Custom | Queue for low liquidity | Each EVM network |
BridgeRouter | Custom | Cross-chain routing | Each EVM network |
4.6 Rate Limits (Bank Run Protection)โ
| Period | Max withdrawal (% TVL) |
|---|
| 1 hour | 5% |
| 24 hours | 15% |
| 7 days | 40% |
4.7 Insurance Fundโ
| Parameter | Value |
|---|
| Sources | 10% of yield payouts + early withdrawal penalties + 5% protocol revenue + seed $500K |
| Target size | 8โ12% of TVL |
| Placement | 60% Aave USDC, 30% Ondo USDY, 10% multisig |
| Covers | Smart contract exploit (100%), stablecoin depeg (80%), oracle manipulation (100%) |
Acceptance Criteria โ AI Yield Engineโ
5. Staking (WEB only)โ
Critical restriction: staking is fully excluded from APP. Available exclusively via the WEB platform.
5.1 APP: Display for Userโ
| # | Requirement |
|---|
| 5.1.1 | APP displays only Monthly Yield in percent (for users with staking) |
| 5.1.2 | APP displays "โ" (for users without staking) |
| 5.1.3 | On tap of "โ" โ "Learn more" popup โ deep link to WEB |
| 5.1.4 | Not in APP: $ amounts, balance, deposit/withdraw, yield calculator |
5.2 WEB: Full Staking Functionalityโ
WellexVault (single ERC-4626), Lock-up by amount ($0โ999 โ 0d, $1Kโ9999 โ 30d, $10K+ โ 90d), Auto-compound ($129) โ see: 06_YIELD_PROTOCOL.md and section 4 of this document.
5.3 Acceptance Criteria โ Stakingโ
6. MLM Network (WEB only)โ
Critical restriction: MLM structure is fully excluded from APP.
SSOT: 09_PARTNER_PROGRAM.md ยท 28_MLM_MARKETING_PLAN.md
6.1 Ranks v5.0 (10 ranks, canonical chain)โ
| # | Rank | Min. referrals | Min. PV | Depth levels |
|---|
| 1 | Explorer ๐งญ | 1 | $100 | 1 |
| 2 | Builder ๐ง | 3 | $500 | 2 |
| 3 | Achiever ๐
| 10 | $3,000 | 3 |
| 4 | Manager ๐ | 25 | $15,000 | 4 |
| 5 | Director ๐ | 50 | $50,000 | 5 |
| 6 | Leader ๐ก๏ธ | 100 | $200,000 | 6 |
| 7 | Ambassador ๐ | 200 | $500,000 | 7 |
| 8 | Master ๐๏ธ | 350 | $1,000,000 | 8 |
| 9 | Champion ๐ | 500 | $3,000,000 | 9 |
| 10 | Legend ๐ฑ | 1,000 | $10,000,000 | 10 |
6.2 MLM Module Requirementsโ
| # | Requirement |
|---|
| 6.2.1 | APP does not display MLM tree, partner bonuses, or referral link |
| 6.2.2 | All partner functions โ WEB only |
| 6.2.3 | WVI from APP affects WVI Performance Bonus in WEB (single integration point) |
| 6.2.4 | 8 income streams: Direct referrals, Team, Matching, Rank, WVI Performance, Leadership Pool, Fast Start Pool, Infinity Bonus (Champion+) |
| 6.2.5 | Depth: each rank unlocks next level (Explorer=1, Legend=10) |
| 6.2.6 | All payouts on-chain in USDC, delay < 5 minutes |
| 6.2.7 | Referral code generated automatically on registration |
6.3 Acceptance Criteria โ MLMโ
Remaining MLM mechanics โ 09_PARTNER_PROGRAM.md
7. Band and Health Data Pipelineโ
SSOT: 08_HARDWARE.md ยท 03_WELLNESS_SCORE.md
| # | Requirement |
|---|
| 7.1 | Wellex Band v1: PPG (HR/HRV/SpO2), ECG, accelerometer, gyroscope, thermometer, EDA |
| 7.2 | Connection via BLE 5.0+; sync every 15 minutes |
| 7.3 | Offline buffer: 48 hours without phone |
| 7.4 | OTA firmware updates |
| 7.5 | Data pipeline: Sensor โ BLE โ APP โ Wellex Oracle โ On-chain WVI |
| 7.6 | Anti-manipulation: ML anomaly detection, HRV fingerprint, circadian cross-validation |
| 7.7 | TEE Secure Element (Wellex Band v2, Q2 2027) |
| 7.8 | Calibration: 7 days; during calibration WVI = fixed 50, yield = 2%/mo |
| 7.9 | Grace Days: 3 days/mo (WVI = average of last 7 active days) |
| 7.10 | WVI Floor for stakers: minimum WVI = 25 (not 0) with active staking |
8. Subscriptionโ
| # | Requirement |
|---|
| 8.1 | Single plan: $19/mo โ no other plans, no annual price |
| 8.2 | Minimum period: 3 months |
| 8.3 | Payment: USDC / USDT / bank card / local methods (no provider branding) |
| 8.4 | Included: Wellex Band + WVI + Yield + AI Coach + Partner Program |
| 8.5 | Recurring billing, automatic |
| 8.6 | Grace Period on failed charge: 7 days |
| 8.7 | On cancellation: access until end of paid period, band remains with user |
| 8.8 | Auto-compound ($129 one-time) โ separate option, not part of subscription |
9. KYC/AMLโ
| # | Requirement |
|---|
| 9.1 | Provider: Sumsub SDK |
| 9.2 | KYC Tier 0: Email verified โ withdrawal limit $1,000/mo |
| 9.3 | KYC Tier 1: Passport/ID โ limit $10,000/mo |
| 9.4 | KYC Tier 2: Passport + Proof of Address โ no limit |
| 9.5 | AML: Chainalysis KYT (primary) + Elliptic (secondary) |
| 9.6 | Sanctions screening: OFAC SDN, EU, UN, HMT (daily sync) |
| 9.7 | Travel Rule: Notabene for TX > $1,000 |
| 9.8 | Fraud Detection: Isolation Forest ML (47 features) + rule-based engine |
| 9.9 | Fraud Score 0โ100; block threshold โฅ 70; auto-SAR at โฅ 85 |
10. Dashboard: APP vs WEBโ
APP โ Screensโ
| # | Screen | Content |
|---|
| 1 | ๐ Home | WVI (0โ100), Monthly Yield %, streak, AI recommendation, mini-chart |
| 2 | ๐ Metrics | 3 WVI components, charts, trends, AI insights |
| 3 | ๐ฅ Community | Groups, challenges, leaderboards, social feed, friends |
| 4 | ๐ค AI Assistant | AI Coach (video/audio/text), forecasts, reports |
| 5 | โ๏ธ Settings | Profile, band, subscription, "โ WEB version" button |
Not in APP: staking, wallet, MLM, finances, $ amounts.
WEB โ Modulesโ
| # | Module | Content |
|---|
| 1 | ๐ฐ Wallet | Balance, yield, deposit/withdraw, history |
| 2 | ๐ Staking | WellexVault (single), Monthly Yield in $, lock-up, calculator |
| 3 | ๐ Network | MLM tree, bonuses, ranks, promo materials |
| 4 | ๐ค AI Agents | Wallet Agent, Growth Agent, Analytics |
| 5 | ๐ Analytics | WVI + yield history, forecasts, export |
| 6 | ๐ฅ WVI Widget | Mini-WVI + link to APP |
| 7 | ๐ก๏ธ Admin | Admin panel (staff only) |
11. Security and Privacyโ
Encryption, GDPR, TEE, audits โ per standard specification
Functionality available exclusively in APP.
| # | Requirement |
|---|
| 12.1 | Wellness Groups: create, join, up to 500 members |
| 12.2 | Team Challenges: team competitions by WVI |
| 12.3 | 1v1 Duels: 7-day duels by WVI |
| 12.4 | Leaderboards: Global, Regional, Friends, Group |
| 12.5 | Social Feed: achievements, milestones, reactions |
| 12.6 | Discovery: AI group recommendations by interests and geolocation |
| 12.7 | Privacy: granular opt-in for each feature |
| 12.8 | Moderation: ML spam filter + manual moderation + "Report" button |
| 12.9 | Community unavailable in WEB |
13. Notificationsโ
APP Push / In-appโ
| # | Event | Push | In-app |
|---|
| 1 | WVI update | โ
| โ
|
| 2 | AI recommendation | โ
| โ
|
| 3 | Challenge update | โ
| โ
|
| 4 | Friend achievement | โ | โ
|
| 5 | Streak reminder | โ
| โ
|
| 6 | Monthly Yield change (for stakers) | โ
| โ
|
| 7 | Band charge | โ
| โ
|
| 8 | Security alert | โ
| โ
|
WEB Email / In-appโ
| # | Event | Email | In-app |
|---|
| 1 | Staking reward credited | โ | โ
|
| 2 | MLM bonus | โ | โ
|
| 3 | New referral | โ
| โ
|
| 4 | Rank upgrade | โ
| โ
|
| 5 | Subscription billing | โ
| โ
|
| 6 | Withdrawal processed | โ
| โ
|
14. Localization & Multi-Language Supportโ
Supported Languages (Launch + Roadmap)โ
| Language | Code | Region | Priority | Timeline |
|---|
| English | EN | Global (default) | ๐ด Launch | Day 1 |
| Russian | RU | CIS, MENA | ๐ด Launch | Day 1 |
| Spanish | ES | LATAM | ๐ด Launch | Day 1 |
| Portuguese | PT | Brazil, Portugal | ๐ด Launch | Day 1 |
| Indonesian | ID | SEA | ๐ก Month 2 | M2 |
| Arabic | AR | MENA | ๐ก Month 2 | M2 |
| Turkish | TR | Turkey, MENA | ๐ก Month 3 | M3 |
| Vietnamese | VI | SEA | ๐ข Phase 2 | Q3 2026 |
| Thai | TH | SEA | ๐ข Phase 2 | Q3 2026 |
| Uzbek | UZ | CIS | ๐ข Phase 2 | Q3 2026 |
Localization Architectureโ
โธ i18n framework: i18next (React/WEB) + React Native i18n (APP)
โธ Strings stored in JSON files by language: /locales/{lang}/translation.json
โธ Auto-detect language by IP + browser locale โ fallback EN
โธ User can switch manually (Settings โ Language)
โธ RTL support: Arabic โ automatic layout flip
โธ Numbers and currency: formatted by locale (Intl.NumberFormat)
โธ Dates: ISO 8601 on server โ local format on client
What Is Localizedโ
โธ Full UI (buttons, labels, error messages)
โธ Push notifications
โธ Email notifications (onboarding, yield alerts, community)
โธ AI Coach recommendations (GPT-4o with system prompt in target language)
โธ Partner Academy materials (5 languages: RU, EN, ES, PT, ID)
โธ Legal disclaimers (adapted to user jurisdiction)
What Is NOT Localized (remains EN)โ
โธ Blockchain hashes and technical identifiers
โธ Error codes (for support)
โธ Admin panel (EN only)
15. API Architectureโ
APP API Endpointsโ
| Group | Endpoints |
|---|
| Auth | POST /auth/register ยท POST /auth/login ยท POST /auth/refresh |
| Health | POST /health/sync ยท GET /health/metrics ยท GET /health/wvi ยท GET /health/emotions |
| Community | GET /community/groups ยท POST /community/groups ยท GET /community/challenges ยท POST /community/duels |
| Leaderboards | GET /leaderboards/{type} |
| AI | POST /ai/chat ยท GET /ai/recommendations |
| User | GET /users/me ยท PATCH /users/me |
| Notifications | GET /notifications ยท PATCH /notifications/settings |
WEB API Endpointsโ
| Group | Endpoints |
|---|
| Auth | POST /auth/wallet-connect ยท POST /auth/wallet-verify |
| Wallet | GET /wallet ยท GET /wallet/transactions ยท POST /wallet/withdraw |
| Staking | POST /staking/stake ยท POST /staking/unstake ยท GET /staking/positions ยท GET /staking/rewards |
| MLM | GET /network/tree ยท GET /network/stats ยท GET /network/bonuses |
| Subscription | POST /subscription/create ยท DELETE /subscription/cancel |
| KYC | POST /kyc/start ยท GET /kyc/status |
Shared Endpointsโ
| Group | Endpoints |
|---|
| WVI | GET /wvi/current ยท GET /wvi/history ยท GET /wvi/monthly-rate |
| Export | GET /export/csv?from=&to= ยท GET /export/pdf?from=&to= ยท GET /export/json |
16. Webhooks & Developer APIโ
16.1 Webhooks โ Real-Time Eventsโ
Wellex sends webhook notifications to partner URL on key events:
| Event | Payload | When |
|---|
yield.credited | amount, wvi, rate, tx_hash, timestamp | On yield credit |
deposit.confirmed | amount, network, tx_hash, lock_until | After deposit confirmation |
withdrawal.completed | amount, network, tx_hash, timestamp | After withdrawal |
partner.referred | partner_id, rank, timestamp | New partner in structure |
partner.rank_upgrade | partner_id, old_rank, new_rank | Partner rank upgrade |
partner.inactive | partner_id, days_inactive | Partner inactive >14 days |
wvi.threshold | old_wvi, new_wvi, new_rate | WVI threshold crossed |
bracelet.disconnected | device_id, last_sync | Band not synced >24h |
16.2 Webhook Securityโ
โธ Each event signed: X-Wellex-Signature: HMAC-SHA256(secret, payload)
โธ Retry logic: 3 attempts with exponential backoff (1m, 5m, 30m)
โธ Timeout: 10 seconds for response
โธ Expected response: HTTP 200. Otherwise โ retry.
โธ Webhook logs: 30 days history in WEB Dashboard โ Settings โ Webhooks
16.3 Webhook Registrationโ
POST /webhooks
{
"url": "https://your-app.com/wellex-hook",
"events": ["yield.credited", "partner.rank_upgrade"],
"secret": "your_signing_secret"
}
16.4 Developer API โ Public Endpointsโ
For B2B integrations (corporate wellness, partner platforms):
| Endpoint | Method | Purpose | Auth |
|---|
/v1/wvi/{user_id} | GET | User's current WVI | API Key |
/v1/yield/rate?wvi=72 | GET | Yield rate for WVI | API Key |
/v1/partner/tree/{partner_id} | GET | Structure tree (3 levels) | API Key + OAuth |
/v1/partner/stats/{partner_id} | GET | Partner stats | API Key + OAuth |
/v1/health/check | GET | Platform status | Public |
16.5 API Authenticationโ
Authorization: Bearer {api_key}
X-Wellex-Version: 2026-03-01
Content-Type: application/json
API Keys created in WEB Dashboard โ Settings โ Developer โ API Keys.
Rate limit: 1000 req/min per API Key. Exceeded โ HTTP 429.
16.6 SDKโ
| Platform | Package | Status |
|---|
| JavaScript / Node.js | npm install @wellex/sdk | Launch |
| Python | pip install wellex-sdk | Launch |
| iOS (Swift) | Swift Package Manager | Launch |
| Android (Kotlin) | Gradle dependency | Launch |
| React Native | npm install @wellex/react-native | Month 2 |
Documentation: developers.wellex.ai (internal, opens after launch)
Appendix: Tech Stackโ
| Layer | Technology |
|---|
| Mobile (APP) | SwiftUI (iOS) + Kotlin / Jetpack Compose (Android) |
| Web (WEB) | React 18 + TypeScript + Vite |
| Backend | FastAPI (Python 3.12) |
| Database | PostgreSQL + Redis + TimescaleDB |
| Blockchain | Multi-EVM (ETH, Polygon, BSC, Arbitrum, Optimism, Base, Avalanche), Solidity 0.8.x, ERC-4626, ERC-4337 |
| Wallet | Fireblocks / Dfns (MPC) + WalletConnect v2 |
| Auth | JWT + OAuth 2.0 + EIP-4361 (SIWE) |
| KYC | Sumsub SDK |
| Push | FCM + APNs |
| Email | SendGrid |
| Monitoring | Grafana + Prometheus + Sentry |
| CI/CD | GitHub Actions + Docker + Kubernetes |
ยฉ 2026 Wellex. Confidential.
v6.0 โ Claim & Reinvest Requirementsโ
Updated to v6.0 per Alexander directives 12.03.2026
Claim (MVP โ required)โ
- Claim available from Day 1 of yield accrual
- 2 free claims/month, from 3rd โ 10% fee
- API:
POST /api/v1/yield/claim โ { amount, fee_applied, net_amount }
- Claim counter:
GET /api/v1/yield/claim-count โ { month, used, free_remaining }
Reinvestโ
- Min $100, max 1x/month
- API:
POST /api/v1/yield/reinvest โ { amount, status, next_available_date }
- Qualifying action: triggers bonus calculation
Grace Periodโ
- 14 days after band connection: floor 4%/month
- API:
GET /api/v1/yield/grace-status โ { active, days_remaining, floor_rate }