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

Calls, deploys, and child packages · indexed history
HashBlockTimeMsgCallerStatus
569303020F…2EE5CC8E410,05657d agoEnablePkg—ok
1964E07814…3E4430BC410,01657d agoAddPackage—ok

Call function

Connect Adena in the header · vm.m_call · qfuncs only

Source (qfile)