Realm

v0

gno.land/r/moul/x/nativereg/v0

Render

nativereg: what a native denom means

A realm-issued coin is a string and a balance. The chain stores no name, no symbol and no decimals for it, so this realm does. An issuer registers its own denoms and nobody else's: the package path is embedded in the denom, and that is the whole authorization.

Registered

Nothing registered yet.

Register your own

From inside the realm that issues the coin, never from a wallet:

import "gno.land/r/moul/x/nativereg/v0"

func init(cur realm) {
	nativereg.Register(cross(cur), Denom, "My Coin", "MINE", 6,
		"one line about what it is for")
}

Decimals is a display hint. The bank counts whole units and knows nothing about divisibility.

Transactions

HashBlockTimeMsgCallerStatus
569303020F…2EE5CC8E410,05612d agoEnablePkg—ok
1964E07814…3E4430BC410,01612d agoAddPackage—ok

Calls, deploys, and child packages in indexed history.

Call function

Source (qfile)