Skip to content

dex ui #2

@techland

Description

@techland

Features

    • Able to connect a wallet using pw-core, which would interact with the metamask extension.
    • Able to create an order, package it as a transaction, then use pw-core to sign and send the transaction.
    • Able to cancel an order.
    • Able to show pending orders under the connected wallet.
    • Able to show all pending for a trade pair.
    • Able to show all completed trades for a trade pair.

UI mockup

Screen Shot 2020-10-09 at 4 01 37 PM

Note that for now we can use ckb-indexer for the front end to query and derive for the necessary data point for the 4 / 5 / 6. Later on, as the volume grows, we might need a backend to preprocess these data points and cache them for the DEX front ends.

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