cmd

package
v0.0.0-...-982cb09 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Commands = cli.Command{}
View Source
var GasFeeCapFlag = &cli.StringFlag{
	Name:  "gasfeecap",
	Usage: "eg. 1,1000000afil",
	Value: "1000000afil",
}
View Source
var LotusTokenFlag = &cli.StringFlag{
	Name:  "lotus-token",
	Value: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiYWRtaW4iLCJwZXJtIjoiYWRtaW4iLCJleHQiOiIifQ.YHIIXispL9G-foNaK2PLvvqzuNPVrgRBPuLpGXymbZ0",
	Usage: "lotus token",
}
View Source
var LotusURLFlag = &cli.StringFlag{
	Name:  "lotus-url",
	Value: "/ip4/192.168.25.124/tcp/1234",
	Usage: "lotus url",
}
View Source
var VenusTokenFlag = &cli.StringFlag{
	Name:  "venus-token",
	Value: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiYWRtaW4iLCJwZXJtIjoiYWRtaW4iLCJleHQiOiIifQ.YHIIXispL9G-foNaK2PLvvqzuNPVrgRBPuLpGXymbZ0",
	Usage: "venus token",
}
View Source
var VenusURLFlag = &cli.StringFlag{
	Name:  "venus-url",
	Value: "/ip4/192.168.25.124/tcp/3453",
	Usage: "venus url",
}

https://api.node.glif.io

View Source
var WalletTokenFlag = &cli.StringFlag{
	Name:  "wallet-token",
	Value: "",
}
View Source
var WalletURLFlag = &cli.StringFlag{
	Name:  "wallet-url",
	Value: "/ip4/127.0.0.1/tcp/5678",
}

Functions

func Run

func Run(cctx *cli.Context) error

func SetLogLevel

func SetLogLevel(level logrus.Level)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL