semvec/pypi-packages huggingface dataset:
trustlines-contracts-deploy 2.0.0
deploy trustlines contracts
License: MIT
Requires Python: >=3.6
Keywords: trustlines

# Contracts Deploy Tool

This deploy tool can be used to deploy contracts of this repository on a blockchain and interact with them.
To read more about the contracts, readme the root directory [readme](../README.rst)

## Installation

You can install the deploy tool from this directory by running:

`pip install -r requirements.txt -e .`

You can otherwise install it by running

`pip install trustlines-contracts-deploy`

You can verify proper installation by running `tl-deploy --help`, which should bring up the help for the tool.

## Usage

There are 4 main commands for tl-deploy: `currencynetwork`, `exchange`, `identity-implementation`,
and `identity-proxy-factory`. There is also a command `test` that combines deployment of the previous contracts
used for testing purposes.

Different commands have different options depending on the specific contracts they deploy.
You can see these options by running the help on the command, e.g. `tl-deploy currencynetwork --help`.

However all the commands will:
 - need to connect to a blockchain node with option `--jsonrpc`,
 - use gas price set with `--gas-price`
 - use custom gas limit if set with `--gas`
 - start with nonce set by `--nonce`  or use the last nonce of sender if `--auto-nonce` is set
 - get access to a keystore file via `--keystore`
trustlines-contracts-bin 2.0.0
Smart Contracts for Trustlines-Network
License: MIT
Keywords: trustlines

# 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()
```