nftstorage / nft.storage

**Notice: Uploads Decommissioned - Existing Data is Safe!** NFT.Storage Classic (classic.nft.storage) offers free decentralized storage and bandwidth for NFTs on IPFS and Filecoin. June 2024 Update: No new uploads, but all existing data is safe. Try the new NFT.Storage, which preserves data in long term Filecoin storage. Go to app.nft.storage
https://classic.nft.storage
Other
618 stars 167 forks source link

Bitcoin Cash #2763

Open monsterbitar opened 1 month ago

monsterbitar commented 1 month ago

Last year I used nft.storage to upload some art to IPFS for a project of mine, and today while I was going over my old notes I tried to update by adding more art, but it turns out that the version I used last year is now "classic" and no longer operational.

(as in, there's a banner at the top saying I can't use it to upload more stuff)

So I tried using the new version, but when I try to upload it requires that I say what chain my contract resides on, and as it turns out I don't have a special magic contract, just native Cash Tokens on the Bitcoin Cash (BCH) chain.

... but since I can't choose that, I can no longer use nft.storage.

elizabeth-griffiths commented 1 month ago

Hi Monsterbitar - We're currently working on adding new networks. We can add BCH. We also require data about the NFTs. For example, on many networks Contract Address and TokenID would be used to find the NFT. Can you please tell me, on BCH, what would the equivalents be?

monsterbitar commented 1 month ago

Sure, on BCH we have Bitcoin Cash Metadata Registries: https://github.com/bitjson/chip-bcmr

The equivalent of the Contract Address would be the CategoryID, the transaction for the output that was spent while creating the original token, which all child tokens also carry (their identity explaining what token they are).

The equivalent of the TokenID I guess is the tokens commitment field, which for NFTs is the unique number in the minted serie identifying the specific NFT for that CategoryID. Or something like that, I actually don't know this from the back of my hand yet, here's the full spec for cashtokens: https://cashtokens.org/docs/spec/chip

monsterbitar commented 1 month ago

As practical examples, here's the mining of BLISS: https://explorer.salemkode.com/tx/5a4f6b25243c1a2dabb2434e3d9e574f65c31764ce0e7eb4127a46fa74657691

And here's an overview of the issued BLISS tokens: https://explorer.salemkode.com/token/5a4f6b25243c1a2dabb2434e3d9e574f65c31764ce0e7eb4127a46fa74657691

(Bliss uses the authchain, so on-chain BCMR records)