MCPcopy Create free account
hub / github.com/DOSNetwork/core / actionCreateWallet

Function actionCreateWallet

main.go:303–311  ·  view source on GitHub ↗
(c *cli.Context)

Source from the content-addressed store, hash-verified

301}
302
303func actionCreateWallet(c *cli.Context) (err error) {
304 // check if there is an account
305 if n := onchain.NumOfAccounts(dosPath); n != 0 {
306 fmt.Println("Found keystore files")
307 return nil
308 }
309 _, err = createWallet()
310 return err
311}
312
313func actionWalletInfo(c *cli.Context) error {
314 return nil

Callers

nothing calls this directly

Calls 1

createWalletFunction · 0.85

Tested by

no test coverage detected