1.2.3 • Published 2 years ago
blocklens-sdk-testing v1.2.3
blocklens-sdk
This repository is used for building Blocklens SDK\ Here is the guideline for updating this repository
Prerequisites
- Clone GIT repositories for EVM APIs and Aptos APIs
- Install and run each repository
- Create new folder in root repository:
./output-specs npm installnpm run start- A new JSON filed is created at
./output-specsfolder (For ex:./output-specs/blocklens-evm-api.json)
- Create new folder in root repository:
Install and Publish
- Clone this repository
- Install
- Create new folder in root repository
./output-specs npm install- Copy these JSON files created above into folder
./output-specs(mandatory)
- Create new folder in root repository
- Generate new API files
npm run start- New API files will be generated at
./src/api(For ex:./src/blocklens-evm-api.ts)
- Build
npm run build
- Publish
- Go to
package.jsonfile - Update
versionvariable (mandatory) npm login, then log-in GIT's accountnpm publish
- Go to