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

correction to readme

parent 6ad4f520
Branches
No related tags found
No related merge requests found
#MARINOS ILIADIS #MARINOS ILIADIS
##Eclipse Gradle project ##Eclipse Gradle project
## How to import the project into Eclipse ## How to import the project into Eclipse
Open Eclipse -> Go to File -> Open Project From File System -> Show other specialised import wizard-> Gradle -> Existing Gradle -> sample-project-gradle-master Open Eclipse -> Go to File -> Open Project From File System -> Show other specialised import wizard-> Gradle -> Existing Gradle -> sample-project-gradle-master
Import this project to Eclipse (I use Eclipse Oxygen 3A) as an existing grandle project. Import this project to Eclipse (I use Eclipse Oxygen 3A) as an existing grandle project.
Our eclipse project uses the web3j library. Java library to interact with Ethereum blockchain and solidity smart contracts Our eclipse project uses the web3j library. Java library to interact with Ethereum blockchain and solidity smart contracts
...@@ -30,10 +32,20 @@ https://docs.web3j.io/command_line.html ...@@ -30,10 +32,20 @@ https://docs.web3j.io/command_line.html
OR OR
Using the MyEtherWallet website to create an Ethereum wallet file
https://www.myetherwallet.com/
### Manage account
By using MetaMask Google Chrome Extension By using MetaMask Google Chrome Extension
check how it works here: check how it works here:
https://metamask.io/ https://metamask.io/
OR
By visiting Etherscan's website and add the addres to th search bar
https://etherscan.io/
### Request some ether ### Request some ether
Import the wallet file into the MetaMask account. Import the wallet file into the MetaMask account.
...@@ -58,6 +70,7 @@ https://infura.io/register.html ...@@ -58,6 +70,7 @@ https://infura.io/register.html
In this prototype java dapp we deploy our contract on the Ropsten Test Network 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>/
...@@ -73,7 +86,6 @@ Solidity smart contract wrappers ...@@ -73,7 +86,6 @@ Solidity smart contract wrappers
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
Logback configuration is provided in the project dependencies giving the opportunity to logging of protocol Logback configuration is provided in the project dependencies giving the opportunity to logging of protocol
...@@ -83,7 +95,7 @@ To enable change the following line in the logback configuration: ...@@ -83,7 +95,7 @@ To enable change the following line in the logback configuration:
```xml ```xml
<logger name="org.web3j.protocol" level="DEBUG"/> <logger name="org.web3j.protocol" level="DEBUG"/>
``` ```
### Extra Dependencties (check build.grandle) ### Extra Dependencies (check build.grandle)
Assert java 3.10.0 Assert java 3.10.0
Javatuples 1.2 Javatuples 1.2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment