Files
sonr/app/genesis.go
T
Prad NukalaandGitHub 13e6c3e84d Master (#1262)
* clear

* feat: Add everything

* fix: Commenht
2025-10-03 14:45:52 -04:00

16 lines
633 B
Go
Executable File

// Package app provides genesis state management for the Sonr blockchain application.
package app
import (
"encoding/json"
)
// GenesisState represents the initial state of the blockchain as a map of raw JSON
// messages keyed by module identifier strings. Each module's genesis state is stored
// as raw JSON to allow flexible initialization during chain setup.
//
// The identifier is used to route genesis information to the appropriate module
// during the init chain process. Default genesis information is populated by
// the ModuleBasicManager from each registered BasicModule.
type GenesisState map[string]json.RawMessage