Skip to content
This repository was archived by the owner on Jul 1, 2021. It is now read-only.
This repository was archived by the owner on Jul 1, 2021. It is now read-only.

NFT 整个交易过程的全新设计和实现 #2

@wangshijun

Description

@wangshijun

目前的成交过程不够原子化,实际上利用 Forge 和钱包现有的能力,完全可以做的更好:

  • 挂单的时候使用授权 setup-swap:not tested
  • 成交的时候时候使用 atomic-swap,不论用户在 marketplace 上有没有钱,都可以顺利,并且交易要么成功,要么失败,避免了人工锁定的问题,锁定时间需要合理设定

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions