Commit Graph

21 Commits

Author SHA1 Message Date
129019105d Convert sub-objects (other than arrays) in YAML to JSON strings automatically. (#38)
This allows us to support attributes in YAML like this:

```
  meta:
    foo: bar
    bar:
      baz: boz
```

Which will automatically become:

```
"meta": "{\"foo\":\"bar\",\"bar\":{\"baz\":\"boz\"}}"
```

> Note: cosmos-sdk's protobuf code does not support maps (https://github.com/cosmos/cosmos-sdk/issues/15254), or else we would just use a map.

Reviewed-on: cerc-io/laconic-registry-cli#38
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2023-11-20 22:01:39 +00:00
0xmuralik
61a2aaab0f fix send output 2023-03-27 19:37:16 +05:30
0xmuralik
0c0eb79fa3 eliminate dry code 2023-03-27 18:14:42 +05:30
0xmuralik
8ebb80beed json format 2023-03-27 17:35:47 +05:30
0xmuralik
9b9e8829ec name outputs 2023-03-27 16:58:14 +05:30
0xmuralik
1de17a40ef authority and auction output 2023-03-27 13:58:41 +05:30
0xmuralik
d3020daf2e bond and records outputs 2023-03-27 13:14:02 +05:30
0xmuralik
3258e4cfe3 get bond id 2023-03-07 16:27:53 +05:30
93df49ec9e
Use published cerc-io/laconic-sdk package (#9) 2022-12-09 18:59:43 +05:30
ea55cbdc7a
Change in registry constructor (#8) 2022-12-09 14:26:00 +05:30
b08e9738cb Changes to suit repo renaming 2022-10-10 16:19:11 -06:00
e15a35aa59 Blind attempt at re-brand 2022-09-28 13:31:20 -06:00
7f09a16e2a Implement command getting status 2022-04-27 15:32:46 +05:30
11482ab5c8 Add commands for auction operations 2022-04-27 15:32:46 +05:30
7f3b07b394 Add commands for name operations 2022-04-27 15:32:46 +05:30
fe739c325f Add commands for authority operations 2022-04-27 15:32:46 +05:30
72c98e14a1 Add commands for bond and records associate/dissociate 2022-04-27 15:32:46 +05:30
1133ac774c Implement commands for bond operations 2022-04-27 15:32:46 +05:30
46a6389d58 Implement commands for account and token operations 2022-04-25 15:18:12 +05:30
97dbbf87c0 Implement commands for record operations 2022-04-25 15:18:12 +05:30
977d9a8ffa Setup subcommands with yargs 2022-04-25 15:18:12 +05:30