deploy trustlines contracts
Project description
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
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file trustlines-contracts-deploy-2.0.0.tar.gz
.
File metadata
- Download URL: trustlines-contracts-deploy-2.0.0.tar.gz
- Upload date:
- Size: 21.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5606a0d1670e8e3075bb3550ff906fec307ad7f4fb17a50b028ab21483392147 |
|
MD5 | 233c1b7828c1d6dd4bb4869b4af3c474 |
|
BLAKE2b-256 | ae3e9de244fca0d9bf531e5a59c6fc84385801d8b40447a8dcbccb0ac85d4935 |