Kima Network Documentation
  • What is Kima?
  • Supported blockchains
  • Supported tokens
  • Supported fiat currencies and payment methods
  • Adding Kima to your wallet
  • Try Kima with the Demo App
    • The Kima Light Demo App
    • The Kima Advanced Demo App
    • Kima Faucets
    • Kima Block Explorer
  • Become a Kima validator
    • Hardware and operating system requirements
    • Installation
    • Appendix
  • Become a Kima delegator
    • Benefits
    • How does it work?
    • Preparations
    • Delegate
    • Reclaim delegation
  • Become a liquidity provider
    • Benefits
    • Supported blockchains
    • Prepare to provide liquidity
    • Deposit assets in Kima pools
    • Withdraw liquidity
  • Kima governance
    • Draft a proposal
    • On-chain proposal
    • Off-chain proposal
    • References
  • The Kima SDK
    • Kima Use Cases for Developers
    • The Kima Transaction Back End
    • The Kima Transaction Widget
      • Installation
      • React
      • NextJS
      • Payment Mode
      • Bridge Mode
      • Status Mode
      • Configuration Options
    • Upgrading
      • v1.4.x
    • Using the Kima SDK Without the Widget
      • Approval
      • Submitting the Transaction
      • Getting the Transaction Status
    • v1.4
      • Credit Card Transactions
      • Kima Use Cases for Developers
      • The Kima Transaction Back End
      • The Kima Transaction Widget
        • Installation
        • React
        • NextJS
        • Payment Mode
        • Bridge Mode
        • Status Mode
        • Configuration Options
      • Upgrading
        • v1.4.x
      • Using the Kima SDK Without the Widget
        • Transaction Data
        • Message Signing
        • Approval
        • Submitting the Transaction
        • Getting the Transaction Status
  • Further reading
  • Legal
    • Terms and conditions
    • Privacy policy
    • Disclaimer
  • FAQ
Powered by GitBook
On this page
  • Major Features
  • 🚨 Breaking Changes
  • Widget
  • Backend
  • ENV Variables
  • Disabling Credit Cards
Export as PDF
  1. The Kima SDK
  2. Upgrading

v1.4.x

Major Features

  • Support for credit cards as an origin network (onramping)- off ramping to come in a future release

  • Increased security by signing a message containing the transaction details

  • More accurate fee estimation. This endpont also returns the amounts used for the allowance and submtting the transaction.

🚨 Breaking Changes

UPGRADING TO v1.4.x IS REQUIRED FOR ALL KIMA SDK USERS. These new features introduce breaking changes to how Kima tranasctions are submitted and processed. Once these features are live on mainnet, transactions sent using an older version of the SDK will be rejected by the chain.

These features will be rolled out first to testnet so developers have a period of time to migrate their apps ahead of the mainnet release.

  • The Kima fee estimation endpoint must be used to calculate the gas and service fees. It returns a feeId which must be passed to the /submit endpoint in the backend.

  • The user must sign a message containing the transaction details and include the signature in the /submit request.

  • Credit card transactions cannot be processed using only the backend

    • The frontend kima-transaction-widget is required as it must handle KYC and interactions with 3rd party widgets.

  • The widget props excludedSourceNetworks and excludedTargetNetworks have been removed

    • This is now done on the backend using the KIMA_CHAIN_FILTER environment variable

Widget

npm install @kimafinance/kima-transaction-widget@1.4.0-rc.2

There are no new ENV variables or Widget props.

Backend

git fetch
git checkout dev-v1.4
git pull

ENV Variables

There are some new ENV vars and existing ones which have changed. See the .env.example file.

New ENV vars:

  • PAYMENT_PARTNER_ID: required for credit card transactions

    • Mainnet: Kima

    • Sardis Testnet: KimaTest

Changed:

  • KIMA_BACKEND_FEE_URL

    • Mainnet: TBD

    • Sardis Testnet: https://fcs.sardis.kima.network

Disabling Credit Cards

PreviousUpgradingNextUsing the Kima SDK Without the Widget

Last updated 10 hours ago

While we're in the testnet only period, install the . After mainnet launch, the final version will be published to NPM.

Navigate to the kima-transaction-backend repo. For the testnet only version change to the and and pull the latest version. After mainnet launch, the final version will be merged to main.

If your app should not support credit cards, the "Credit Card" network can be filtered out using an ENV variable in the .

RC version of the React Component
dev-v1.4 branch
Kima Transaction Backend > Chain Filtering