Part of [Create a public laconicd testnet](https://www.notion.so/Create-a-public-laconicd-testnet-896a11bdd8094eff8f1b49c0be0ca3b8) Handles the error in `LOOKUP` tab in the console: ```bash Error: Cannot destructure property 'limit' of 'attributes' as it is undefined. ``` Co-authored-by: IshaVenikar <ishavenikar7@gmail.com> Reviewed-on: cerc-io/laconic-console#61 Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com> Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com> |
||
|---|---|---|
| .gitea/workflows | ||
| .github/workflows | ||
| public | ||
| scripts | ||
| src | ||
| .gitignore | ||
| app.yml | ||
| babel.config.js | ||
| build-webapp.sh | ||
| CHANGELOG.md | ||
| config-hosted.yml | ||
| config-kube.yml | ||
| config-local.yml | ||
| config-production.yml | ||
| config-testnet.yml | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| version.ejs | ||
| webpack-analyzer.config.js | ||
| webpack-common.config.js | ||
| webpack.config.js | ||
| yarn.lock | ||
Console
Laconic console application.
User interface for submitting and reading records registered on Laconic.
Development
-
Clone the required repos:
-
git clone git@git.vdb.to:cerc-io/laconicd.git
-
-
Run the
laconicdchain:-
In laconicd repo, start the chain
./scripts/init.sh clean
-
-
Run the laconic-console app
-
From the root of this repo, run:
yarnNOTE: There is a warning containing error while installing dependencies
warning Error running install script for optional dependency: ".../laconic-console/node_modules/sodium-native: Command failed. Exit code: 1 ... Error: ./configure exited with 127This can be ignored as it is an error for installing optional dependency
-
Start the app:
CONFIG_FILE=config-local.yml yarn start -
Open console at http://localhost:8080
-
To view records in the console, the test suite in registry-sdk can be run
-
Clone the registry-sdk repo:
git clone git@git.vdb.to:cerc-io/registry-sdk.git -
In registry-sdk repo, copy .env.example file and create a
.envfilecp .env.example .env -
Export the private key using:
laconicd keys export alice --keyring-backend test --unarmored-hex --unsafe -
Copy the private key exported above and assign it to variable
PRIVATE_KEYin the.envfile. -
Install dependencies
yarn -
Run the tests in registry-sdk repo:
yarn testNOTE: One test from util.test.ts fails as mentioned in the PR
-
Open console at http://localhost:8080 to view the records.
-
-