Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/r/utxo does not know about rune burns #4208

Open
lifofifoX opened this issue Feb 4, 2025 · 3 comments
Open

/r/utxo does not know about rune burns #4208

lifofifoX opened this issue Feb 4, 2025 · 3 comments

Comments

@lifofifoX
Copy link
Collaborator

I burned some Runes in 149f8cba424976a0e4196694b849184b96f27a5ccfb4ae171dbbabdcf26bb3e0

Decoded Runestone:

{
  "inscriptions": [],
  "runestone": {
    "Runestone": {
      "edicts": [
        {
          "id": "864670:295",
          "amount": 500000000,
          "output": 0
        }
      ],
      "etching": null,
      "mint": null,
      "pointer": null
    }
  }
}

However, /r/utxo does not include anything re: this burn.

{"inscriptions":[],"runes":{},"sat_ranges":[],"value":0}

What's the best way to retrieve Rune burns through recursive endpoints?

@gmart7t2
Copy link
Contributor

gmart7t2 commented Feb 4, 2025

I think the whole point of OP_RETURN outputs is that they are explicitly unspendable and so we don't have to track them. There are effectively no runes in that output because they can never be spent

@lifofifoX
Copy link
Collaborator Author

Still seems like a good idea to track burn history, no?

@lifofifoX
Copy link
Collaborator Author

I'll explain the motivation behind this.

IMO, combining Rune and Inscriptions is way more interesting when:

  • There's an element of randomness when determining the outcome of adding Runes to an Inscription
  • Outcome of adding Runes to an Inscription is tradeable

If we have recursive endpoints for retrieving Rune burns (similar to how it works for Inscriptions), a parent could look at the Runes burned when creating its children and use that info along with the relevant blockhash to decide on a rare trait outcome.

It would then also be permanent and transferrable.

cc @raphjaph

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants