Update record names
This commit is contained in:
parent
578f2153e8
commit
2c85935af4
@ -15,17 +15,17 @@
|
|||||||
```bash
|
```bash
|
||||||
cp config.example.yml config.yml
|
cp config.example.yml config.yml
|
||||||
|
|
||||||
# Get user key
|
# Change the gas value in config.yml
|
||||||
|
# gas: 500000
|
||||||
|
|
||||||
|
# Get user key and set it to userKey in config.yml
|
||||||
laconicd keys export alice --unarmored-hex --unsafe --keyring-backend test --home ~/.laconicd
|
laconicd keys export alice --unarmored-hex --unsafe --keyring-backend test --home ~/.laconicd
|
||||||
|
|
||||||
# Create a bond
|
# Create a bond
|
||||||
laconicd tx bond create 100000000000photon --fees 100photon --from alice
|
laconicd tx bond create 100000000000photon --fees 100photon --from alice
|
||||||
|
|
||||||
# Get the bond id
|
# Get the bond id and set it to bondId in config.yml
|
||||||
laconicd query bond list
|
laconicd query bond list
|
||||||
|
|
||||||
# Change the gas value
|
|
||||||
# gas: 500000
|
|
||||||
```
|
```
|
||||||
|
|
||||||
* Install the CLI:
|
* Install the CLI:
|
||||||
@ -41,7 +41,9 @@
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Publishes records and corresponding 'deployment' records
|
# Publishes records and corresponding 'deployment' records
|
||||||
|
|
||||||
# In laconic-registry-cli
|
# In laconic-registry-cli
|
||||||
|
# Use records dir path for '--records' as required
|
||||||
yarn ts-node demo/scripts/publish-records.ts --config config.yml --records demo/records
|
yarn ts-node demo/scripts/publish-records.ts --config config.yml --records demo/records
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -154,7 +154,7 @@ function getArgs (): any {
|
|||||||
})
|
})
|
||||||
.option('records', {
|
.option('records', {
|
||||||
alias: 'r',
|
alias: 'r',
|
||||||
describe: 'Endpoint records',
|
describe: 'Records dir path',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
demandOption: true
|
demandOption: true
|
||||||
})
|
})
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
||||||
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
|
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
|
||||||
"typeRoots": [
|
"typeRoots": [
|
||||||
"./src/types"
|
"./demo/types"
|
||||||
],
|
],
|
||||||
// "types": [], /* Specify type package names to be included without being referenced in a source file. */
|
// "types": [], /* Specify type package names to be included without being referenced in a source file. */
|
||||||
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
|
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
|
||||||
@ -100,6 +100,6 @@
|
|||||||
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
|
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
|
||||||
"skipLibCheck": true /* Skip type checking all .d.ts files. */
|
"skipLibCheck": true /* Skip type checking all .d.ts files. */
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src", "demo"],
|
||||||
"exclude": ["test"]
|
"exclude": ["test"]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user