Backend component

The backend component fulfills 3 main tasks:

  1. Collects user’s parameters and validates them.

  2. Signs a Kima transaction with the developer’s private Kima key, and submits the transaction to Kima.

  3. Communicates with the Kima blockchain to get updated on the transaction’s status.

The backend is a simple Express REST server + a TypeScript wrapper around the Kima API. It can be integrated into your server in one of 3 ways:

  1. Use our code as is.

  2. Implement our code into an existing REST server that exists in your dApp’s frontend.

  3. Run the server pre-packaged as a Docker container, providing parameters externally.

Last updated