NFT (Non Fungible Tokens) Test cases:
NFT Add:
- Create a brand new NFT by going to "NFTs | NFT Add". Fill in the fields. For the type be sure to select digital good. For the URL, choose the final URL of the product-good-service you are selling a copy of (or the original of). Side Note we will need to address copyright laws - most likely with a process to blacklist non-verified owners or plagiarizers etc. Also on another side note, I would like to add a 'private encrypted URL' that can be deciphered when the item is purchased - this would be useful for us to render a low quality version of a product and/or a demo URL (for binaries), but when purchased, the user receives the high-quality asset URL. Save the new NFT. (We hash the NFT by its distinct URL so no two can exist that are the same).
- After a few blocks verify you can see the NFT in the NFT list (NFTs | List NFTs).
Also, verify you can see the NFT in the marketplace:
Goods:
https://foundation.biblepay.org/NFTBrowse- Edit the NFT. Verify you can change the marketable status, and the minimum offer price.
- View the NFT in the marketplace. Verify you can see it.
- Buy the NFT in the marketplace. Verify you receive the NFT in your NFT list. For this test, buy one that you did NOT create, and let us buy one that you created so we can cross check the buy operation from each other.
Let us know if we have any serious considerations to fix, etc.
EDIT: I think one way we can establish the 'private encrypted URL for a high-quality deliverable' is to add the HQ URL (or final deliverable URL) field to NFT create, and what we can do is RSA-encrypt it with the public key of the marketplace. This means that the marketplace can decrypt the HQ url for the buyer upon a buy. Yet, all other BBP users cannot decrypt it.