Skip to main content

Smart Contracts for Trustlines-Network

Project description

Py-Bin

This directory contains an npm and a python package used to pack the contracts.json and merged_abis.json file containing among other things the abi and bytecode of all compiled contracts from this repository.

The merged_abis.json contains the merged abi of all the versions of currency networks. This is useful for currency networks that use a proxy pattern and have been upgraded to different versions through their lifetime.

The tlbin python package can be used to easily load the contracts.json or merged_abis.json with the following:

from tlbin import load_packaged_contracts, load_packaged_merged_abis

contracts_dict = load_packaged_contracts()
merged_abis_dict = load_packaged_merged_abis()

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

trustlines-contracts-bin-2.0.0.tar.gz (336.5 kB view hashes)

Uploaded Source

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