@q-dev/gdk-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-rc.7 • Public • Published

GDK SDK

Typescript Library to interact with GDK Contracts

Installation

Install package as dependency:

npm install --save @q-dev/q-gdk/gdk-sdk

or

yarn add @q-dev/q-gdk/gdk-sdk

Requirements

Local development

Install packages

npm install

Generate types

npm run generate-types

If 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-commit

Run tests

You may run tests via

npm run test

Get 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.

Resources

License

LGPL-3.0

Package Sidebar

Install

npm i @q-dev/gdk-sdk

Weekly Downloads

35

Version

1.0.0-rc.7

License

LGPL-3.0

Unpacked Size

3.68 MB

Total Files

431

Last publish

Collaborators

  • aostrun
  • tynuk
  • misterzett
  • tbltzk