diff --git a/README.md b/README.md index 9d7a5e1805d9216531a5a53e020029549350ba19..c00a943ac7bd9eb67ef80113d2e0dc11732e60a6 100644 --- a/README.md +++ b/README.md @@ -77,8 +77,8 @@ In this prototype java dapp we deploy our contract on the Ropsten Test Network ### Solidity compiler and Java wrappers A. Compiling Solidity source code - 1. npm install -g solc - 2. solc or solcjs <contract>.sol --bin --abi --optimize -o <output-dir>/ + - 1. npm install -g solc + - 2. solc or solcjs <contract>.sol --bin --abi --optimize -o <output-dir>/ - Links: - https://web3j.readthedocs.io/en/latest/smart_contracts.html @@ -88,7 +88,7 @@ A. Compiling Solidity source code B. Auto generated Java wrapper for solidity smart contract - Need first to save your solidity code into a Notepad++ file with extention <yourcontract>.sol C. Solidity smart contract wrappers - 3. web3j solidity generate [--javaTypes|--solidityTypes] /path/to/<smart-contract>.bin /path/to/<smart-contract>.abi -o /path/to/src/main/java -p com.your.organisation.name + - 3. web3j solidity generate [--javaTypes|--solidityTypes] /path/to/<smart-contract>.bin /path/to/<smart-contract>.abi -o /path/to/src/main/java -p com.your.organisation.name - Link: - https://docs.web3j.io/smart_contracts.html#smart-contract-wrappers diff --git a/sample-project-gradle-master/README.md b/sample-project-gradle-master/README.md index 9d7a5e1805d9216531a5a53e020029549350ba19..c00a943ac7bd9eb67ef80113d2e0dc11732e60a6 100644 --- a/sample-project-gradle-master/README.md +++ b/sample-project-gradle-master/README.md @@ -77,8 +77,8 @@ In this prototype java dapp we deploy our contract on the Ropsten Test Network ### Solidity compiler and Java wrappers A. Compiling Solidity source code - 1. npm install -g solc - 2. solc or solcjs <contract>.sol --bin --abi --optimize -o <output-dir>/ + - 1. npm install -g solc + - 2. solc or solcjs <contract>.sol --bin --abi --optimize -o <output-dir>/ - Links: - https://web3j.readthedocs.io/en/latest/smart_contracts.html @@ -88,7 +88,7 @@ A. Compiling Solidity source code B. Auto generated Java wrapper for solidity smart contract - Need first to save your solidity code into a Notepad++ file with extention <yourcontract>.sol C. Solidity smart contract wrappers - 3. web3j solidity generate [--javaTypes|--solidityTypes] /path/to/<smart-contract>.bin /path/to/<smart-contract>.abi -o /path/to/src/main/java -p com.your.organisation.name + - 3. web3j solidity generate [--javaTypes|--solidityTypes] /path/to/<smart-contract>.bin /path/to/<smart-contract>.abi -o /path/to/src/main/java -p com.your.organisation.name - Link: - https://docs.web3j.io/smart_contracts.html#smart-contract-wrappers