/cord.js

Cord JS API

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Data Fabric SDK

The SDK provides collection of classes and methods to interact with Data Fabric Service.

Install the SDK

Install the SDK by running the following commands:

npm install @cord.network/api

Or with yarn:

yarn add @cord.network/api

Build to see changes

Clone this repo and navigate into it.

yarn

Note that before you see your changes from the SDK, you have to build it, by executing a build:

yarn run build

Test the SDK

Note that before you see your changes from the SDK, you have to build it, by executing a build:

Running Unit Test Suite

yarn test

Running a module test

yarn test ./packages/core/src/mark/Mark.spec.ts

Running the Integration Test Suite (require access to cord)

yarn test:integration

Running the Integration Test Suite for a module (require access to cord)

yarn test:integration:run ./packages/core/src/__integrationtests__/Mark.spec.ts