@q-dev/gdk-sdk
v1.0.0-rc.16
Published
Typescript Library to interact with GDK Contracts
Downloads
88
Readme
Documentation • GDK Contracts • Q Blockchain
Installation
Install package as dependency:
npm install --save @q-dev/q-gdk/gdk-sdkor
yarn add @q-dev/q-gdk/gdk-sdkRequirements
Local development
Install packages
npm installGenerate types
npm run generate-typesIf generate-types indicates 0 matching files (on Windows machines) you can try the adapted script npm run generate-types-win
Contribute
Make sure to run pre-commit script before commit
npm run pre-commitRun tests
You may run tests via
npm run testGet access to private Gitlab registry
Log in to GitLab NPM package registry. You need a gitlab personal access token with read_api option enabled. This can be created via GitLab User Settings / Access Tokens.
npm config set '//gitlab.com/api/v4/packages/npm/:_authToken' <YOUR_ACCESS_TOKEN>Furthermore, you need to tell npm that all q-dev packages should be resolved via private gitlab registry. Create a file .npmrc with the following content:
@q-dev:registry=https://gitlab.com/api/v4/packages/npm/Code of Conduct
This project and everyone participating in it is governed by the GDK SDK Code of Conduct. By participating, you are expected to uphold this code.
