Skip to content

Latest commit

 

History

History
80 lines (62 loc) · 2.44 KB

TODO.md

File metadata and controls

80 lines (62 loc) · 2.44 KB

API:

  • [DONE] Review stamps/[id] and cursed/[id]
    • add into cursed and stamps query folders
    • join issuances to update supply and locked status
    • divisibility 🤯
    • Reissuance problem when querying by stamp number or tx_hash
  • [DONE] Add retry in handleQuery and connectDb
  • [WIP] Blocks endpoint:
    • [DONE] create blocks_api file to host the query logic that will use api and pages in the explorer
    • [WIP]related blocks to show previous and next block for a given one
    • [DONE]add to block queries to be able to search by hash
  • [TODO] Other endpoints:
    • [DOING] Migrate all the logic from enpoints to its own file to be reused by pages and endpoint
      • this is done for /stamps and /stamps/balance/[address]
  • [DONE] create classes for database functions - will make importing/exporting easier and faster
  • [TODO] /stamps/block and /stamps/balance and /block_count doesnt work
  • [TODO] /balance and /cursed pagination

EXPLORER:

  • [DONE] Retrieve images from the static/stamps folder
  • [DONE] new images are not being updated.... need to restart the container to be updated, asking for solutions to this...
  • [WIP] Balance page
  • [WIP] Wallet integration:
    • [DONE] Unisat
    • [DONE] Leather
    • [WIP] OKX
  • [TODO] Minting functions
  • [TODO] Work on blocks page
  • [TODO] Work on index page
  • [TODO] Work on stamp page
  • [TODO] tons of work...

SRC20:

  • GET[tx_hash] return src20 transaction info (fromAddress, toAddress, op, validity)
  • GET[address][tick] return balance for this address and tick
    • remove cpid from the result(is noise for them)
  • GET[block_index] return all valid tx for src20 in that block
  • POST[{ "method": "mint"|"transfer"|"deploy", params: [] }]
    • check if is a valid posible tx
    • create unsigned transaction

OPENAPI

stamps

[x] /stamps/index [x] /stamps/[id] [x] /stamps/ident/[ident] [x] /stamps/block/[block_index] [x] /stamps/balance/[address]

cursed

[x] /cursed/index [x] /cursed/[id] [x] /cursed/ident [x] /cursed/block/[block_index] [x] /cursed/balance/[address]

issuances

[x] /issuances/[id]

block

[x] /block/[block_index] [x] /block/related/[block_index] [x] /block/block_count/[...number]

balance

[x] /balance/address

src20

[x] /src20/index [] /src20/create [x] /src20/tx/[tx_hash] [x] /src20/tick [x] /src20/tick/[tick] [x] /src20/tick/[tick]/deploy [x] /src20/block/[block_index] [x] /src/block/[block_index]/[tick] [x] /src20/balance/[address] [x] /src20/balance/[address]/[tick]