tangle-network / tangle

The Layer 1 blockchain for on-demand services.
https://www.tangle.tools/
GNU General Public License v3.0
51 stars 25 forks source link

[SPEC] Tangle Marketplace Mechanism Spec Discussion #737

Open drewstone opened 3 months ago

drewstone commented 3 months ago

Tangle Marketplace Mechanism Technical Specification

1. Overview

The Tangle Marketplace is a decentralized platform for cloud services, connecting developers, operators, and users. It facilitates price discovery and service matching through a hybrid model combining aspects of reverse auctions and order book systems.

2. Key Components

2.1 Blueprint Registry

2.2 Operator Registry

2.3 Price Advertisement System

2.4 User Request System

2.5 Dynamic Order Book

3. Pricing Mechanism

3.1 Base Price Calculation

3.2 Reverse Auction Component

3.3 Order Book Integration

3.4 Dynamic Pricing Adjustments

4. Matching Algorithm

  1. When a new user request is submitted: a. Check for immediate match with operator advertisements b. If match found, execute service provision c. If no match, initiate reverse auction
  2. Reverse auction process: a. Broadcast request to eligible operators b. Collect bids for a set time period (e.g., 100 blocks) c. If winning bid found, execute service provision d. If no winning bid, add request to order book
  3. Continuous order book matching: a. Attempt to match new operator advertisements with existing requests b. Attempt to match updated operator prices with existing requests

5. Incentive Mechanisms

5.1 Operator Incentives

5.2 User Incentives

6. Market Stability Measures

6.1 Price Volatility Controls

6.2 Sybil Resistance

7. Data Collection and Analysis

8. Governance and Upgrades

monaiuu commented 3 months ago

Preliminary Questions:

  1. Does the auction mechanism result in a single operator or multiple operators winning for each bid?
  2. How does automatic vs. manual approval and max. # instance configurations set by operators impact the selection process and auction mechanism?
  3. Confirming user first go through the initial operator selection process, allowing the user to choose preferred operators based on factors like liquidity, assets, success rates, and geographical location, to select the operators to compete in bidding.
  4. Does the system requires pre-funding/escrow to ensure users have sufficient funds to cover their target budgets, determined by TTL and various configurations? How does the system ensure Operators are protected/ compensated in case of insufficient funding and prevent service disruption?