Files

16 lines
633 B
Go
Raw Permalink Normal View History

2025-10-03 14:45:52 -04:00
// Package app provides genesis state management for the Sonr blockchain application.
2024-07-05 22:20:13 -04:00
package app
import (
"encoding/json"
)
2025-10-03 14:45:52 -04:00
// 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.
2024-07-05 22:20:13 -04:00
type GenesisState map[string]json.RawMessage