Recently we announced that our Python SDK is now asynchronous, allowing it to process more transactions, more efficiently. We also mentioned that we are in the process of creating a simple service using our Python SDK to allow developers to quickly get up and running in production without having to create their own Python server solution. As promised, this service has arrived and comes dockerized and ready to be deployed to the host of your choice (AWS, Heroku, etc).

You might be asking “What it’s in box?”. There are two important components that you [the developer] will interact with using this Bootstrap Service. Those components are the Configuration and the API.

Configuration

The first component you’ll need to be aware of is the configuration file. This file contains important configurations that you’ll need for your service to function properly:

SEED — The seed of your Kin account

The seed of your Kin account HORIZON_ENDPOINT — The URL for the Kin blockchain

The URL for the Kin blockchain NETWORK_PASSPHRASE — The passphrase for the kin blockchain

The passphrase for the kin blockchain APP_ID — The app ID (used to identify transactions)

The app ID (used to identify transactions) CHANNEL_COUNT — How many channels to use.

How many channels to use. CHANNEL_STARTING_BALANCE — Initial Kin balance of each channel

Initial Kin balance of each channel CHANNEL_SALT — A string to be used when creating the channels

A string to be used when creating the channels PORT — Port to serve the app on

Port to serve the app on LOG_LEVEL — Log level, either “INFO” or “ERROR”

API

The next component you’ll need to understand is our API. This API provides you with all of the functionality you’ll need to get up and running with Kin in production. The API endpoints include:

Pay

Send Kin to an an address

Create

Create an account on the blockchain

Balance

Get the Kin balance of an account

Payment

Get info about a kin payment

Whitelist

Whitelist a transaction

Status

Get the current config/status of the service (Use as health check)