Skip to content
Snippets Groups Projects
Commit c41ef0f3 authored by mi3u17's avatar mi3u17
Browse files

new read me file outside the project folder

parent a53d0014
No related branches found
No related tags found
No related merge requests found
##MSc Project # MSc Project
- Marinos Iliadis - Marinos Iliadis
- University of Southampton 2017-2018 - University of Southampton 2017-2018
- MSc Data Science - MSc Data Science
...@@ -76,20 +76,20 @@ In this prototype java dapp we deploy our contract on the Ropsten Test Network ...@@ -76,20 +76,20 @@ In this prototype java dapp we deploy our contract on the Ropsten Test Network
### Solidity compiler and Java wrappers ### Solidity compiler and Java wrappers
-- A) Compiling Solidity source code * A) Compiling Solidity source code
- 1) npm install -g solc _ 1) npm install -g solc
- 2) solc or solcjs <contract>.sol --bin --abi --optimize -o <output-dir>/ _ 2) solc or solcjs <contract>.sol --bin --abi --optimize -o <output-dir>/
-- Links: - Links:
- https://web3j.readthedocs.io/en/latest/smart_contracts.html _ https://web3j.readthedocs.io/en/latest/smart_contracts.html
- https://www.npmjs.com/package/solc _ https://www.npmjs.com/package/solc
- http://solidity.readthedocs.io/en/develop/installing-solidity.html _ 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 Need first to save your solidity code into a Notepad++ file with extention <yourcontract>.sol
Solidity smart contract wrappers 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: - Link:
- https://docs.web3j.io/smart_contracts.html#smart-contract-wrappers _ https://docs.web3j.io/smart_contracts.html#smart-contract-wrappers
### Viewing logs on blockchain ### Viewing logs on blockchain
......
##MSc Project # MSc Project
- Marinos Iliadis - Marinos Iliadis
- University of Southampton 2017-2018 - University of Southampton 2017-2018
- MSc Data Science - MSc Data Science
...@@ -76,20 +76,20 @@ In this prototype java dapp we deploy our contract on the Ropsten Test Network ...@@ -76,20 +76,20 @@ In this prototype java dapp we deploy our contract on the Ropsten Test Network
### Solidity compiler and Java wrappers ### Solidity compiler and Java wrappers
-- A) Compiling Solidity source code * A) Compiling Solidity source code
- 1) npm install -g solc _ 1) npm install -g solc
- 2) solc or solcjs <contract>.sol --bin --abi --optimize -o <output-dir>/ _ 2) solc or solcjs <contract>.sol --bin --abi --optimize -o <output-dir>/
-- Links: - Links:
- https://web3j.readthedocs.io/en/latest/smart_contracts.html _ https://web3j.readthedocs.io/en/latest/smart_contracts.html
- https://www.npmjs.com/package/solc _ https://www.npmjs.com/package/solc
- http://solidity.readthedocs.io/en/develop/installing-solidity.html _ 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 Need first to save your solidity code into a Notepad++ file with extention <yourcontract>.sol
Solidity smart contract wrappers 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: - Link:
- https://docs.web3j.io/smart_contracts.html#smart-contract-wrappers _ https://docs.web3j.io/smart_contracts.html#smart-contract-wrappers
### Viewing logs on blockchain ### Viewing logs on blockchain
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment