Realm

v0

gno.land/r/moul/x/daily/luhndemo/v0

Render

Luhn Checksum

The mod-10 check behind card numbers and IMEIs, demoing the p/moul/x/daily/luhn library.

Append a number to the path to check it — spaces and hyphens are ignored.

Samples

numbervalid?note
79927398713✅ validthe textbook example
79927398710❌ invalidsame number, wrong check digit
4539148803436467✅ valida test card number
4539148803436647❌ invalidsame card, two digits swapped

Luhn is a typo check, not a security check: it catches every single-digit error and nearly every swap of adjacent digits, but anyone can compute a valid number. Never authorize anything with it.

Transactions

No indexed transactions for this realm yet.

Calls, deploys, and child packages in indexed history.

Call function

Calls stay disabled until vm/qfuncs lists this package. Delve only submits functions the chain publishes for gno.land/r/moul/x/daily/luhndemo/v0.

Source (qfile)