sed s/crn/lrn/g
This commit is contained in:
parent
8d703e580b
commit
312bdb6b39
10
README.md
10
README.md
@ -324,13 +324,13 @@ $ laconic cns authority reserve kube.laconic --owner ethm1vc62ysqu504at932jjq8pw
|
||||
Set name:
|
||||
|
||||
```bash
|
||||
$ laconic cns name set crn://laconic/watcher/erc20 bafyreic3auqajvgszh3vfjsouew2rsctswukc346dmlf273ln4g6iyyhba
|
||||
$ laconic cns name set lrn://laconic/watcher/erc20 bafyreic3auqajvgszh3vfjsouew2rsctswukc346dmlf273ln4g6iyyhba
|
||||
```
|
||||
|
||||
Lookup name information:
|
||||
|
||||
```bash
|
||||
$ laconic cns name lookup crn://laconic/watcher/erc20
|
||||
$ laconic cns name lookup lrn://laconic/watcher/erc20
|
||||
[
|
||||
{
|
||||
"latest": {
|
||||
@ -344,7 +344,7 @@ $ laconic cns name lookup crn://laconic/watcher/erc20
|
||||
Resolve name:
|
||||
|
||||
```bash
|
||||
$ laconic cns name resolve crn://laconic/watcher/erc20
|
||||
$ laconic cns name resolve lrn://laconic/watcher/erc20
|
||||
[
|
||||
{
|
||||
"id": "bafyreic3auqajvgszh3vfjsouew2rsctswukc346dmlf273ln4g6iyyhba",
|
||||
@ -385,9 +385,9 @@ $ laconic cns name resolve crn://laconic/watcher/erc20
|
||||
Delete name:
|
||||
|
||||
```bash
|
||||
$ laconic cns name delete crn://laconic/watcher/erc20
|
||||
$ laconic cns name delete lrn://laconic/watcher/erc20
|
||||
|
||||
$ laconic cns name resolve crn://laconic/watcher/erc20
|
||||
$ laconic cns name resolve lrn://laconic/watcher/erc20
|
||||
[
|
||||
null
|
||||
]
|
||||
|
@ -20,8 +20,13 @@ export const handler = async (argv: Arguments) => {
|
||||
assert(chainId, 'Invalid Registry Chain ID.');
|
||||
|
||||
const registry = new Registry(gqlEndpoint, restEndpoint, chainId);
|
||||
<<<<<<< HEAD
|
||||
const fee = getGasAndFees(argv, cnsConfig);
|
||||
const result = await registry.deleteName({ crn: name }, privateKey, fee);
|
||||
=======
|
||||
const fee = getGasAndFees(argv, registryConfig);
|
||||
const result = await registry.deleteName({ lrn: name }, privateKey, fee);
|
||||
>>>>>>> 10b20d7 (sed s/crn/lrn/g)
|
||||
|
||||
console.log(JSON.stringify(result, undefined, 2));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user