> For the complete documentation index, see [llms.txt](https://baca.endhonesa.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://baca.endhonesa.com/all-notas-markdowns/archived-oioi/2025/07/iblooming-web3-draft.md).

# IBLOOMING WEB3 DRAFT

We don't belong in your reality, your real life. In your reality, your real life, you can merely meet our avatars in any version. So, stay alert and beware of scams!

## 🧩 Overview

This document outlines two foundational elements for the iBLOOMING Web3 transition:

1. **Unified Web3 Login System** using ThirdWeb SDK
2. **Alpha Coin** as a loyalty-driven simulation token

These systems are designed for internal testing and user behavior analysis, paving the way toward a public token launch with real economic and governance utility.

***

## 1. Web3 Login System (Unified Wallet Identity)

### 🎯 Objective

To integrate a seamless Web3 login system across all iBLOOMING applications, enabling each user to:

* Automatically generate and own an in-app wallet
* Use a consistent **smart account wallet** across platforms (web/mobile)
* Benefit from on-chain features without crypto knowledge

***

### 🔧 Technical Components

| Component            | Technology                         | Description                             |
| -------------------- | ---------------------------------- | --------------------------------------- |
| In-App Wallet        | ThirdWeb Embedded/Smart Wallet SDK | Automatically created upon login        |
| Smart Account Wallet | ThirdWeb Smart Wallet SDK          | Contract-based wallet (ERC-4337)        |
| Login Bridge         | Middleware (e.g., Node.js/Next.js) | Connects Web2 auth with wallet creation |
| Session Sync         | JWT / App Metadata                 | Keeps session identity synced           |
| Wallet Registry      | Database or Smart Contract         | Maps user ID to wallet address          |

***

### 🔄 Login Flow

```plaintext
[1] User logs in via existing iBLOOMING account (email/password)
     ↓
[2] System checks if user has wallet (in-app + smart account)
     ↓
    [Yes] → Load wallet address → Sync with session
    [No] → Auto-create wallet → Save wallet info → Proceed with login
     ↓
[3] When user logs into another app (e.g., mobile), system recognizes same user → assigns same wallet
```

***

### ✅ Key Principles

* **Single Wallet Identity** across all platforms
* **Zero Friction Onboarding** — wallets are created behind the scenes
* **Modular** — applicable to any iBLOOMING app without refactoring frontend logic
* **Private** — wallet data is stored securely and linked to internal user ID

***

## 2. Alpha Coin — Loyalty Simulation & Distribution Logic

### 🎯 Purpose

To simulate token-based rewards, saving patterns, and spending behaviors within a controlled loyalty program — before launching a public crypto token.

***

### 🏷 Temporary Name: `ALPHA COIN`

***

### ⚙️ Token Attributes

| Attribute       | Value                            |
| --------------- | -------------------------------- |
| Token Type      | ERC-20 (non-tradable at first)   |
| Initial Use     | Loyalty + engagement reward      |
| Tradability     | Disabled during simulation phase |
| Transferability | Disabled (mint + burn only)      |
| Smart Wallet    | Required for claiming & holding  |

***

### 📊 Proposed Distribution Logic

| User Action                                  | Reward (Alpha Coins) |
| -------------------------------------------- | -------------------- |
| Finish 1 educational video                   | 5 AC                 |
| Purchase single video (pay-per-view)         | 10 AC                |
| Subscribe to a creator’s channel (monthly)   | 25 AC                |
| Login daily for 7 days straight              | 20 AC                |
| Complete AI profiling (PROFILE.IBLOOMING.AI) | 50 AC                |
| Refer new user who studies for 3+ days       | 75 AC                |

***

### 💰 Saving vs Spending Simulation

| User Type        | Save Ratio | Spend Ratio | Behavior Notes                     |
| ---------------- | ---------- | ----------- | ---------------------------------- |
| Regular Learner  | 20%        | 80%         | Uses coins to unlock more content  |
| Active Affiliate | 40%        | 60%         | Uses coins for team reward bonuses |
| Content Creator  | 60%        | 40%         | Saves for governance/reinvestment  |

These simulations should be tracked via internal dashboard or analytics module.

***

### 🪜 Coin Rollout Phases

| Phase                               | Description                                                 |
| ----------------------------------- | ----------------------------------------------------------- |
| Phase 1: Alpha Coin (Internal Only) | Closed-loop simulation inside iBLOOMING apps                |
| Phase 2: Feedback & Data Analysis   | Evaluate distribution ratio, saving vs. spending behavior   |
| Phase 3: iBLOOMING COIN (Public)    | Tradable token, usable in partner apps, supports governance |

***

## 3. iBLOOMING Coin — Learn-to-Earn + Bitcoin-Linked Design

### 🎯 Dual Utility Model

In response to feedback from the Founders, iBLOOMING Coin will adopt a **dual-track design** to serve two user bases simultaneously:

1. **Learn-to-Earn**\
   Reward-based coin earned through educational participation (Phase 1–2).
2. **Bitcoin-Linked Coin**\
   A representation of Bitcoin ownership inside the iBLOOMING ecosystem, backed by treasury reserves (Phase 3+).

***

### ⚖️ Bitcoin-Linked Design Overview

| Feature                   | Description                                                          |
| ------------------------- | -------------------------------------------------------------------- |
| Treasury Mechanism        | iBLOOMING holds Bitcoin reserves (on-chain or off-chain)             |
| Token Minting             | Users receive iBLOOMING Coin as proof of BTC-backed value            |
| Entry Point for Beginners | Non-crypto users can "buy Bitcoin" via fiat → receive iBLOOMING Coin |
| DeFi Inspiration          | Similar to liquidity staking or wrapped BTC logic                    |
| Transparency              | Optional proof-of-reserve module for public trust                    |

***

### 📱 User Journey Example

```plaintext
[1] User chooses to buy "Bitcoin" via iBLOOMING App (e.g., IDR 100,000)
     ↓
[2] App converts fiat → treasury BTC (custodial or via OTC)
     ↓
[3] User receives iBLOOMING Coin representing BTC value
     ↓
[4] Coin can be used to:
    - Access educational content
    - Participate in affiliate programs
    - Hold or later redeem for BTC (if redemption supported)
```

### 🌍 Target User Groups

| User Type           | Motivation                                         |
| ------------------- | -------------------------------------------------- |
| Non-Crypto Learners | Easy Bitcoin access, educational incentives        |
| Crypto-Native Users | Store BTC exposure + platform utility              |
| Affiliators (BLOO)  | Use coin for access + earn revenue share           |
| International Users | Stable entry point into iBLOOMING’s Web3 ecosystem |

### 🔒 Key Considerations

* Ensure regulatory compliance in BTC conversion and coin issuance.
* Evaluate whether the BTC-backed coin is custodial or non-custodial.
* Consider optional KYC flows for fiat/BTC integration.
* Prepare for Phase 2 token design that includes Bitcoin-pairing logic with real-time visibility and redemption path.

> This structure will be discussed in full during the meeting on July 10–11. Implementation may be phased depending on legal, technical, and treasury readiness.

## 🌱 Vision Alignment

This system supports iBLOOMING’s transition into a **Web3-native learning ecosystem** with:

* Trustless user incentives
* Distributed economic models
* Governance-by-participation
* Seamless onboarding for non-crypto users

Prof. NOTA’s role is to lead, simulate, and refine both the architecture and token logic before scale-up.

***

P.S. Read this document freely for information and guidance. Do not redistribute or restate—no quotes, summaries, paraphrases, or derivatives—without prior written permission from [**Prof. NOTA**](https://nota.endhonesa.com/). Sharing the link is allowed. So, share the link, not the text. Do not discuss or re-tell the contents in any form—written, spoken, or recorded—without prior written permission.

***
