8000 GitHub - kvdevlopment/cord.js: Cord JS API
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kvdevlopment/cord.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# CORD.js

CORD.js is a JavaScript library that provides a collection of classes and methods to interact with the Cord network.

## Table of Contents

1. [Building the SDK](#building-the-sdk)
2. [Experimenting with SDK Methods](#experimenting-with-sdk-methods)
3. [Consuming the SDK in Your Project](#consuming-the-sdk-in-your-project)

## Building the SDK

To build the SDK and see changes, follow these steps:

1. **Clone this repository to your local machine:**

git clone <repository_url> cd <repository_directory>

**Install dependencies using yarn:**

yarn install

**
 **Build the SDK:**
**

yarn build

## Experimenting with SDK Methods

### Demo Methods

Once the SDK is built, you can experiment with the provided methods.

#### Statement Method

The `demo-statement` method allows you to interact with statement-related functionalities.

To run the statement demo, execute the following command:

yarn run demo-statement

#### Network Score Method

The `demo-network-score` method demonstrates methods related to network scores.

To run the network score demo, execute the following command:
#### Asset Method

The `demo-asset` method showcases methods related to assets.

To run the asset demo, execute the following command:

yarn run demo-asset

The output of each demo script will demonstrate the functionality of the corresponding method. For a detailed structure of the demo scripts, refer to the source code.

## Consuming the SDK in Your Project

To use the SDK in your project, follow these steps:

1. **Navigate to your project directory.**

2. **Install the SDK using npm or yarn:**

npm install @cord.network/sdk

Or with yarn:

yarn add @cord.network/sdk

Once installed, you can import and utilize the SDK in your project as needed.

About

Cord JS API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.9%
  • JavaScript 1.1%
0