Skip to main content

BantuPay SDK

Project description

BantuPay SDK


Using pip to include bantupay-sdk in your own project:

 $ pip install bantupay-sdk

Getting started

  • Use the following code to create key pair.
from bantupay_sdk import account

keyPair = account() # keyPair will now contain this structure {secret: '', publicKey: ''}
  • Use the folowing code to sign http data
from bantupay_sdk import sign_http

http_Sign = sign_http(
  '{username: "proxie"}',
); # Secret key gotten from the create account method.
  • Use this to Sign a transaction
from bantupay_sdk import sign_txn

const signTxn = bantuSDK.signTxn(
  "Bantu Testnet"

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bantupay-sdk-0.0.4.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

bantupay_sdk-0.0.4-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page