Giter Club home page Giter Club logo

Comments (11)

Keith-CY avatar Keith-CY commented on July 25, 2024 2

Design draft has been updated at Magickbase/visual-style-guide#33
please have a review @Sven-TBD @PainterPuppets @Daryl-L @yanguoyu

from kuai.

Keith-CY avatar Keith-CY commented on July 25, 2024

Server

Platform

  • Railway

Services

  • Redis
    • used as message queue
    • for cache
  • PG
    • save minted token list
    • save token distribution
  • Testnet node(community)

APIs

  • get token list: get all token minted by the service
  • get token metadata: get metadata of a specific token
  • get token distribution: get distribution of a specific token
  • get assets list: get all token held by a specific address
  • get minted token: get minted token of a specific address
  • mint token: construct a transaction to mint a token
  • update token info: submit metadata of a token to ckb explorer
  • transfer token: send X amount token to a specific address
  • transfer history: transfer list of a specific address

[appended]

  • get network type: get the network type the service is connected to
  • get balance: get balance of a set of addresses

from kuai.

Keith-CY avatar Keith-CY commented on July 25, 2024

Frontend

Platform

  • vercel
  • railway

Pages

  • Connect to wallet
  • Overview
    • Disconnect button: with wallet
    • CKB Balance: from CKB Explorer
    • Address
    • Network type
      • Mainnet(disabled)
      • Testnet
    • Menu
      • Send
      • Receive
      • Create/Manage
    • Tabs
      • Assets
        • List of token: from demo service, to fetch tokens held by a specific address
          • Token name
          • Balance
      • Tokens
        • List of token: from demo service, to fetch tokens minted by the service
          • Token name
          • Menu
            • View
            • Modify
            • Mint
        • Auto-detect switch: turn on to fetch token metadata from CKB Explorer
      • History
        • List of transfer: from demo service, to fetch transfers of a specific address
          • Tx hash
          • Tx status
          • From address
          • Changed token amount
          • Changed CKB
    • Claim testnet token
  • Token detail
    • Metadata: from CKB Explorer
      • Symbol
      • Name
      • Amount
      • Decimal
      • Description
      • Website
      • Icon
    • Distribution?
  • Token management
    • Similar to the metadata of token detail
  • Token mint
    • Token metadata
    • Mint amount
    • Recipient
  • Send page
    • Token Selector: from demo service, to fetch tokens held by a specific address
    • Amount
    • Recipient
  • Receive page
    • QR Code

from kuai.

Keith-CY avatar Keith-CY commented on July 25, 2024

I've done a technical breakdown roughly, please have a review and add more details if possible. @Daryl-L @PainterPuppets @yanguoyu

And we may need support from designer cc @Sven-TBD

from kuai.

yanguoyu avatar yanguoyu commented on July 25, 2024

Server

Add a api to get network type.

Frontend

CKB Balance: from CKB Explorer

Does this means the CKB Balance will get from explorer API, but not from get assets list or demo's server?

from kuai.

Keith-CY avatar Keith-CY commented on July 25, 2024

Server

Add a api to get network type.

A api to get network type can be added for api users/frontend developers to check if their projects are connected to the correct service. I'll append it to the list

Frontend

CKB Balance: from CKB Explorer

Does this means the CKB Balance will get from explorer API, but not from get assets list or demo's server?

I thought it could be fetched from the CKB Explorer, but after a double thought I found it's infeasible because the CKB Explorer doesn't support getting balance of a set of addresses. So a batch of requests will be made. We may have to add an API for getting the balance

from kuai.

Keith-CY avatar Keith-CY commented on July 25, 2024

I've done a technical breakdown roughly, please have a review and add more details if possible. @Daryl-L @PainterPuppets @yanguoyu

And we may need support from designer cc @Sven-TBD

We will push the work if no more feedback to the technical breakdown

And how is the design going @Sven-TBD

from kuai.

Sven-TBD avatar Sven-TBD commented on July 25, 2024

api to get network type can be added for api users/frontend developers to check if their projects are connected to the correct service. I'll append it to the list

The UI design will be done this week. Last week I did some adjustment to prototype to make Kuai support WalletConnect and multiple addresses within the History function and so on. The PRD link is here , should we include this to the UI as well , or discuss it on next meeting first? @Keith-CY

from kuai.

Keith-CY avatar Keith-CY commented on July 25, 2024

api to get network type can be added for api users/frontend developers to check if their projects are connected to the correct service. I'll append it to the list

The UI design will be done this week. Last week I did some adjustment to prototype to make Kuai support WalletConnect and multiple addresses within the History function and so on. The PRD link is here , should we include this to the UI as well , or discuss it on next meeting first? @Keith-CY

I have a question about the account id

image

So we can have a talk on the next meeting

from kuai.

Daryl-L avatar Daryl-L commented on July 25, 2024

image
What are the differences between Asset and Token, I could still not get it after thinking for a while.

from kuai.

Keith-CY avatar Keith-CY commented on July 25, 2024

image What are the differences between Asset and Token, I could still not get it after thinking for a while.

Assets is what I own.
Tokens is the list of tokens issued by this service.

from kuai.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.