# Technical Architecture

#### Layered Stack Overview

1. Data & AI Layer
   * Generative Models: Focused on creating realistic digital humans, music, digital art, and textual content.
   * Analytical Models: ML frameworks for portfolio optimization, credit risk scoring, and real-time predictive analytics.
2. Blockchain Layer
   * Smart Contracts: Manages fractional ownership, loyalty rewards, content licensing, and dynamic revenue distribution.
   * Tokenization Engine: Structures RWA, NFT, and fungible token issuance with built-in compliance rules.
   * DeFi Modules: Lending, staking, swapping (AMM), liquid staking derivatives (LSD), re-staking protocols.
3. Ecosystem Interface
   * User Portal & Marketplace: Single-stop platform for discovery, trading, and engagement with AI-driven content.
   * Wallet Integration: Flexible wallet architecture supporting both custodial and non-custodial solutions, with fiat on-ramps for mass adoption.
   * Cross-Platform SDKs: APIs enabling third-party developers to create or integrate additional services (e.g., NFT ticketing, gaming dApps, or AI-based chat experiences).

#### AI-Enhanced Asset Flows

1. Asset Creation:
   * Entertainment or real-estate partners mint tokens on WECO’s platform.
   * AI checks metadata (images, descriptions, license documentation) for validity and compliance.
2. Engagement & Trading:
   * AI agents analyze social media, fan sentiment, and market data, recommending featured NFTs or assets to users.
   * Fans acquire fractions of tokens, validated by on-chain smart contracts.
3. Ecosystem Utility:
   * AI orchestrates community-driven events, content drops, staking rewards, and yield rebalancing.
   * Transparent on-chain data ensures real-time monitoring of revenues, royalties, and asset valuations.

#### System Architecture

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdHqAQ047J-UpX6yC0eCwgoAweDQ3AC2xyULsqOjRUmJ2qfqIwqmEXTXMjk2qbUN0CkrScjh1GTvllREKTPBZ5lZq1a_avsSWLrEjgr-w_HT_aOEwsoGwTzl0Yjy0K2a4uWUTwCXA?key=tkJqWyKzhtJN_hU7WGn7DUUn" alt=""><figcaption></figcaption></figure>

* Legal Title Deed for the Target RWA: Legal documentation outlining ownership, shares, and dividend provisions.
* Smart Contract Based on the Executed Title Deed: Smart contracts created based on the terms of the legal title deed.
* SPL Token Issued According to the WECO Whitepaper (WECO): Tokens following the SPL standard issued as per the WECO whitepaper.
* NFT Issued by the Smart Contract Based on the Title Deed's Contents: NFTs generated by the smart contracts derived from the title deed's provisions.
* Original Link to the Legal Title Deed Certifying the NFT (or a Certified Copy): A link to the original or a certified copy of the legal title deed that certifies the NFT.
* Transaction Processing via Solana chain: Utilization of an Solana Chain for transactions to alleviate existing payment load and facilitate other cryptocurrency trades.
* RWA NFT Transactions and Asset Status Check via Dedicated Wallet: Conduct transactions and check the status of held assets through a dedicated wallet.

#### Security & Scalability

* Description: Utilizing AWS, Message Queue, WebSocket, and Redis, the system operates as a multi-process on a cloud platform, allowing for scalability as needed for performance. Performance is enhanced using asynchronous methods and message queues. Additionally, with the use of IPFS, Client-js, and Dapp technologies, user information is encrypted and stored, with access restricted to registered devices.
* Required System:
  * MariaDB: Stores customer information, log information, and user transaction/order information.
  * Redis: Acts as an auxiliary storage device, storing information in memory for fast processing speeds.
  * RabbitMQ: A message system.
* Skills
  * Spring Boot
  * Redis
  * RabbitMQ
  * MySQL
  * JPA
  * WebSocket
  * jQuery
  * Bootstrap
  * IPFS
  * Client-js
* Module: Third Party - Token API Execution Sequence
  * Token Contract Deploy: Deploy Token on Ethereum node.
  * Create Serialized Transaction: Sign Raw Transaction based on Private Key.
  * Send Serialized Transaction: Transmit Serialized Transaction.
  * Token Mint: Issue Token in bulk without quantity limitation.

#### Blockchain Wallet

* Blockchain-Based Cryptocurrency and Digital Content Asset Wallet
  * The wallet is designed to differentiate between traditional digital assets (such as cryptocurrencies) and digital content assets. It allows for the storage and transfer of digital assets, similar to existing wallets, and enables the storage and transfer of game items based on smart contracts. The wallet is also integrated with an exchange and marketplace for seamless use.
* Blockchain-Based Digital Content Marketplace: This service allows sellers and buyers to list their products directly and trade within the platform, similar to an open market.
  * Platform Setup: Launch a web service based on ASP.Net using jQuery and Bootstrap, with Microsoft SQL Server Database for storing user and product information.
  * Queueing System: Implement RabbitMQ or MSMQ to prevent logic leaks in processing members' sales/purchases.
  * In-Memory Database: Store frequently accessed blockchain information in an in-memory database like Redis to facilitate easy retrieval of user information.
* Marketplace for Fungible Token-Based Smart Contracts (FT) / Non-Fungible Token-Based Smart Contracts (NFT): Allow sellers to register and deliver ERC-721, ERC-1155, or other Non-Fungible smart contracts on the platform, ensuring automatic transfer to buyers upon purchase.
  * Core Technology: Use a Plasma-based blockchain for charging and payments within the platform.
  * Sales Methods: Differentiate digital content by game cards, mobile top-ups, and gift cards. Set items from the wallet as saleable products.
  * Provided Information: List game name, product name, seller, price, quantity, transaction price history, and transaction details (wallet transfers).
  * Purchase Method: Buy directly via a purchase button on the item using accumulated points.
  * Transaction Method: Upon transaction completion, transfer the product and payment points to the wallet linked to the member ID.

#### Item Smart Contract Issuance

* API for Smart Contract Creation/Issuance
  * Utilize the Solana Chain, to support the creation of smart contracts for items/content for different businesses/developers.
  * Connected to Solana, it records block summary values on the Main Chain to ensure essential records are transparently recorded, stored, and disclosed.
  * Provide a Solana-based smart contract creation solution to enable the creation of smart contracts within our platform.
  * Implement a queueing system like RabbitMQ or MSMQ to efficiently process API logic.
* Smart Contract Creation and Integration
  * Before creating a smart contract, upload relevant information, images, and documents related to smart contracts, game items, and digital content (game money, vouchers, prepaid telecom cards, etc.). Support the creation of smart contracts upon entering and submitting parameter values.
  * Game items and digital content are developed by developers using the API provided by our company.
  * Ensure that items/content can be used uniformly across both our platform and the developer's platforms and services.

#### Security & Scalability

* Performance: Implement layer-2 rollups (e.g., Optimistic Rollups or ZK-Rollups) to reduce congestion and fees.
* Audit & Testing: Adopt continuous integration (CI/CD) and robust QA methodologies. Regular audits completed by top-tier security firms, Slowmist.
* Smart Contract Upgradability: Where possible and necessary, use proxy patterns or governance-limited upgrade features to adapt quickly to market or regulatory demands.
* Privacy Solutions: Zero-knowledge proofs (ZKPs) for confidential data (e.g., confidential user data or intellectual property details) while maintaining trustlessness.
