Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "./cmd",
Short: "entry point to the application, required KYBER_ENV (default to dev) and KYBER_EXCHANGES as environment variables. if KYBER_EXCHANGE is not set, the core will be run without centralize exchanges",
Example: "KYBER_ENV=dev KYBER_EXCHANGES=binance ./cmd command [flags]",
}
RootCmd represents the base command when called without any subcommands
Functions ¶
func CreateBlockchain ¶
func CreateBlockchain(config *configuration.AppState) (bc *blockchain.Blockchain, err error)
CreateBlockchain create new blockchain instance
func CreateDataCore ¶
func CreateDataCore(config *configuration.AppState, kyberENV string, bc *blockchain.Blockchain) (*data.ReserveData, *core.ReserveCore)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.