polymerdevs / Quest-Into-The-Polyverse-Phase-1

All information related to phase 1 of the polymer incentivized testnet (PIT)
82 stars 74 forks source link

ERC404 based cross-chain NFT DEX game #7

Open dpbpolymer opened 4 months ago

dpbpolymer commented 4 months ago

Experimental idea: Implement ERC404 and build a cross-chain NFT minting game:

  1. 10,000 ERC-20 tokens & same number of associated “Replicant” NFTs.
  2. If someone buys one full token on a DEX on Optimism testnet, one replicant NFT will be minted on Base.
  3. If the token is sold, the connected NFT must be burned.

Gamification: Users initiate a sell from Base with a defined slippage (lower slippage means more points) and users on the Optimism DEX earn points for throwing off price to fail trades due to slippage (higher slippage failed tx means more points).

Note: Having fun with Acknowledgements by building complex onRecvPacket and onAcknowledgment behaviors.

Atunde-SS commented 3 months ago

Potential Challenges:

  1. Volatile Pricing: The gamification aspect that rewards users for throwing off prices on the DEX could lead to extreme volatility and manipulation, making it difficult to maintain a stable market for the ERC-20 tokens and associated NFTs.

  2. Liquidity Challenges: If users are incentivized to fail trades due to slippage, it might discourage genuine buyers and sellers, leading to liquidity issues on the DEX.

  3. Complexity of IBC Interactions: Managing the intricate details of IBC packet lifecycle, including handling acknowledgments and potential timeouts, can be complex, especially when dealing with cross-chain NFT minting and burning mechanisms.

  4. User Experience Challenges: The combination of multiple blockchain networks, DEXs, NFTs, and gamification elements could create a steep learning curve for users, potentially deterring widespread adoption.

Potential Solutions:

  1. Controlled Volatility: Instead of rewarding users for throwing off prices, consider implementing a controlled volatility mechanism. For example, you could introduce a dynamic slippage tolerance that adjusts based on market conditions, ensuring a balance between price stability and trade execution.

  2. Liquidity Incentives: Offer incentives for genuine buyers and sellers to participate in the market, such as trading fee discounts or airdrops, to maintain healthy liquidity levels.

  3. Simplified IBC Interactions: Abstract away the complexities of IBC packet lifecycle by implementing robust error handling and fallback mechanisms. For example, if an NFT minting fails on the destination chain, automatically refund the tokens on the source chain to ensure a seamless user experience.

  4. Gamified Education: Introduce gamified educational elements to onboard users gradually, helping them understand the underlying concepts and mechanics of the system in an engaging and interactive manner.