Update record names

This commit is contained in:
Prathamesh Musale 2024-05-09 11:56:57 +05:30
parent 578f2153e8
commit 2c85935af4
27 changed files with 10 additions and 8 deletions

View File

@ -15,17 +15,17 @@
```bash
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
# Create a bond
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
# Change the gas value
# gas: 500000
```
* Install the CLI:
@ -41,7 +41,9 @@
```bash
# Publishes records and corresponding 'deployment' records
# 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
```

View File

@ -154,7 +154,7 @@ function getArgs (): any {
})
.option('records', {
alias: 'r',
describe: 'Endpoint records',
describe: 'Records dir path',
type: 'string',
demandOption: true
})

View File

@ -31,7 +31,7 @@
// "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. */
"typeRoots": [
"./src/types"
"./demo/types"
],
// "types": [], /* Specify type package names to be included without being referenced in a source file. */
// "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. */
"skipLibCheck": true /* Skip type checking all .d.ts files. */
},
"include": ["src"],
"include": ["src", "demo"],
"exclude": ["test"]
}