blockchain_game.md 435 B


title: "Blockchain_game" date: 2023-11-17T16:43:19+07:00

draft: true

Design

Contract + HTTP server

  • Contract 提供链上数据
  • HTTP 提供前端资源和 WS 接口

基本架构

  • Contract-1: ERC-20 coin, 用于游戏中代币
  • Contract-2: NFT, 游戏中使用
  • Contract-3: 游戏逻辑上链(optional)
  • HTTP: 提供前端资源下载
  • WS: 游戏中推送

Pushment

Randomize Seed

Cross Chain