README

sdk-tutorial

Expand ▾ Collapse ▴

Documentation

Index

Constants

This section is empty.

Variables

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

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

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

		orgstore.AppModule{},
	)
)

Functions

func MakeCodec

func MakeCodec() *codec.Codec

    MakeCodec generates the necessary codecs for Amino

    func NewOrgStoreApp

    func NewOrgStoreApp(
    	logger log.Logger, db dbm.DB, baseAppOptions ...func(*bam.BaseApp),
    ) *orgStoreApp

      NewOrgStoreApp is a constructor function for orgStoreApp

      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
        osd
        x