Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
/ klaytn-service-sdk Public archive

A MonoRepo for all the ecosystem tools to build in Klaytn.

License

Notifications You must be signed in to change notification settings

klaytn/klaytn-service-sdk

Repository files navigation

No Maintenance Intended

NO LONGER MAINTAINED

Important

Since the launch of Kaia Blockchain, this repository has been parked in favour of the new open-source projects in Kaia's Github. Contributors have now moved there continuing with massive open-source contributions to our blockchain ecosystem. A big thank you to everyone who has contributed to this repository.

For future development and contributions, please refer to the new kaia-service-sdk repository

More information about Klaytn's chain merge with Finschia blockchain, please refer to the launching of Kaia blockchain kaia.io.


Logo


Klaytn Service SDK

Klaytn Service SDK is a monorepo of all the services in the Klaytn ecosystem. Check out Quick Usage to integrate the services in the dapp

Oracles Module

Witnet

Implementation of the following features using the Hardhat development environment:

Bridges Module

Celer Bridge

Implementations:

Wormhole Bridge

Implementations:

DEX Module

Open source DEX

Integration of the following 5 DEX contracts:

Getting started

Quick Usage

To use klaytn-service-sdk, you can import the below npm packages in an existing nodejs project. Instructions for importing the package and utilizing its features can be found in the readme provided in the links below.

Setup Locally

If you would like to explore current repository, please follow below instructions.

Requirement

  • git
    • You'll know you did it right if you can run git --version and you see a response like git version x.x.x
  • Nodejs
    • You'll know you've installed nodejs right if you can run:
      • node --versionand get an output like: vx.x.x
  • Yarn instead of npm
    • You'll know you've installed yarn right if you can run:
      • yarn --version And get an output like: x.x.x
      • You might need to install it with npm

If you're familiar with npx and npm instead of yarn, you can use npx for execution and npm for installing dependencies.

Steps to setup locally

After installing all the requirements, run the following to setup locally:

git clone https://github.com/klaytn/klaytn-service-sdk
cd klaytn-service-sdk

then

yarn

or

npm i

Usage

You can run the scripts from respective packages by cd into the packages.

Want to Contribute to Klaytn Service SDK?

In line with our commitment to decentralization, all Klaytn codebase and its documentations are completely open source. Klaytn always welcomes your contribution. Anyone can view, edit, fix its contents and make suggestions. You can either create a pull request on GitHub or create a enhancement request. Make sure to check our Contributor License Agreement (CLA) first and there are also a few guidelines our contributors would check out before contributing: