Skip to content
This repository was archived by the owner on Apr 10, 2024. It is now read-only.

Commit f789c46

Browse files
committed
Update Readme.md
1 parent 5f51020 commit f789c46

1 file changed

Lines changed: 79 additions & 0 deletions

File tree

README.md

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# EEA Sample Project
2+
This project provides a simple web3j application that demonstrates the EEA features of web3j connecting to Pantheon in the Private Network.
3+
4+
1. Connecting to a Pantheon the Ethereum network
5+
2. Loading an Ethereum wallet file
6+
3. Deploying a private token to the network
7+
4. Transferring tokens privately between parties on the network
8+
5. Viewing events from the point of view of different parties on the network
9+
10+
11+
## Getting Started
12+
13+
To start clone the repository and import the project:
14+
15+
```bash
16+
$ git clone https://github.com/web3j/eea-sample-project.git
17+
```
18+
19+
## Prerequisites
20+
21+
To run this tutorial, you must have the following installed:
22+
23+
- [Docker and Docker-compose](https://docs.docker.com/compose/install/)
24+
25+
- [Git command line](https://git-scm.com/)
26+
27+
- MacOS or Linux
28+
29+
!!! important
30+
The Private Network Quickstart is not supported on Windows. If using Windows, run the quickstart
31+
inside a Linux VM such as Ubuntu.
32+
33+
- [Pantheon-Quickstart](https://github.com/PegaSysEng/pantheon-quickstart) - Setup and run the private dockerized environment.
34+
- [Privacy](https://github.com/PegaSysEng/pantheon-quickstart/tree/4-node-example/privacy)
35+
36+
- [Solidity](https://solidity.readthedocs.io/en/v0.4.24/installing-solidity.html) - Solidity version between 0.4.2 < and < 0.5.
37+
38+
## Setup
39+
40+
A step by step series of how to get an environment setup and running.
41+
42+
43+
Access the folder.
44+
45+
```bash
46+
$ cd eea-sample-project/
47+
```
48+
49+
Execute `./gradlew generateContractWrappers`.
50+
It will generate the `HumanStandardToken` injecting this dependency into the project.
51+
To mark `build` directory as `Unmark Generated Sources Root` .
52+
53+
Go to build > generated > source > web3j > main > java.
54+
```bash
55+
build/
56+
├── generated/
57+
└──── source/
58+
└──── web3j/
59+
└──── main/
60+
└──── java/
61+
```
62+
Right clique > Mark Directory As > Unmark Generated Sources Root.
63+
64+
65+
```bash
66+
$ ./gradlew generateContractWrappers
67+
```
68+
69+
Execute `./gradlew test`.
70+
71+
!!! important
72+
To execute `./gradlew test` you need to have all the nodes from Pantheon-Quickstart running.
73+
74+
```bash
75+
$ ./gradlew test
76+
```
77+
78+
79+

0 commit comments

Comments
 (0)