# 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:
```python
from tlbin import load_packaged_contracts, load_packaged_merged_abis
contracts_dict = load_packaged_contracts()
merged_abis_dict = load_packaged_merged_abis()
```
Raw data
{
"_id": null,
"home_page": "https://github.com/trustlines-protocol/contracts",
"name": "trustlines-contracts-bin",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "trustlines",
"author": "Trustlines-Network",
"author_email": "contact@brainbot.com",
"download_url": "https://files.pythonhosted.org/packages/2d/65/7751ba2004317cd752527dd13ceab63300a1e8bf1def3502d582c2b6442a/trustlines-contracts-bin-2.0.0.tar.gz",
"platform": "",
"description": "# Py-Bin\n\nThis directory contains an npm and a python package used to pack the `contracts.json` and `merged_abis.json`\nfile containing among other things the abi and bytecode of all compiled contracts from this repository.\n\nThe `merged_abis.json` contains the merged abi of all the versions of currency networks. This is useful for currency\nnetworks that use a proxy pattern and have been upgraded to different versions through their lifetime.\n\nThe `tlbin` python package can be used to easily load the `contracts.json` or `merged_abis.json` with the following:\n\n```python\nfrom tlbin import load_packaged_contracts, load_packaged_merged_abis\n\ncontracts_dict = load_packaged_contracts()\nmerged_abis_dict = load_packaged_merged_abis()\n```",
"bugtrack_url": null,
"license": "MIT",
"summary": "Smart Contracts for Trustlines-Network",
"version": "2.0.0",
"split_keywords": [
"trustlines"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "243a1b80444582d223bcc209f46cebaf",
"sha256": "70166e727dcb7274d3a537878b70486a6383965a119f04f4608aa72c5f1cb583"
},
"downloads": -1,
"filename": "trustlines-contracts-bin-2.0.0.tar.gz",
"has_sig": false,
"md5_digest": "243a1b80444582d223bcc209f46cebaf",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 336493,
"upload_time": "2021-04-27T16:53:26",
"upload_time_iso_8601": "2021-04-27T16:53:26.342393Z",
"url": "https://files.pythonhosted.org/packages/2d/65/7751ba2004317cd752527dd13ceab63300a1e8bf1def3502d582c2b6442a/trustlines-contracts-bin-2.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2021-04-27 16:53:26",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "trustlines-protocol",
"github_project": "contracts",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"circle": true,
"lcname": "trustlines-contracts-bin"
}