Changes to suit repo renaming #5
10
README.md
10
README.md
@ -1,12 +1,12 @@
|
|||||||
# laconic-sdk
|
# laconic-cns-client
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
* Run `yarn` to install all dependencies.
|
* Run `yarn` to install all dependencies.
|
||||||
|
|
||||||
* This repo uses laconic-client. We will need to use this locally.
|
* This repo uses laconic-sdk. We will need to use this locally.
|
||||||
|
|
||||||
* Run the following in [laconic-client repo](https://github.com/vulcanize/laconic-client):
|
* Run the following in [laconic-sdk repo](https://github.com/vulcanize/laconic-sdk):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ yarn
|
$ yarn
|
||||||
@ -16,10 +16,10 @@
|
|||||||
$ yarn link
|
$ yarn link
|
||||||
```
|
```
|
||||||
|
|
||||||
* In laconic-sdk repo run:
|
* In laconic-cns-cli repo run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ yarn link laconic-client
|
$ yarn link laconic-sdk
|
||||||
```
|
```
|
||||||
|
|
||||||
* Create a `config.yml` file from [config.example.yml](./config.example.yml) file.
|
* Create a `config.yml` file from [config.example.yml](./config.example.yml) file.
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "laconic-sdk",
|
"name": "laconic-cns-cli",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"repository": "git@github.com:cerc-io/laconic-sdk.git",
|
"repository": "git@github.com:cerc-io/laconic-cns-cli.git",
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "UNLICENSED",
|
"license": "UNLICENSED",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fs-extra": "^10.1.0",
|
"fs-extra": "^10.1.0",
|
||||||
"laconic-client": "https://github.com/cerc-io/laconic-client.git#dboreham/release",
|
"laconic-sdk": "https://github.com/cerc-io/laconic-sdk.git#dboreham/release",
|
||||||
"js-yaml": "^3.14.1",
|
"js-yaml": "^3.14.1",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"lodash-clean": "^2.2.3",
|
"lodash-clean": "^2.2.3",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Arguments } from 'yargs';
|
import { Arguments } from 'yargs';
|
||||||
import assert from 'assert';
|
import assert from 'assert';
|
||||||
import { Account, Registry } from 'laconic-client';
|
import { Account, Registry } from 'laconic-sdk';
|
||||||
|
|
||||||
import { getConfig, getConnectionInfo } from '../../../util';
|
import { getConfig, getConnectionInfo } from '../../../util';
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { Arguments } from 'yargs';
|
import { Arguments } from 'yargs';
|
||||||
import assert from 'assert';
|
import assert from 'assert';
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
import { Account, createBid, Registry } from 'laconic-client';
|
import { Account, createBid, Registry } from 'laconic-sdk';
|
||||||
import { ensureDir } from 'fs-extra';
|
import { ensureDir } from 'fs-extra';
|
||||||
import fs from 'fs';
|
import fs from 'fs';
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { Arguments } from 'yargs';
|
import { Arguments } from 'yargs';
|
||||||
import assert from 'assert';
|
import assert from 'assert';
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
import { Registry } from 'laconic-client';
|
import { Registry } from 'laconic-sdk';
|
||||||
import fs from 'fs';
|
import fs from 'fs';
|
||||||
|
|
||||||
import { getConfig, getConnectionInfo, getGasAndFees } from '../../../../util';
|
import { getConfig, getConnectionInfo, getGasAndFees } from '../../../../util';
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Arguments } from 'yargs';
|
import { Arguments } from 'yargs';
|
||||||
import assert from 'assert';
|
import assert from 'assert';
|
||||||
import { Registry } from 'laconic-client';
|
import { Registry } from 'laconic-sdk';
|
||||||
|
|
||||||
import { getConfig, getConnectionInfo } from '../../../util';
|
import { getConfig, getConnectionInfo } from '../../../util';
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Arguments } from 'yargs';
|
import { Arguments } from 'yargs';
|
||||||
import assert from 'assert';
|
import assert from 'assert';
|
||||||
import { Registry } from 'laconic-client';
|
import { Registry } from 'laconic-sdk';
|
||||||
|
|
||||||
import { getConfig, getConnectionInfo, getGasAndFees } from '../../../../util';
|
import { getConfig, getConnectionInfo, getGasAndFees } from '../../../../util';
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Arguments } from 'yargs';
|
import { Arguments } from 'yargs';
|
||||||
import assert from 'assert';
|
import assert from 'assert';
|
||||||
import { Registry } from 'laconic-client';
|
import { Registry } from 'laconic-sdk';
|
||||||
|
|
||||||
import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util';
|
import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util';
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Arguments } from 'yargs';
|
import { Arguments } from 'yargs';
|
||||||
import assert from 'assert';
|
import assert from 'assert';
|
||||||
import { Registry } from 'laconic-client';
|
import { Registry } from 'laconic-sdk';
|
||||||
|
|
||||||
import { getConfig, getConnectionInfo } from '../../../util';
|
import { getConfig, getConnectionInfo } from '../../../util';
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Arguments } from 'yargs';
|
import { Arguments } from 'yargs';
|
||||||
import assert from 'assert';
|
import assert from 'assert';
|
||||||
import { Registry } from 'laconic-client';
|
import { Registry } from 'laconic-sdk';
|
||||||
|
|
||||||
import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util';
|
import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util';
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Arguments } from 'yargs';
|
import { Arguments } from 'yargs';
|
||||||
import assert from 'assert';
|
import assert from 'assert';
|
||||||
import { Registry } from 'laconic-client';
|
import { Registry } from 'laconic-sdk';
|
||||||
|
|
||||||
import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util';
|
import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util';
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Arguments } from 'yargs';
|
import { Arguments } from 'yargs';
|
||||||
import assert from 'assert';
|
import assert from 'assert';
|
||||||
import { Registry } from 'laconic-client';
|
import { Registry } from 'laconic-sdk';
|
||||||
|
|
||||||
import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util';
|
import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util';
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Arguments } from 'yargs';
|
import { Arguments } from 'yargs';
|
||||||
import assert from 'assert';
|
import assert from 'assert';
|
||||||
import { Registry } from 'laconic-client';
|
import { Registry } from 'laconic-sdk';
|
||||||
|
|
||||||
import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util';
|
import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util';
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Arguments } from 'yargs';
|
import { Arguments } from 'yargs';
|
||||||
import assert from 'assert';
|
import assert from 'assert';
|
||||||
import { Registry } from 'laconic-client';
|
import { Registry } from 'laconic-sdk';
|
||||||
|
|
||||||
import { getConfig, getConnectionInfo } from '../../../util';
|
import { getConfig, getConnectionInfo } from '../../../util';
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Arguments } from 'yargs';
|
import { Arguments } from 'yargs';
|
||||||
import assert from 'assert';
|
import assert from 'assert';
|
||||||
import { Registry } from 'laconic-client';
|
import { Registry } from 'laconic-sdk';
|
||||||
|
|
||||||
import { getConfig, getConnectionInfo } from '../../../util';
|
import { getConfig, getConnectionInfo } from '../../../util';
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Arguments } from 'yargs';
|
import { Arguments } from 'yargs';
|
||||||
import assert from 'assert';
|
import assert from 'assert';
|
||||||
import { Registry } from 'laconic-client';
|
import { Registry } from 'laconic-sdk';
|
||||||
|
|
||||||
import { getConfig, getConnectionInfo, getGasAndFees } from '../../../../util';
|
import { getConfig, getConnectionInfo, getGasAndFees } from '../../../../util';
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Arguments } from 'yargs';
|
import { Arguments } from 'yargs';
|
||||||
import assert from 'assert';
|
import assert from 'assert';
|
||||||
import { Registry } from 'laconic-client';
|
import { Registry } from 'laconic-sdk';
|
||||||
|
|
||||||
import { getConfig, getConnectionInfo, getGasAndFees } from '../../../../util';
|
import { getConfig, getConnectionInfo, getGasAndFees } from '../../../../util';
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Arguments } from 'yargs';
|
import { Arguments } from 'yargs';
|
||||||
import assert from 'assert';
|
import assert from 'assert';
|
||||||
import { Registry } from 'laconic-client';
|
import { Registry } from 'laconic-sdk';
|
||||||
|
|
||||||
import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util';
|
import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util';
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Arguments } from 'yargs';
|
import { Arguments } from 'yargs';
|
||||||
import assert from 'assert';
|
import assert from 'assert';
|
||||||
import { Registry } from 'laconic-client';
|
import { Registry } from 'laconic-sdk';
|
||||||
|
|
||||||
import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util';
|
import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util';
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Arguments } from 'yargs';
|
import { Arguments } from 'yargs';
|
||||||
import assert from 'assert';
|
import assert from 'assert';
|
||||||
import { Registry } from 'laconic-client';
|
import { Registry } from 'laconic-sdk';
|
||||||
|
|
||||||
import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util';
|
import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util';
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Arguments } from 'yargs';
|
import { Arguments } from 'yargs';
|
||||||
import assert from 'assert';
|
import assert from 'assert';
|
||||||
import { Registry } from 'laconic-client';
|
import { Registry } from 'laconic-sdk';
|
||||||
|
|
||||||
import { getConfig, getConnectionInfo } from '../../../util';
|
import { getConfig, getConnectionInfo } from '../../../util';
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Arguments } from 'yargs';
|
import { Arguments } from 'yargs';
|
||||||
import assert from 'assert';
|
import assert from 'assert';
|
||||||
import { Registry } from 'laconic-client';
|
import { Registry } from 'laconic-sdk';
|
||||||
|
|
||||||
import { getConfig, getConnectionInfo } from '../../../util';
|
import { getConfig, getConnectionInfo } from '../../../util';
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Arguments } from 'yargs';
|
import { Arguments } from 'yargs';
|
||||||
import assert from 'assert';
|
import assert from 'assert';
|
||||||
import { Registry } from 'laconic-client';
|
import { Registry } from 'laconic-sdk';
|
||||||
|
|
||||||
import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util';
|
import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util';
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Arguments } from 'yargs';
|
import { Arguments } from 'yargs';
|
||||||
import assert from 'assert';
|
import assert from 'assert';
|
||||||
import { Registry } from 'laconic-client';
|
import { Registry } from 'laconic-sdk';
|
||||||
|
|
||||||
import { getConfig, getConnectionInfo } from '../../../util';
|
import { getConfig, getConnectionInfo } from '../../../util';
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Arguments } from 'yargs';
|
import { Arguments } from 'yargs';
|
||||||
import assert from 'assert';
|
import assert from 'assert';
|
||||||
import { Registry } from 'laconic-client';
|
import { Registry } from 'laconic-sdk';
|
||||||
|
|
||||||
import { getConfig, getConnectionInfo } from '../../../util';
|
import { getConfig, getConnectionInfo } from '../../../util';
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ import assert from 'assert';
|
|||||||
import path from 'path';
|
import path from 'path';
|
||||||
import yaml from 'js-yaml';
|
import yaml from 'js-yaml';
|
||||||
import fs from 'fs';
|
import fs from 'fs';
|
||||||
import { Registry } from 'laconic-client';
|
import { Registry } from 'laconic-sdk';
|
||||||
|
|
||||||
import { getConfig, getGasAndFees, getConnectionInfo } from '../../../util';
|
import { getConfig, getGasAndFees, getConnectionInfo } from '../../../util';
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Arguments } from 'yargs';
|
import { Arguments } from 'yargs';
|
||||||
import assert from 'assert';
|
import assert from 'assert';
|
||||||
import { Registry } from 'laconic-client';
|
import { Registry } from 'laconic-sdk';
|
||||||
|
|
||||||
import { getConfig, getConnectionInfo } from '../../util';
|
import { getConfig, getConnectionInfo } from '../../util';
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Arguments } from 'yargs';
|
import { Arguments } from 'yargs';
|
||||||
import assert from 'assert';
|
import assert from 'assert';
|
||||||
import { Account, Registry } from 'laconic-client';
|
import { Account, Registry } from 'laconic-sdk';
|
||||||
|
|
||||||
import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util';
|
import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user