Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RGB++ Transaction List #597

Closed
3 tasks
Sven-TBD opened this issue Apr 1, 2024 · 14 comments
Closed
3 tasks

RGB++ Transaction List #597

Sven-TBD opened this issue Apr 1, 2024 · 14 comments
Assignees
Labels

Comments

@Sven-TBD
Copy link
Contributor

Sven-TBD commented Apr 1, 2024

Users could check the RGB++ transaction list on CKB explorer.
He/she can view the chart of New address and Transaction of RGB++ on it everyday

@Sven-TBD
Copy link
Contributor Author

Sven-TBD commented Apr 3, 2024

Estimated Time for Joint debugging

  • Backend Apr 08 Api
  • Front-end Apr 08 Api

@Keith-CY
Copy link
Member

Keith-CY commented Apr 7, 2024

Estimated Time for Joint debugging

  • Backend Apr 08 Api
  • Front-end Apr 08 Api

Is it OK to start on Apr 08

@Daryl-L
Copy link

Daryl-L commented Apr 7, 2024

Estimated Time for Joint debugging

  • Backend Apr 08 Api
  • Front-end Apr 08 Api

Is it OK to start on Apr 08

I think will be OK.
By the way, could we use the same list styles for mobile used in the address page before?
https://explorer.nervos.org/address/ckb1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsq22xdj8q4jdql98qkdhnqzgrsk4nqyavdcratvu9

@Keith-CY
Copy link
Member

Keith-CY commented Apr 7, 2024

Estimated Time for Joint debugging

  • Backend Apr 08 Api
  • Front-end Apr 08 Api

Is it OK to start on Apr 08

I think will be OK. By the way, could we use the same list styles for mobile used in the address page before? explorer.nervos.org/address/ckb1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsq22xdj8q4jdql98qkdhnqzgrsk4nqyavdcratvu9

It's fine if this feature can be delivered on time.

@rabbitz
Copy link

rabbitz commented Apr 8, 2024

nervosnetwork/ckb-explorer#1754

bitcoin statistics

  • GET /api/v2/bitcoin_statistics
{
   "data": [
       ...
       {
           "id": 786,
           "timestamp": 1712449800, # UTC timestamp
           "transactions_count": 0,
           "addresses_count": 0
       },
       {
           "id": 787,
           "timestamp": 1712451600,
           "transactions_count": 0,
           "addresses_count": 0
       },
       {
           "id": 788,
           "timestamp": 1712453400,
           "transactions_count": 0,
           "addresses_count": 0
       },
       {
           "id": 789,
           "timestamp": 1712455200,
           "transactions_count": 0,
           "addresses_count": 0
       },
       {
           "id": 790,
           "timestamp": 1712457000,
           "transactions_count": 2,
           "addresses_count": 1
       },
       ...
   ]
}

rgb transaction

  • GET /api/v2/rgb_transactions
{
  "data": {
    "ckb_transactions": [
      {
        "id": 59092903,
        "tx_hash": "0xb4aeecc36b622f0d1945d6b9cc34833759349526038f0dadca1250d383fdda5a",
        "block_id": 12789172,
        "block_number": 12750536,
        "block_timestamp": 1711707115623,
        "leap_direction": "in",
        "rgb_cell_changes": -2,
        "rgb_txid": "0f54c6ed3b644515bae3f50825d1d5168f5e3a842988c972c3c5ed635aeaf486"
      }...
    ]
  },
  "meta": {
    "total": 33,
    "page_size": 25
  }
}
  • sort by block number: number.asc or number.desc
  • sort by block time: time.asc or time.desc
  • filter by leap_direction: in or out

@Daryl-L
Copy link

Daryl-L commented Apr 8, 2024

nervosnetwork/ckb-explorer#1754

bitcoin statistics

  • GET /api/v2/bitcoin_statistics
{
   "data": [
       ...
       {
           "id": 786,
           "timestamp": 1712449800, # UTC timestamp
           "transactions_count": 0,
           "addresses_count": 0
       },
       {
           "id": 787,
           "timestamp": 1712451600,
           "transactions_count": 0,
           "addresses_count": 0
       },
       {
           "id": 788,
           "timestamp": 1712453400,
           "transactions_count": 0,
           "addresses_count": 0
       },
       {
           "id": 789,
           "timestamp": 1712455200,
           "transactions_count": 0,
           "addresses_count": 0
       },
       {
           "id": 790,
           "timestamp": 1712457000,
           "transactions_count": 2,
           "addresses_count": 1
       },
       ...
   ]
}

rgb transaction

  • GET /api/v2/rgb_transactions
{
  "data": {
    "ckb_transactions": [
      {
        "id": 59092903,
        "tx_hash": "0xb4aeecc36b622f0d1945d6b9cc34833759349526038f0dadca1250d383fdda5a",
        "block_id": 12789172,
        "block_number": 12750536,
        "block_timestamp": 1711707115623,
        "leap_direction": "in",
        "rgb_cell_changes": -2,
        "tgb_txid": "0f54c6ed3b644515bae3f50825d1d5168f5e3a842988c972c3c5ed635aeaf486"
      }...
    ]
  },
  "meta": {
    "total": 33,
    "page_size": 25
  }
}
  • sort by block number: number.asc or number.desc
  • sort by block time: time.asc or time.desc
  • filter by leap_direction: in or out

There are three directions for leap, in, out and no leap. As result, three types of value should be given for leap direction.

@Daryl-L
Copy link

Daryl-L commented Apr 8, 2024

nervosnetwork/ckb-explorer#1754

bitcoin statistics

  • GET /api/v2/bitcoin_statistics
{
   "data": [
       ...
       {
           "id": 786,
           "timestamp": 1712449800, # UTC timestamp
           "transactions_count": 0,
           "addresses_count": 0
       },
       {
           "id": 787,
           "timestamp": 1712451600,
           "transactions_count": 0,
           "addresses_count": 0
       },
       {
           "id": 788,
           "timestamp": 1712453400,
           "transactions_count": 0,
           "addresses_count": 0
       },
       {
           "id": 789,
           "timestamp": 1712455200,
           "transactions_count": 0,
           "addresses_count": 0
       },
       {
           "id": 790,
           "timestamp": 1712457000,
           "transactions_count": 2,
           "addresses_count": 1
       },
       ...
   ]
}

rgb transaction

  • GET /api/v2/rgb_transactions
{
  "data": {
    "ckb_transactions": [
      {
        "id": 59092903,
        "tx_hash": "0xb4aeecc36b622f0d1945d6b9cc34833759349526038f0dadca1250d383fdda5a",
        "block_id": 12789172,
        "block_number": 12750536,
        "block_timestamp": 1711707115623,
        "leap_direction": "in",
        "rgb_cell_changes": -2,
        "tgb_txid": "0f54c6ed3b644515bae3f50825d1d5168f5e3a842988c972c3c5ed635aeaf486"
      }...
    ]
  },
  "meta": {
    "total": 33,
    "page_size": 25
  }
}
  • sort by block number: number.asc or number.desc
  • sort by block time: time.asc or time.desc
  • filter by leap_direction: in or out

tgb_txid should be renamed to rgb_txid

@Daryl-L
Copy link

Daryl-L commented Apr 9, 2024

@Daryl-L
Copy link

Daryl-L commented Apr 9, 2024

Magickbase/ckb-explorer-frontend#285 (comment)

Translation needed here. @Sven-TBD
Including the title of the page, title in the chart and title in the table for each columns

@Sven-TBD
Copy link
Contributor Author

Sven-TBD commented Apr 11, 2024

ZH-CN EN
新增BTC地址 New BTC address
交易数量 Transaction Count
RGB++ 交易列表 RGB++ Transaction List
CKB 交易ID CKB TX ID
区块序号 Block Num
确认数 Confirmation
时间 Time
类型 Type
RGB++ Cell 变化 RGB ++ Cell Change
确认数 Confirmation
BTC 交易 BTC TX

@Keith-CY
Copy link
Member

I would suggest limiting the initial period of the chart to the last 2 weeks so recent activities could be highlighted.

image

@FrederLu
Copy link

FrederLu commented May 6, 2024

https://pudge.explorer.nervos.org/rgbpp/transaction/list

Image

The text and filtering styles mentioned here need to be confirmed by @Sven-TBD .

@Sven-TBD
Copy link
Contributor Author

Sven-TBD commented May 6, 2024

ZH-CN EN
新增BTC地址 New BTC address
交易数量 Transaction Count
RGB++ 交易列表 RGB++ Transaction List
CKB 交易ID CKB Transaction
区块序号 Block Height
确认数 Confirmation
时间 Time
类型 Type
RGB++ Cell 变化 RGB ++ Cell Change
确认数 Confirmation
BTC 交易 BTC Transaction

cc @Daryl-L

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

6 participants