diff --git a/README.md b/README.md index 896f2a3b7f08b7904342a706fe6999eabe2f7690..7298611c33c6e9f4e38428aaf83ac94376602ad0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -##MSc Project +# MSc Project - Marinos Iliadis - University of Southampton 2017-2018 - MSc Data Science @@ -76,20 +76,20 @@ 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>/ --- Links: -- https://web3j.readthedocs.io/en/latest/smart_contracts.html -- https://www.npmjs.com/package/solc -- http://solidity.readthedocs.io/en/develop/installing-solidity.html +* A) Compiling Solidity source code + _ 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 + _ https://www.npmjs.com/package/solc + _ http://solidity.readthedocs.io/en/develop/installing-solidity.html --- B) Auto generated Java wrapper for solidity smart contract +* B) Auto generated Java wrapper for solidity smart contract Need first to save your solidity code into a Notepad++ file with extention <yourcontract>.sol 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 --- Link: -- https://docs.web3j.io/smart_contracts.html#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 +- Link: + _ https://docs.web3j.io/smart_contracts.html#smart-contract-wrappers ### Viewing logs on blockchain diff --git a/sample-project-gradle-master/README.md b/sample-project-gradle-master/README.md index 896f2a3b7f08b7904342a706fe6999eabe2f7690..7298611c33c6e9f4e38428aaf83ac94376602ad0 100644 --- a/sample-project-gradle-master/README.md +++ b/sample-project-gradle-master/README.md @@ -1,4 +1,4 @@ -##MSc Project +# MSc Project - Marinos Iliadis - University of Southampton 2017-2018 - MSc Data Science @@ -76,20 +76,20 @@ 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>/ --- Links: -- https://web3j.readthedocs.io/en/latest/smart_contracts.html -- https://www.npmjs.com/package/solc -- http://solidity.readthedocs.io/en/develop/installing-solidity.html +* A) Compiling Solidity source code + _ 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 + _ https://www.npmjs.com/package/solc + _ http://solidity.readthedocs.io/en/develop/installing-solidity.html --- B) Auto generated Java wrapper for solidity smart contract +* B) Auto generated Java wrapper for solidity smart contract Need first to save your solidity code into a Notepad++ file with extention <yourcontract>.sol 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 --- Link: -- https://docs.web3j.io/smart_contracts.html#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 +- Link: + _ https://docs.web3j.io/smart_contracts.html#smart-contract-wrappers ### Viewing logs on blockchain