1.2.3 • Published 6 months 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 install
npm run start
- A new JSON filed is created at
./output-specs
folder (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.json
file - Update
version
variable (mandatory) npm login
, then log-in GIT's accountnpm publish
- Go to