explorer
explorer copied to clipboard
Let a user claim he owns an asset
- [x] Add in tapd mock server a
verify-asset-ownershipmethod returning, true, false or error. - [x] Add an integration test on asset ownership verification.
- [x] Add a new type of request:
ADD_OWNERSHIP_PROOF_REQUESTwith the following parameters:assetId,scriptKey,outpointandproof. - [ ] On user asset list page, add a button to claim you are the creator. It will ask
assetId, if issuance proof is found, it will display a form withassetid,scriptKey,outpointand explanation. User will be able to entier itsproof. - [x] Add a bach calling verify-asset-ownership - Find issuance proof and verify user proof -> if ok, change the creator of the asset.