Skip to main content

Getting Started

In this example, we'll be connecting our python program to a ULedger blockchain and blockchain services. This is important because, to successfully use the SDK, we need to have a session created that will connect us with the network. Once this is set up, we'll be able to push and pull transactions.


Before running the Python script, make sure you have the following prerequisites:

  • Python installed on your system (at least version 3.8).

  • The ULedger Python SDK installed from pip.

  • Node Url, Blockchain ID, API Key. This are provided by the ULedger support team.


If you don't have any of these yet, please fill out the information in this form.

A member of our team will get back to you within 48 hours of receiving your inquiry providing the required information.

Import/Install SDK

To get started with the ULedger Python SDK, you'll need to install it using pip. Follow these steps:

  1. Open your terminal or command prompt.

  2. Use pip to install the ULedger Python SDK. Run the following command:

pip install uledger

You can also specify specific versions pip install uledger==0.1.5

Once the installation is complete, you can import the SDK into your Python code as follows:

from uledger import ULedger

You are now ready to start using the ULedger Python SDK for your blockchain applications.

© 2023 ULedger Inc. All rights reserved