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.

Files for trustlines-contracts-deploy, version 1.2.0
Filename, size File type Python version Upload date Hashes
Filename, size trustlines-contracts-deploy-1.2.0.tar.gz (18.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page