deploy-bootstrap

command
v0.0.0-...-f1d979d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2018 License: GPL-3.0 Imports: 15 Imported by: 0

README

deploy-bootstrap

Utility tool to deploy three contracts at once:

  1. PassportLogic contract
  2. PassportLogicRegistry contract
  3. PassportFactory contract

After passport factory contract is created, it can be used to deploy Passport contracts using deploy-passport tool.

Usage

Usage of ./deploy-bootstrap:

  -backendurl string
    	backend URL (simulated backend used if empty)
  -ownerkey string
    	owner private key filename
  -ownerkeyhex string
    	private key as hex (for testing)
  -verbosity int
    	log verbosity (0-9) (default 2)
  -vmodule string
    	log verbosity pattern

Examples

  • Deploying all contracts in simulated environment (for testing) using Ethereum private key stored in file ./owner.key.

    ./deploy-bootstrap -ownerkey ./owner.key
    
  • Deploying all contracts in Ropsten network using Ethereum private key stored in file ./owner.key:

    ./deploy-bootstrap -ownerkey ./owner.key -backendurl https://ropsten.infura.io
    

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL