HomePhabricator

[Cashtab] Support minting NFTs

Description

[Cashtab] Support minting NFTs

Summary:
Support minting SLP1 NFT Child tokens, aka "NFTs"

  • User can create "fan-out" txs to have qty-1 utxos available to mint NFTs
  • User can mint NFTs
  • NFTs are rendered with icon and some available info on the NFT Collection token action page
  • An info notice is rendered on the NFT's token action page (we do not yet support NFT actions, like sending an NFT. Will come in a later diff).
  • We parse NFT parent "fan-out" txs in tx history
  • We parse NFT mints in tx history
  • We start parsing "self-send" txs uniquely in tx history, for NFT-related txs and all txs

Test Plan:
npm test

npm start, make a collection, make some NFTs. note that, as you mint NFTs, they appear in the "NFTs in this Collection" table

This diff is deployed at https://cashtab-local-dev.netlify.app

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Subscribers: emack

Differential Revision: https://reviews.bitcoinabc.org/D16043

Details

Provenance
bytesofmanAuthored on Mon, Apr 22, 23:43
bytesofmanPushed on Thu, Apr 25, 13:46
Reviewer
Restricted Project
Differential Revision
D16043: [Cashtab] Support minting NFTs
Parents
rABC693391e3e5b0: [ecash-lib] Add ALP support
Branches
Unknown
Tags
Unknown