1.0.30-beta.1 • Published 10 months ago

@kimafinance/kima-transaction-api v1.0.30-beta.1

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Kima Transaction API

Build & Deploy npm version Download NPM

A wrapper around Kima's API, enabling sending and monitoring transactions. This is for beta version

Install

npm install --save @kimafinance/kima-transaction-api
yarn add @kimafinance/kima-transaction-api

Usage

import {
  submitKimaTransaction,
  SupportNetworks,
  CurrencyOptions,
} from "@kimafinance/kima-transaction-backend";

const txResult = await submitKimaTransaction({
  originAddress: "0x1234123412341234123412341234123412341234",
  originChain: "ETH",
  targetAddress: "0x1234123412341234123412341234123412341234",
  targetChain: "POL",
  symbol: "USDK",
  amount: 100,
  fee: 0.3,
});

Available Functions

submitKimaTransaction : Submit a transaction to transfer liquidity from one change to another.

- `originAddress`: sending address
- `originChain`: sending chain
- `targetAddress`: receiving address
- `targetChain`: receiving chain
- `symbol`: token symbol
- `amount`: amount of token to transfer
- `fee`: amount of token that kima consumes to pay gas fee for pulling & releasing token transactions

Environment Variables

KIMA_BACKEND_MNEMONIC : Seed phrase of developer wallet. This wallet must have KIMA token to submit a transaction to kima chain. KIMA_BACKEND_NODE_PROVIDER : Node provider for kima chain

1.0.30-beta.1

10 months ago

1.0.29-beta.1

11 months ago

1.0.28-beta.1

1 year ago

1.0.27-beta.1

1 year ago

1.0.25-beta.1

1 year ago

1.0.26-beta.1

1 year ago

1.0.24-beta.1

1 year ago

1.0.23-beta.1

1 year ago

1.0.22-beta.1

1 year ago

1.0.21-beta.1

2 years ago

1.0.19-beta.1

2 years ago

1.0.20-beta.1

2 years ago

1.0.11-beta.1

2 years ago

1.0.18-beta.1

2 years ago

1.0.17-beta.1

2 years ago

1.0.10-beta.1

2 years ago

1.0.9-beta.1

2 years ago

1.0.8-beta.1

2 years ago

1.0.16-beta.1

2 years ago

1.0.15-beta.1

2 years ago

1.0.12-beta.1

2 years ago

1.0.13-beta.1

2 years ago

1.0.14-beta.1

2 years ago

1.0.7-beta.1

2 years ago

1.0.6-beta.1

2 years ago

1.0.5-beta.1

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

3 years ago

1.0.0

3 years ago