Kaia Service SDK is a monorepo of all the services in the Kaia ecosystem. Check out Quick Usage to integrate the services in the dapp
Implementation of the following features using the Hardhat development environment:
Implementations:
- PoolBased Transfer
- PoolBased Transfer Refund
- MintCanoncialToken
- MintCanoncialToken Refund
- BurnCanoncialToken
- BurnCanoncialToken Refund
Implementations:
Integration of the following 5 DEX contracts:
To use kaia-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.
- @kaiachain/kss-bridges-wormhole - Contains Wormhole integration
- @kaiachain/kss-bridges-celer - Contains Celer integration
- @kaiachain/kss-dexs - Contains Dexs integration
- @kaiachain/kss-oracles - Contains Oracles integration
- @kaiachain/kss-cli - Contains CLI features
If you would like to explore current repository, please follow below instructions.
- git
- You'll know you did it right if you can run
git --version
and you see a response likegit version x.x.x
- You'll know you did it right if you can run
- Nodejs
- You'll know you've installed nodejs right if you can run:
node --version
and get an output like:vx.x.x
- You'll know you've installed nodejs right if you can run:
- 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
- You'll know you've installed yarn right if you can run:
If you're familiar with
npx
andnpm
instead ofyarn
, you can usenpx
for execution andnpm
for installing dependencies.
After installing all the requirements, run the following to setup locally:
git clone https://github.com/kaiachain/kaia-service-sdk
cd kaia-service-sdk
then
yarn
or
npm i
You can run the scripts from respective packages by cd
into the packages.
In line with our commitment to decentralization, all Kaia codebase and its documentations are completely open source. Kaia 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: