Commit Graph

25 Commits

Author SHA1 Message Date
51fd81a082 Decode JSON strings automatically.
Some checks failed
Tests / sdk_tests (push) Has been cancelled
2023-12-13 15:10:09 -06:00
f5625d0c87 Take the path as-is, not relative to the current dir. (#43)
All checks were successful
Tests / sdk_tests (push) Successful in 4m12s
Reviewed-on: #43
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2023-12-05 03:53:15 +00:00
fb381c07f3 Fix cns name resolve (#42)
All checks were successful
Tests / sdk_tests (push) Successful in 3m34s
The `cns name resolve` does not return the result.  Obviously it should.

Reviewed-on: #42
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2023-11-30 05:01:25 +00:00
6e0829d91f Filter by arbitrary attributes (#40)
All checks were successful
Tests / sdk_tests (push) Successful in 5m37s
```
laconic cns record list \
  --type GeneralRecord \
  --value anything-goes-here \
  --category filter-by-this \
  --bond-id d0094c75e267abb709d631abd7bfaa8d610413f5766ddfc07db735822905d641 \
  --owner AB0A17A1EBF47DDCF6AB267CA8E07B7EA836E1AF \
  --all
```

Reviewed-on: #40
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2023-11-28 23:22:57 +00:00
129019105d Convert sub-objects (other than arrays) in YAML to JSON strings automatically. (#38)
All checks were successful
Tests / sdk_tests (push) Successful in 3m36s
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: #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