Documentation ¶
Index ¶
Constants ¶
View Source
const ( BmErc721Bin string = `` /* 18298-byte string literal not displayed */ BmErc721ABI string = `` /* 9666-byte string literal not displayed */ )
Variables ¶
View Source
var Command = &cli.Command{ Name: "deploy", Flags: []cli.Flag{ flags.ConfigFlag, flags.ChainFlag, flags.KeyStoreDirFlag, flags.AccountFlag, flags.PasswordFileFlag, }, Action: func(ctx *cli.Context) error { cfg, err := GetConfig(ctx) if err != nil { return err } client, err := ethclient.DialContext(ctx.Context, cfg.Chain.URI) if err != nil { return err } owner, lock, err := cfg.GetAccount(ctx.Context, client) if err != nil { return err } defer lock() return Deploy(ctx.Context, client, owner) }, }
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.