Skip to main content

A Libra client library

Project description

# Python Libra Client Library

## Overview

This library implements the core client facilities for interacting with the Libra blockchain. The intent is to demonstrate Libra’s APIs without either requiring reading extensive documentation or navigating Libra’s Rust code base.

## Components

lcs.py implements Libra Canonical Serialization

## Requirements

grpcio-tools for gRPC and Protocol Buffers

pynacl for cryptographic operations (Curve25519, Ed25519, Sha3)

## Updating

This library includes both proto and mvir files for communicating with Libra validators and the Libra VM, respectively. These files are borrowed from the upstream Libra distribution and may be changed without warning. To enable easy transition to newer versions this library includes to scripts to retrieve the appropriate files and add them herein:

update_programs.sh compiles all the basic transaction Libra move scripts into Move IR so that they can aeqgransferred to the validators when executing a transaction.

update_proto.sh retrieves all the proto files for communicating to the Libra admission control node and converts it into Python proto and gRPC libraries.

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

librapy-0.0.1.tar.gz (22.9 kB view hashes)

Uploaded Source

Built Distributions

librapy-0.0.1-py3.6.egg (93.9 kB view hashes)

Uploaded Source

librapy-0.0.1-py3-none-any.whl (44.4 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