1 unstable release

0.0.0 Sep 26, 2023

#4 in #runes

CC0 license

6KB
140 lines

runed

Warning

runed implements runes, a fungible token protocol for Bitcoin.

Fungible tokens are, without exaggeration and nearly without exception, a vile abyss of hopium, scams, and incompetence.

Runes are no different.

If you want to make money, buy bitcoin.

To Do

  • write tests
    • unit tests?
    • all test vectors?

LEB128 or prefix varint

  • switch to varints
  • write spec
  • add metadata:
    • symbol: unique or no?
    • link
    • description
    • decimals
  • use amount 0 as shorthand for all remaining runes or for last amount
  • make id a delta? only works if it's a single integer
  • make output a delta?
  • output id depends on the number of outputs in the transaction
  • make later ids refer to previous ids?
  • use actual compression?
  • allow seeing the results of transaction
    • unassigned runes go to first non OP_RETURN output
    • excess assignments are ignored

Dependencies

~9.5MB
~134K SLoC