Skip to main content

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


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-deploy-1.1.7.tar.gz (14.0 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