Minting liveReserves
Peeragon

PeerAssets Media

NFTs whose picture lives on the Peercoin blockchain itself. An open standard: any wallet or website can show them.

How it works

  1. 01

    The picture is cut into pieces of 247 bytes, each written into its own Peercoin transaction.

  2. 02

    The NFT is a PeerAssets deck (one of one) whose spawn transaction spends the last piece, and commits to the SHA-256 of everything.

  3. 03

    Reading starts at the deck and walks back through the pieces. Anything that can fetch a transaction by its id can do it.

  4. 04

    Owning follows PeerAssets: the deck's one card, which moves from address to address.

It adds nothing to PeerAssets itself: a PeerAssets Media NFT is an ordinary deck and card, so existing PeerAssets software still sees it. Media up to 1 MB costs about 19 PPC per MB in network fees.

For developers

import { readNft } from "https://peeragon.com/pam/peerassets-media.mjs";

// Any source of decoded Peercoin transactions: your node, an explorer.
const getTx = (txid) => fetchFromYourNode("getrawtransaction", [txid, true]);

const nft = await readNft(deckTxid, getTx);
if (nft.verified) {
  img.src = URL.createObjectURL(new Blob([nft.media.bytes], { type: nft.media.type }));
  caption.textContent = `${nft.name}: ${nft.media.description}`;
}

Minted on Peeragon? Every NFT's page links its deck, its card and the command that rebuilds it. See them all