Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mikael.beyene
pow
Commits
22ad4b0f
Commit
22ad4b0f
authored
Jun 23, 2021
by
mikael.beyene
Browse files
Update README.md
parent
a4be48ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
22ad4b0f
# pow
<!-- ABOUT THE PROJECT -->
## Proof-of-Work Example Project
Proof-of-Work Example Project
\ No newline at end of file
Example project that helps to understand Proof of Work.
<!-- GETTING STARTED -->
## Getting Started
Follow the steps below to setup up the project.
### Prerequisites
-
Java 8 — https://www.oracle.com/java/technologies/javase-jre8-downloads.html
### Usage
1.
Open a console (e.g., Git bash) and build the Jar
```
shell
./gradlew build
```
2.
Start the application with Gradle
```
shell
./gradlew run
--args
=
"-d=0.001"
```
3.
Alternatively, you can also directly run the Jar
```
shell
java
-jar
build/libs/proof-of-work.jar
-d
=
0.001
```
Try different values for
`d`
in order to scale the difficulty.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment