MCPcopy Create free account
hub / github.com/dfinity/examples / encode_rune_name

Function encode_rune_name

rust/basic_bitcoin/src/runes.rs:79–107  ·  view source on GitHub ↗

Encodes a rune name into its numeric representation. Runes use a modified base-26 encoding where A=0, B=1, ... Z=25. Names are encoded with A as the least significant digit for compact storage.

(name: &str)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

build_etching_scriptFunction · 0.85

Calls 1

OkClass · 0.85

Tested by

no test coverage detected