From e15a35aa59f816fe528af890538dc5657f65b1d0 Mon Sep 17 00:00:00 2001 From: David Boreham Date: Wed, 28 Sep 2022 13:31:20 -0600 Subject: [PATCH] Blind attempt at re-brand --- README.md | 74 +++++++++---------- config.example.yml | 2 +- package.json | 8 +- src/cmds/cns-cmds/account-cmds/get.ts | 2 +- .../cns-cmds/auction-cmds/bid-cmds/commit.ts | 2 +- .../cns-cmds/auction-cmds/bid-cmds/reveal.ts | 2 +- src/cmds/cns-cmds/auction-cmds/get.ts | 2 +- .../cns-cmds/authority-cmds/bond-cmds/set.ts | 2 +- src/cmds/cns-cmds/authority-cmds/reserve.ts | 2 +- src/cmds/cns-cmds/authority-cmds/whois.ts | 2 +- src/cmds/cns-cmds/bond-cmds/associate.ts | 2 +- src/cmds/cns-cmds/bond-cmds/cancel.ts | 2 +- src/cmds/cns-cmds/bond-cmds/create.ts | 2 +- src/cmds/cns-cmds/bond-cmds/dissociate.ts | 2 +- src/cmds/cns-cmds/bond-cmds/get.ts | 2 +- src/cmds/cns-cmds/bond-cmds/list.ts | 2 +- .../bond-cmds/records-cmds/dissociate.ts | 2 +- .../bond-cmds/records-cmds/reassociate.ts | 2 +- src/cmds/cns-cmds/bond-cmds/refill.ts | 2 +- src/cmds/cns-cmds/bond-cmds/withdraw.ts | 2 +- src/cmds/cns-cmds/name-cmds/delete.ts | 2 +- src/cmds/cns-cmds/name-cmds/lookup.ts | 2 +- src/cmds/cns-cmds/name-cmds/resolve.ts | 2 +- src/cmds/cns-cmds/name-cmds/set.ts | 2 +- src/cmds/cns-cmds/record-cmds/get.ts | 2 +- src/cmds/cns-cmds/record-cmds/list.ts | 2 +- src/cmds/cns-cmds/record-cmds/publish.ts | 2 +- src/cmds/cns-cmds/status.ts | 2 +- src/cmds/cns-cmds/tokens-cmds/send.ts | 2 +- yarn.lock | 52 ++++++------- 30 files changed, 94 insertions(+), 94 deletions(-) diff --git a/README.md b/README.md index 37f1aec..4438501 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ -# chiba-clonk-sdk +# laconic-sdk ## Setup * Run `yarn` to install all dependencies. -* This repo uses chiba-clonk-client. We will need to use this locally. +* This repo uses laconic-client. We will need to use this locally. - * Run the following in [chiba-clonk-client repo](https://github.com/vulcanize/chiba-clonk-client): + * Run the following in [laconic-client repo](https://github.com/vulcanize/laconic-client): ```bash $ yarn @@ -16,10 +16,10 @@ $ yarn link ``` - * In chiba-clonk-sdk repo run: + * In laconic-sdk repo run: ```bash - $ yarn link chiba-clonk-client + $ yarn link laconic-client ``` * Create a `config.yml` file from [config.example.yml](./config.example.yml) file. @@ -29,7 +29,7 @@ Registering records in CNS requires an account. To get account private key run: ```bash -$ chibaclonkd keys export mykey --unarmored-hex --unsafe +$ laconicd keys export mykey --unarmored-hex --unsafe ``` In `config.yml` file assign the account private key to `userKey`. @@ -46,7 +46,7 @@ The `gas` and `fees` can be set to some default values in the config, and can be Example: ```bash -$ chiba cns bond create --type aphoton --quantity 1000000000 --gas 200000 --fees 200000aphoton +$ laconic cns bond create --type aphoton --quantity 1000000000 --gas 200000 --fees 200000aphoton ``` ## Operations @@ -56,7 +56,7 @@ These commands require a `config.yml` file present in the current working direct Get node status: ```bash -$ chiba cns status +$ laconic cns status { "version": "0.3.0", "node": { @@ -90,7 +90,7 @@ $ chiba cns status Get account details: ```bash -$ chiba cns account get --address ethm133y09mveksh76uc99h4rl38nd033tk4e3y2z52 +$ laconic cns account get --address ethm133y09mveksh76uc99h4rl38nd033tk4e3y2z52 [ { "address": "ethm133y09mveksh76uc99h4rl38nd033tk4e3y2z52", @@ -110,7 +110,7 @@ $ chiba cns account get --address ethm133y09mveksh76uc99h4rl38nd033tk4e3y2z52 Send tokens: ```bash -$ chiba cns tokens send --address ethm1vc62ysqu504at932jjq8pwrqgjt67rx6ggn5yu --type aphoton --quantity 1000000000 +$ laconic cns tokens send --address ethm1vc62ysqu504at932jjq8pwrqgjt67rx6ggn5yu --type aphoton --quantity 1000000000 [ { "address": "ethm1lfekr7gvqtnhpp2kwdc6u2n569cqsp4ww0m4y8", @@ -163,7 +163,7 @@ record: Publish record (see below for commands to create/query bonds): ```bash -$ chiba cns record publish --filename watcher.yml --bond-id 58508984500aa2ed18e059fa8203b40fbc9828e3bfa195361335c4e4524c4785 +$ laconic cns record publish --filename watcher.yml --bond-id 58508984500aa2ed18e059fa8203b40fbc9828e3bfa195361335c4e4524c4785 { id: 'bafyreic3auqajvgszh3vfjsouew2rsctswukc346dmlf273ln4g6iyyhba' } ``` @@ -171,7 +171,7 @@ $ chiba cns record publish --filename watcher.yml --bond-id 58508984500aa2ed18e0 Get record: ```bash -$ chiba cns record get --id bafyreic3auqajvgszh3vfjsouew2rsctswukc346dmlf273ln4g6iyyhba +$ laconic cns record get --id bafyreic3auqajvgszh3vfjsouew2rsctswukc346dmlf273ln4g6iyyhba [ { "id": "bafyreic3auqajvgszh3vfjsouew2rsctswukc346dmlf273ln4g6iyyhba", @@ -212,19 +212,19 @@ $ chiba cns record get --id bafyreic3auqajvgszh3vfjsouew2rsctswukc346dmlf273ln4g List records: ```bash -$ chiba cns record list +$ laconic cns record list ``` Reserve authority: ```bash -$ chiba cns authority reserve chiba-clonk +$ laconic cns authority reserve laconic ``` Check authority information: ```bash -$ chiba cns authority whois chiba-clonk +$ laconic cns authority whois laconic [ { "ownerAddress": "", @@ -270,7 +270,7 @@ $ chiba cns authority whois chiba-clonk Get authority auction info: ```bash -$ chiba cns auction get 0294fb2e3659c347b53a6faf4bef041fd934f0f3ab13df6d2468d5d63abacd48 +$ laconic cns auction get 0294fb2e3659c347b53a6faf4bef041fd934f0f3ab13df6d2468d5d63abacd48 [ { "id": "0294fb2e3659c347b53a6faf4bef041fd934f0f3ab13df6d2468d5d63abacd48", @@ -308,7 +308,7 @@ $ chiba cns auction get 0294fb2e3659c347b53a6faf4bef041fd934f0f3ab13df6d2468d5d6 Commit an auction bid: ```bash -$ chiba cns auction bid commit 0294fb2e3659c347b53a6faf4bef041fd934f0f3ab13df6d2468d5d63abacd48 25000000 aphoton +$ laconic cns auction bid commit 0294fb2e3659c347b53a6faf4bef041fd934f0f3ab13df6d2468d5d63abacd48 25000000 aphoton Reveal file: ./out/bafyreiay2rccax64yn4ljhvzvm3jkbebvzheyucuma5jlbpzpzd5i5gjuy.json ``` @@ -316,37 +316,37 @@ Reveal file: ./out/bafyreiay2rccax64yn4ljhvzvm3jkbebvzheyucuma5jlbpzpzd5i5gjuy.j Reveal an auction bid: ```bash -$ chiba cns auction bid reveal 0294fb2e3659c347b53a6faf4bef041fd934f0f3ab13df6d2468d5d63abacd48 ./out/bafyreiay2rccax64yn4ljhvzvm3jkbebvzheyucuma5jlbpzpzd5i5gjuy.json +$ laconic cns auction bid reveal 0294fb2e3659c347b53a6faf4bef041fd934f0f3ab13df6d2468d5d63abacd48 ./out/bafyreiay2rccax64yn4ljhvzvm3jkbebvzheyucuma5jlbpzpzd5i5gjuy.json ``` Set authority bond (after winning auction): ```bash -$ chiba cns authority bond set chiba-clonk 58508984500aa2ed18e059fa8203b40fbc9828e3bfa195361335c4e4524c4785 +$ laconic cns authority bond set laconic 58508984500aa2ed18e059fa8203b40fbc9828e3bfa195361335c4e4524c4785 ``` Create sub-authority (same owner as parent authority): ```bash -$ chiba cns authority reserve echo.chiba-clonk +$ laconic cns authority reserve echo.laconic ``` Create sub-authority (custom owner for sub-authority): ```bash -$ chiba cns authority reserve kube.chiba-clonk --owner ethm1vc62ysqu504at932jjq8pwrqgjt67rx6ggn5yu +$ laconic cns authority reserve kube.laconic --owner ethm1vc62ysqu504at932jjq8pwrqgjt67rx6ggn5yu ``` Set name: ```bash -$ chiba cns name set crn://chiba-clonk/watcher/erc20 bafyreic3auqajvgszh3vfjsouew2rsctswukc346dmlf273ln4g6iyyhba +$ laconic cns name set crn://laconic/watcher/erc20 bafyreic3auqajvgszh3vfjsouew2rsctswukc346dmlf273ln4g6iyyhba ``` Lookup name information: ```bash -$ chiba cns name lookup crn://chiba-clonk/watcher/erc20 +$ laconic cns name lookup crn://laconic/watcher/erc20 [ { "latest": { @@ -360,7 +360,7 @@ $ chiba cns name lookup crn://chiba-clonk/watcher/erc20 Resolve name: ```bash -$ chiba cns name resolve crn://chiba-clonk/watcher/erc20 +$ laconic cns name resolve crn://laconic/watcher/erc20 [ { "id": "bafyreic3auqajvgszh3vfjsouew2rsctswukc346dmlf273ln4g6iyyhba", @@ -401,9 +401,9 @@ $ chiba cns name resolve crn://chiba-clonk/watcher/erc20 Delete name: ```bash -$ chiba cns name delete crn://chiba-clonk/watcher/erc20 +$ laconic cns name delete crn://laconic/watcher/erc20 -$ chiba cns name resolve crn://chiba-clonk/watcher/erc20 +$ laconic cns name resolve crn://laconic/watcher/erc20 [ null ] @@ -412,13 +412,13 @@ $ chiba cns name resolve crn://chiba-clonk/watcher/erc20 Create bond: ```bash -$ chiba cns bond create --type aphoton --quantity 1000 +$ laconic cns bond create --type aphoton --quantity 1000 ``` List bonds: ```bash -$ chiba cns bond list +$ laconic cns bond list [ { "id": "58508984500aa2ed18e059fa8203b40fbc9828e3bfa195361335c4e4524c4785", @@ -446,7 +446,7 @@ $ chiba cns bond list Get bond: ```bash -$ chiba cns bond get --id 58508984500aa2ed18e059fa8203b40fbc9828e3bfa195361335c4e4524c4785 +$ laconic cns bond get --id 58508984500aa2ed18e059fa8203b40fbc9828e3bfa195361335c4e4524c4785 [ { "id": "58508984500aa2ed18e059fa8203b40fbc9828e3bfa195361335c4e4524c4785", @@ -464,7 +464,7 @@ $ chiba cns bond get --id 58508984500aa2ed18e059fa8203b40fbc9828e3bfa195361335c4 Query bonds by owner: ```bash -$ chiba cns bond list --owner ethm1lfekr7gvqtnhpp2kwdc6u2n569cqsp4ww0m4y8 +$ laconic cns bond list --owner ethm1lfekr7gvqtnhpp2kwdc6u2n569cqsp4ww0m4y8 [ { "id": "58508984500aa2ed18e059fa8203b40fbc9828e3bfa195361335c4e4524c4785", @@ -492,41 +492,41 @@ $ chiba cns bond list --owner ethm1lfekr7gvqtnhpp2kwdc6u2n569cqsp4ww0m4y8 Refill bond: ```bash -$ chiba cns bond refill --id 58508984500aa2ed18e059fa8203b40fbc9828e3bfa195361335c4e4524c4785 --type aphoton --quantity 1000 +$ laconic cns bond refill --id 58508984500aa2ed18e059fa8203b40fbc9828e3bfa195361335c4e4524c4785 --type aphoton --quantity 1000 ``` Withdraw funds from bond: ```bash -$ chiba cns bond withdraw --id 58508984500aa2ed18e059fa8203b40fbc9828e3bfa195361335c4e4524c4785 --type aphoton --quantity 500 +$ laconic cns bond withdraw --id 58508984500aa2ed18e059fa8203b40fbc9828e3bfa195361335c4e4524c4785 --type aphoton --quantity 500 ``` Cancel bond: ```bash -$ chiba cns bond cancel --id 58508984500aa2ed18e059fa8203b40fbc9828e3bfa195361335c4e4524c4785 +$ laconic cns bond cancel --id 58508984500aa2ed18e059fa8203b40fbc9828e3bfa195361335c4e4524c4785 ``` Associate bond (with record): ```bash -$ chiba cns bond associate --id bafyreic3auqajvgszh3vfjsouew2rsctswukc346dmlf273ln4g6iyyhba --bond-id 5c40abd336ae1561f2a1b55be73b12f5a083080bf879b4c9288d182d238badb0 +$ laconic cns bond associate --id bafyreic3auqajvgszh3vfjsouew2rsctswukc346dmlf273ln4g6iyyhba --bond-id 5c40abd336ae1561f2a1b55be73b12f5a083080bf879b4c9288d182d238badb0 ``` Disassociate bond (from record): ```bash -$ chiba cns bond dissociate --id bafyreic3auqajvgszh3vfjsouew2rsctswukc346dmlf273ln4g6iyyhba +$ laconic cns bond dissociate --id bafyreic3auqajvgszh3vfjsouew2rsctswukc346dmlf273ln4g6iyyhba ``` Dissociate all records from bond: ```bash -$ chiba cns bond records dissociate --bond-id 5c40abd336ae1561f2a1b55be73b12f5a083080bf879b4c9288d182d238badb0 +$ laconic cns bond records dissociate --bond-id 5c40abd336ae1561f2a1b55be73b12f5a083080bf879b4c9288d182d238badb0 ``` Reassociate records (switch bond): ```bash -$ chiba cns bond records reassociate --old-bond-id 5c40abd336ae1561f2a1b55be73b12f5a083080bf879b4c9288d182d238badb0 --new-bond-id 3e11c61f179897e4b12e9b63de35d36f88ac146755e7a28ce0bcdd07cf3a03ae +$ laconic cns bond records reassociate --old-bond-id 5c40abd336ae1561f2a1b55be73b12f5a083080bf879b4c9288d182d238badb0 --new-bond-id 3e11c61f179897e4b12e9b63de35d36f88ac146755e7a28ce0bcdd07cf3a03ae ``` diff --git a/config.example.yml b/config.example.yml index b2f433b..b96ee87 100644 --- a/config.example.yml +++ b/config.example.yml @@ -4,4 +4,4 @@ services: gqlEndpoint: 'http://localhost:9473/api' userKey: bondId: - chainId: chibaclonk_9000-1 + chainId: laconic_9000-1 diff --git a/package.json b/package.json index 3e169a9..65a47de 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { - "name": "chiba-clonk-sdk", + "name": "laconic-sdk", "version": "0.1.0", "main": "index.js", - "repository": "git@github.com:vulcanize/chiba-clonk-sdk.git", + "repository": "git@github.com:cerc-io/laconic-sdk.git", "author": "", "license": "UNLICENSED", "devDependencies": { @@ -14,7 +14,7 @@ "typescript": "^4.6.3" }, "dependencies": { - "chiba-clonk-client": "https://github.com/vulcanize/chiba-clonk-client.git#27a176fbade406a9c89599b6a0c81c1f0ca6e7cc", + "laconic-client": "https://github.com/cerc-io/laconic-client.git#27a176fbade406a9c89599b6a0c81c1f0ca6e7cc", "fs-extra": "^10.1.0", "js-yaml": "^4.1.0", "lodash": "^4.17.21", @@ -27,6 +27,6 @@ "build": "tsc" }, "bin": { - "chiba": "bin/chiba" + "laconic": "bin/laconic" } } diff --git a/src/cmds/cns-cmds/account-cmds/get.ts b/src/cmds/cns-cmds/account-cmds/get.ts index ab86588..aa8e9c6 100644 --- a/src/cmds/cns-cmds/account-cmds/get.ts +++ b/src/cmds/cns-cmds/account-cmds/get.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Account, Registry } from 'chiba-clonk-client'; +import { Account, Registry } from 'laconic-client'; import { getConfig, getConnectionInfo } from '../../../util'; diff --git a/src/cmds/cns-cmds/auction-cmds/bid-cmds/commit.ts b/src/cmds/cns-cmds/auction-cmds/bid-cmds/commit.ts index a15851b..8b98d99 100644 --- a/src/cmds/cns-cmds/auction-cmds/bid-cmds/commit.ts +++ b/src/cmds/cns-cmds/auction-cmds/bid-cmds/commit.ts @@ -1,7 +1,7 @@ import { Arguments } from 'yargs'; import assert from 'assert'; import path from 'path'; -import { Account, createBid, Registry } from 'chiba-clonk-client'; +import { Account, createBid, Registry } from 'laconic-client'; import { ensureDir } from 'fs-extra'; import fs from 'fs'; diff --git a/src/cmds/cns-cmds/auction-cmds/bid-cmds/reveal.ts b/src/cmds/cns-cmds/auction-cmds/bid-cmds/reveal.ts index 422d72f..323862f 100644 --- a/src/cmds/cns-cmds/auction-cmds/bid-cmds/reveal.ts +++ b/src/cmds/cns-cmds/auction-cmds/bid-cmds/reveal.ts @@ -1,7 +1,7 @@ import { Arguments } from 'yargs'; import assert from 'assert'; import path from 'path'; -import { Registry } from 'chiba-clonk-client'; +import { Registry } from 'laconic-client'; import fs from 'fs'; import { getConfig, getConnectionInfo, getGasAndFees } from '../../../../util'; diff --git a/src/cmds/cns-cmds/auction-cmds/get.ts b/src/cmds/cns-cmds/auction-cmds/get.ts index 7f9d934..7b8fa0f 100644 --- a/src/cmds/cns-cmds/auction-cmds/get.ts +++ b/src/cmds/cns-cmds/auction-cmds/get.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'chiba-clonk-client'; +import { Registry } from 'laconic-client'; import { getConfig, getConnectionInfo } from '../../../util'; diff --git a/src/cmds/cns-cmds/authority-cmds/bond-cmds/set.ts b/src/cmds/cns-cmds/authority-cmds/bond-cmds/set.ts index 5ef9936..8a67c7a 100644 --- a/src/cmds/cns-cmds/authority-cmds/bond-cmds/set.ts +++ b/src/cmds/cns-cmds/authority-cmds/bond-cmds/set.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'chiba-clonk-client'; +import { Registry } from 'laconic-client'; import { getConfig, getConnectionInfo, getGasAndFees } from '../../../../util'; diff --git a/src/cmds/cns-cmds/authority-cmds/reserve.ts b/src/cmds/cns-cmds/authority-cmds/reserve.ts index 66e3bea..fd0fcde 100644 --- a/src/cmds/cns-cmds/authority-cmds/reserve.ts +++ b/src/cmds/cns-cmds/authority-cmds/reserve.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'chiba-clonk-client'; +import { Registry } from 'laconic-client'; import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util'; diff --git a/src/cmds/cns-cmds/authority-cmds/whois.ts b/src/cmds/cns-cmds/authority-cmds/whois.ts index aad9887..8172a04 100644 --- a/src/cmds/cns-cmds/authority-cmds/whois.ts +++ b/src/cmds/cns-cmds/authority-cmds/whois.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'chiba-clonk-client'; +import { Registry } from 'laconic-client'; import { getConfig, getConnectionInfo } from '../../../util'; diff --git a/src/cmds/cns-cmds/bond-cmds/associate.ts b/src/cmds/cns-cmds/bond-cmds/associate.ts index e2546db..190af67 100644 --- a/src/cmds/cns-cmds/bond-cmds/associate.ts +++ b/src/cmds/cns-cmds/bond-cmds/associate.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'chiba-clonk-client'; +import { Registry } from 'laconic-client'; import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util'; diff --git a/src/cmds/cns-cmds/bond-cmds/cancel.ts b/src/cmds/cns-cmds/bond-cmds/cancel.ts index 1520bf3..0f0e399 100644 --- a/src/cmds/cns-cmds/bond-cmds/cancel.ts +++ b/src/cmds/cns-cmds/bond-cmds/cancel.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'chiba-clonk-client'; +import { Registry } from 'laconic-client'; import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util'; diff --git a/src/cmds/cns-cmds/bond-cmds/create.ts b/src/cmds/cns-cmds/bond-cmds/create.ts index b3e016d..5cac327 100644 --- a/src/cmds/cns-cmds/bond-cmds/create.ts +++ b/src/cmds/cns-cmds/bond-cmds/create.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'chiba-clonk-client'; +import { Registry } from 'laconic-client'; import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util'; diff --git a/src/cmds/cns-cmds/bond-cmds/dissociate.ts b/src/cmds/cns-cmds/bond-cmds/dissociate.ts index 716608f..9018cac 100644 --- a/src/cmds/cns-cmds/bond-cmds/dissociate.ts +++ b/src/cmds/cns-cmds/bond-cmds/dissociate.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'chiba-clonk-client'; +import { Registry } from 'laconic-client'; import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util'; diff --git a/src/cmds/cns-cmds/bond-cmds/get.ts b/src/cmds/cns-cmds/bond-cmds/get.ts index 012e273..3412eb0 100644 --- a/src/cmds/cns-cmds/bond-cmds/get.ts +++ b/src/cmds/cns-cmds/bond-cmds/get.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'chiba-clonk-client'; +import { Registry } from 'laconic-client'; import { getConfig, getConnectionInfo } from '../../../util'; diff --git a/src/cmds/cns-cmds/bond-cmds/list.ts b/src/cmds/cns-cmds/bond-cmds/list.ts index 8aad1a3..4f5aab8 100644 --- a/src/cmds/cns-cmds/bond-cmds/list.ts +++ b/src/cmds/cns-cmds/bond-cmds/list.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'chiba-clonk-client'; +import { Registry } from 'laconic-client'; import { getConfig, getConnectionInfo } from '../../../util'; diff --git a/src/cmds/cns-cmds/bond-cmds/records-cmds/dissociate.ts b/src/cmds/cns-cmds/bond-cmds/records-cmds/dissociate.ts index f0bcf06..0e9b806 100644 --- a/src/cmds/cns-cmds/bond-cmds/records-cmds/dissociate.ts +++ b/src/cmds/cns-cmds/bond-cmds/records-cmds/dissociate.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'chiba-clonk-client'; +import { Registry } from 'laconic-client'; import { getConfig, getConnectionInfo, getGasAndFees } from '../../../../util'; diff --git a/src/cmds/cns-cmds/bond-cmds/records-cmds/reassociate.ts b/src/cmds/cns-cmds/bond-cmds/records-cmds/reassociate.ts index b8dda30..3ec3c7c 100644 --- a/src/cmds/cns-cmds/bond-cmds/records-cmds/reassociate.ts +++ b/src/cmds/cns-cmds/bond-cmds/records-cmds/reassociate.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'chiba-clonk-client'; +import { Registry } from 'laconic-client'; import { getConfig, getConnectionInfo, getGasAndFees } from '../../../../util'; diff --git a/src/cmds/cns-cmds/bond-cmds/refill.ts b/src/cmds/cns-cmds/bond-cmds/refill.ts index e00061e..72ecdb0 100644 --- a/src/cmds/cns-cmds/bond-cmds/refill.ts +++ b/src/cmds/cns-cmds/bond-cmds/refill.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'chiba-clonk-client'; +import { Registry } from 'laconic-client'; import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util'; diff --git a/src/cmds/cns-cmds/bond-cmds/withdraw.ts b/src/cmds/cns-cmds/bond-cmds/withdraw.ts index 0ac9d00..babe5e5 100644 --- a/src/cmds/cns-cmds/bond-cmds/withdraw.ts +++ b/src/cmds/cns-cmds/bond-cmds/withdraw.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'chiba-clonk-client'; +import { Registry } from 'laconic-client'; import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util'; diff --git a/src/cmds/cns-cmds/name-cmds/delete.ts b/src/cmds/cns-cmds/name-cmds/delete.ts index c7e9a55..b0df278 100644 --- a/src/cmds/cns-cmds/name-cmds/delete.ts +++ b/src/cmds/cns-cmds/name-cmds/delete.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'chiba-clonk-client'; +import { Registry } from 'laconic-client'; import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util'; diff --git a/src/cmds/cns-cmds/name-cmds/lookup.ts b/src/cmds/cns-cmds/name-cmds/lookup.ts index af8a1c8..b62364d 100644 --- a/src/cmds/cns-cmds/name-cmds/lookup.ts +++ b/src/cmds/cns-cmds/name-cmds/lookup.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'chiba-clonk-client'; +import { Registry } from 'laconic-client'; import { getConfig, getConnectionInfo } from '../../../util'; diff --git a/src/cmds/cns-cmds/name-cmds/resolve.ts b/src/cmds/cns-cmds/name-cmds/resolve.ts index 13e43f2..7b417cb 100644 --- a/src/cmds/cns-cmds/name-cmds/resolve.ts +++ b/src/cmds/cns-cmds/name-cmds/resolve.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'chiba-clonk-client'; +import { Registry } from 'laconic-client'; import { getConfig, getConnectionInfo } from '../../../util'; diff --git a/src/cmds/cns-cmds/name-cmds/set.ts b/src/cmds/cns-cmds/name-cmds/set.ts index f4d0b8b..80dae49 100644 --- a/src/cmds/cns-cmds/name-cmds/set.ts +++ b/src/cmds/cns-cmds/name-cmds/set.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'chiba-clonk-client'; +import { Registry } from 'laconic-client'; import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util'; diff --git a/src/cmds/cns-cmds/record-cmds/get.ts b/src/cmds/cns-cmds/record-cmds/get.ts index ad82d7e..0fec5e4 100644 --- a/src/cmds/cns-cmds/record-cmds/get.ts +++ b/src/cmds/cns-cmds/record-cmds/get.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'chiba-clonk-client'; +import { Registry } from 'laconic-client'; import { getConfig, getConnectionInfo } from '../../../util'; diff --git a/src/cmds/cns-cmds/record-cmds/list.ts b/src/cmds/cns-cmds/record-cmds/list.ts index 8bdc5ac..22c23aa 100644 --- a/src/cmds/cns-cmds/record-cmds/list.ts +++ b/src/cmds/cns-cmds/record-cmds/list.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'chiba-clonk-client'; +import { Registry } from 'laconic-client'; import { getConfig, getConnectionInfo } from '../../../util'; diff --git a/src/cmds/cns-cmds/record-cmds/publish.ts b/src/cmds/cns-cmds/record-cmds/publish.ts index 0a89a5a..b8ff3ae 100644 --- a/src/cmds/cns-cmds/record-cmds/publish.ts +++ b/src/cmds/cns-cmds/record-cmds/publish.ts @@ -3,7 +3,7 @@ import assert from 'assert'; import path from 'path'; import yaml from 'js-yaml'; import fs from 'fs'; -import { Registry } from 'chiba-clonk-client'; +import { Registry } from 'laconic-client'; import { getConfig, getGasAndFees, getConnectionInfo } from '../../../util'; diff --git a/src/cmds/cns-cmds/status.ts b/src/cmds/cns-cmds/status.ts index ad948e1..a794ac6 100644 --- a/src/cmds/cns-cmds/status.ts +++ b/src/cmds/cns-cmds/status.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'chiba-clonk-client'; +import { Registry } from 'laconic-client'; import { getConfig, getConnectionInfo } from '../../util'; diff --git a/src/cmds/cns-cmds/tokens-cmds/send.ts b/src/cmds/cns-cmds/tokens-cmds/send.ts index 1025710..2706320 100644 --- a/src/cmds/cns-cmds/tokens-cmds/send.ts +++ b/src/cmds/cns-cmds/tokens-cmds/send.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Account, Registry } from 'chiba-clonk-client'; +import { Account, Registry } from 'laconic-client'; import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util'; diff --git a/yarn.lock b/yarn.lock index 07fff37..48731c2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -721,32 +721,6 @@ chalk@^2.4.1: escape-string-regexp "^1.0.5" supports-color "^5.3.0" -"chiba-clonk-client@https://github.com/vulcanize/chiba-clonk-client.git#27a176fbade406a9c89599b6a0c81c1f0ca6e7cc": - version "0.1.0" - resolved "https://github.com/vulcanize/chiba-clonk-client.git#27a176fbade406a9c89599b6a0c81c1f0ca6e7cc" - dependencies: - "@cosmjs/amino" "^0.28.1" - "@cosmjs/crypto" "^0.28.1" - "@cosmjs/encoding" "^0.28.1" - "@ipld/dag-cbor" "^7.0.1" - "@ipld/dag-json" "^8.0.9" - "@metamask/eth-sig-util" "^4.0.0" - axios "^0.26.1" - bip32 "^3.0.1" - bip39 "^3.0.4" - canonical-json "^0.0.4" - ethers "^5.6.2" - evmosjs "^0.2.5" - graphql.js "^0.6.8" - is-url "^1.2.4" - js-sha256 "^0.9.0" - js-yaml "^4.1.0" - jsonschema "^1.4.0" - lodash "^4.17.21" - node-yaml "^4.0.1" - semver "^7.3.5" - tiny-secp256k1 "^2.2.1" - cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" @@ -1154,6 +1128,32 @@ keccak@^3.0.0: node-gyp-build "^4.2.0" readable-stream "^3.6.0" +"laconic-client@https://github.com/cerc-io/laconic-client.git#27a176fbade406a9c89599b6a0c81c1f0ca6e7cc": + version "0.1.0" + resolved "https://github.com/cerc-io/laconic-client.git#27a176fbade406a9c89599b6a0c81c1f0ca6e7cc" + dependencies: + "@cosmjs/amino" "^0.28.1" + "@cosmjs/crypto" "^0.28.1" + "@cosmjs/encoding" "^0.28.1" + "@ipld/dag-cbor" "^7.0.1" + "@ipld/dag-json" "^8.0.9" + "@metamask/eth-sig-util" "^4.0.0" + axios "^0.26.1" + bip32 "^3.0.1" + bip39 "^3.0.4" + canonical-json "^0.0.4" + ethers "^5.6.2" + evmosjs "^0.2.5" + graphql.js "^0.6.8" + is-url "^1.2.4" + js-sha256 "^0.9.0" + js-yaml "^4.1.0" + jsonschema "^1.4.0" + lodash "^4.17.21" + node-yaml "^4.0.1" + semver "^7.3.5" + tiny-secp256k1 "^2.2.1" + libsodium-wrappers@^0.7.6: version "0.7.10" resolved "https://registry.yarnpkg.com/libsodium-wrappers/-/libsodium-wrappers-0.7.10.tgz#13ced44cacb0fc44d6ac9ce67d725956089ce733"