Files
ark/client/config.go
Pietralberto Mazza 1650ea5935 Support onboarding & Drop faucet (#119)
* Renaming

* Add server-side support for onboarding

* add onboard --amount command

* support client side onboarding

* Drop dummy tx builder

* Drop faucet

* Fixes

* fix public key encoding

* fix schnorr pub key check in validation

* fix server/README to accomodate onboarding

---------

Co-authored-by: Louis <louis@vulpem.com>
Co-authored-by: João Bordalo <bordalix@users.noreply.github.com>
2024-02-23 16:24:00 +01:00

21 lines
323 B
Go

package main
import (
"github.com/urfave/cli/v2"
)
var configCommand = cli.Command{
Name: "config",
Usage: "Shows configuration of the Ark wallet",
Action: printConfigAction,
}
func printConfigAction(ctx *cli.Context) error {
state, err := getState()
if err != nil {
return err
}
return printJSON(state)
}