README

Desmos

Desmos social chain

Expand ▾ Collapse ▴

Documentation

Index

Constants

View Source
const (
	Bech32MainPrefix = "desmos"
)

Variables

View Source
var (
	// default home directories for the application CLI
	DefaultCLIHome = os.ExpandEnv("$HOME/.desmoscli")

	// DefaultNodeHome sets the folder where the applcation data and configuration will be stored
	DefaultNodeHome = os.ExpandEnv("$HOME/.desmosd")

	// ModuleBasicManager is in charge of setting up basic module elemnets
	ModuleBasics = module.NewBasicManager(
		genaccounts.AppModuleBasic{},
		genutil.AppModuleBasic{},
		auth.AppModuleBasic{},
		bank.AppModuleBasic{},
		params.AppModuleBasic{},
		magpie.AppModule{},
		staking.AppModuleBasic{},
		distr.AppModuleBasic{},
		slashing.AppModuleBasic{},
		supply.AppModuleBasic{},
	)
)

Functions

func MakeCodec

func MakeCodec() *codec.Codec

    MakeCodec generates the necessary codecs for Amino

    func NewDesmosApp

    func NewDesmosApp(logger log.Logger, db dbm.DB) *desmosApp

      NewDesmosApp is a constructor function for desmosApp

      func SetBech32AddressPrefixes

      func SetBech32AddressPrefixes(config *sdk.Config)

        SetBech32AddressPrefixes set the account prefix in binaries

        Types

        type GenesisState

        type GenesisState map[string]json.RawMessage

          GenesisState represents chain state at the start of the chain. Any initial state (account balances) are stored here.

          func NewDefaultGenesisState

          func NewDefaultGenesisState() GenesisState

          Source Files

          Directories

          Path Synopsis
          cmd
          x