stellar-xdr

XDR for the Stellar Network.

Stellar XDR Library

Overview

The Stellar XDR library provides tools for encoding and decoding Stellar XDR (External Data Representation) data structures, enabling seamless interaction with the Stellar network.

Features

Installation

To install the library, clone the repository and install the required dependencies:

1 git clone https://github.com/KOSASIH/stellar-xdr.git
2 cd stellar-xdr
3 pip install -r requirements.txt

Alternatively, you can install the package using setup.py:

1 python setup.py install

Usage

For detailed usage examples, please refer to the Usage section of the documentation.

Running Tests

To run the tests, use the following command:

1 python -m unittest discover -s tests

Running Benchmarks

To run the benchmarks, execute the following commands:

1 python benchmarks/benchmark_encoder.py
2 python benchmarks/benchmark_decoder.py

Contributing

We welcome contributions! Please see our Contributing Guidelines for more information.