Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nazarhussain/lisk-sdk-scripts
https://github.com/nazarhussain/lisk-sdk-scripts
Last synced: 29 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nazarhussain/lisk-sdk-scripts
- Owner: nazarhussain
- License: mit
- Created: 2020-04-20T07:43:18.000Z (almost 5 years ago)
- Default Branch: sdk-5.0
- Last Pushed: 2023-01-07T21:06:22.000Z (about 2 years ago)
- Last Synced: 2025-01-03T07:15:56.144Z (about 1 month ago)
- Language: TypeScript
- Size: 2.99 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lisk SKD Scripts
Collection of scripts which I used as day-to-day activities.
## Setup
1. Install dependencies
```bash
brew install jq
brew cask install homebrew/cask-versions/adoptopenjdk8
brew install swagger-codegen
```2. Copy latest configuration from SDK.
```bash
export LISK_SDK_REPO_PATH=/path/to/sdk/repo
cp -r $LISK_SDK_REPO_PATH/config .
```3. Generate latest API Clients
```bash
swagger-codegen generate \
-i $LISK_SDK_REPO_PATH/framework-plugins/lisk-framework-http-api-plugin/swagger.yml \
-l typescript-fetch \
-o ./api_clients/lisk-http-api-client \
-c ./api_clients/lisk-http-api-client-codegen.config.json \
--disable-examplesswagger-codegen generate \
-i $LISK_SDK_REPO_PATH/framework-plugins/lisk-framework-forger-plugin/swagger.yml \
-l typescript-fetch \
-o ./api_clients/lisk-forger-api-client \
-c ./api_clients/lisk-forger-api-client-codegen.config.json \
--disable-examplesyarn
cd api_clients/lisk-http-api-client; ../../node_modules/.bin/tsc;
cd api_clients/lisk-forger-api-client; ../../node_modules/.bin/tsc;
```Note: Its required to use `tsc` from main folder due to version issue with auto-generated package.json file.