mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-17 12:14:21 +01:00
* 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>
21 lines
323 B
Go
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)
|
|
}
|