Skip to content
This repository has been archived by the owner on Jan 13, 2019. It is now read-only.
/ evm-babble-env Public archive

Deploy environment for running evm-babble

Notifications You must be signed in to change notification settings

DLTcollab/evm-babble-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecated in favor of evm-lite-env

EVM Babble Environment

Deploy environment for running evm-babble

Prerequisites

  1. Install the Docker
  2. Install the Node.js

Manage Enviroment

Launch Docker

$ make

Stop Docker

$ make stop

Usage

Before using the script, make sure that you have started the environment.

Deploy smart contract

$ node nodejs/deploy-smartcontract.js --ips=[babble node IPs] --port="8080" --contractName=[smart contract name] --contractPath=[smart contract path] --keystore="conf/keystore" --pwd="conf/pwd.txt"

# Example
$ node nodejs/deploy-smartcontract.js --ips="172.77.5.5,172.77.5.6,172.77.5.7,172.77.5.8" --port="8080" --contractName="CrowdFunding" --contractPath="nodejs/crowd-funding.sol" --keystore="conf/keystore" --pwd="conf/pwd.txt"

Invoke exist smart contract

$ node nodejs/crowd-funding-test.js --ips=[babble node IPs] --port="8080" --contractName=[smart contract name] --contractPath=[smart contract path] --contractAddress=[smart contract address] --keystore="conf/keystore" --pwd="conf/pwd.txt"

# Example
$ node nodejs/crowd-funding-test.js --ips="172.77.5.5,172.77.5.6,172.77.5.7,172.77.5.8" --port="8080" --contractName="CrowdFunding" --contractPath="nodejs/crowd-funding.sol" --contractAddress="0x4803adc2b9b54cf014ff3783cbe20be78a13b604" --keystore="conf/keystore" --pwd="conf/pwd.txt"

About

Deploy environment for running evm-babble

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published