Open Sven-TBD opened 4 months ago
Does this PR only add link to xudt page, and opening cell info will be enabled in another PR?
Does this PR only add link to xudt page, and opening cell info will be enabled in another PR?
I made a mistake, I think it is to redirect to the outpoint transaction page, but actually just to open the cell info pop. I will change it.
Does this PR only add link to xudt page, and opening cell info will be enabled in another PR?
I made a mistake, I think it is to redirect to the outpoint transaction page, but actually just to open the cell info pop. I will change it.
https://github.com/Magickbase/ckb-explorer-frontend/pull/379
PR:https://github.com/nervosnetwork/ckb-explorer/pull/2100
extra_info add
"collection": {
"type_hash": "0x6c678e25fcdb9625d44ec35e88fb486ad4b26e6164d33c58ff19f7843e645da2"
}
And for spore_cell and did cell add
"extra_info": {
"cluster_name": "Unicorn Testnet Boxes",
"token_id": "37843203013825699336947882299832400049388365185594197189061114499244380584406",
"collection": {
"type_hash": "0xa7fa2f0b8cc15e9e28f2649be7000263c6f36724dcfbda5e741e53830a342b01"
},
"published": true,
"type": "dob"
}
For m_nft_class/nrc_721_factory/spore_cluster, If these extra_info published == true, can jump with type_hash, else can't jump @Daryl-L
When cell_type in [m_nft_class,nrc_721_factory,spore_cluster], use extra_info's type_hash to jump to collection page. When cell_type in [m_nft_token, nrc_721_token, spore_cell, did_cell], use extra_info's collection's type_hash to jump to collection page.
Some click-logic should be updated here.