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

new read me file outside the project folder

parent c41ef0f3
No related branches found
No related tags found
No related merge requests found
...@@ -76,20 +76,22 @@ In this prototype java dapp we deploy our contract on the Ropsten Test Network ...@@ -76,20 +76,22 @@ 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 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: - 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
......
...@@ -76,20 +76,22 @@ In this prototype java dapp we deploy our contract on the Ropsten Test Network ...@@ -76,20 +76,22 @@ 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 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: - 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