A decentralized bitcoin exchange network
Go to file
Chris Beams 3913988f66
Remove unnecessary application of 'java-base' plugin
This was needed at the root level for a while when first porting the
build back to the monorepo, but is no longer necessary now.
2018-11-04 19:01:55 +01:00
.idea Merge remote-tracking branch 'upstream/master' 2018-09-25 19:58:15 -05:00
assets/src Pull up remaining assets config to root 2018-11-04 16:45:00 +01:00
common/src Pull up remaining common config to root 2018-11-04 16:55:33 +01:00
core Pull up remaining core config to root 2018-11-04 17:18:46 +01:00
desktop Pull up remaining desktop config to root 2018-11-04 17:37:32 +01:00
doc Improve text 2018-11-01 11:56:45 -05:00
gradle Pull up remaining desktop config to root 2018-11-04 17:37:32 +01:00
monitor/src/main Pull up remaining monitor config to root 2018-11-04 17:41:37 +01:00
p2p/src Pull up remaining p2p config to root 2018-11-04 17:46:03 +01:00
pricenode Pull up remaining pricenode config to root 2018-11-04 17:57:28 +01:00
relay Pull up remaining relay config to root 2018-11-04 17:58:37 +01:00
seednode Pull up remaining seednode config to root 2018-11-04 18:00:10 +01:00
statsnode/src/main Pull up remaining statsnode config to root 2018-11-04 18:00:56 +01:00
.editorconfig Revert to 4-space indentation in build.gradle 2018-03-29 19:44:35 +02:00
.gitignore Improve gitignore 2018-09-05 11:20:22 +02:00
.travis.yml Switch to OpenJDK10 in Gradle builds 2018-10-19 15:46:01 -07:00
build.gradle Remove unnecessary application of 'java-base' plugin 2018-11-04 19:01:55 +01:00
CODEOWNERS Make @cbeams /pricenode code owner 2018-11-03 11:24:16 +01:00
CONTRIBUTING.md Add CONTRIBUTING.md 2018-01-23 09:08:30 +01:00
gradle.properties Increase Gradle HTTP timeouts from 30 => 120 seconds 2018-03-22 10:39:52 +01:00
gradlew Add Gradle build 2018-03-21 06:14:48 +01:00
gradlew.bat Add Gradle build 2018-03-21 06:14:48 +01:00
LICENSE add basic wallet, update nav buttons, move unused img 2014-04-24 16:55:55 +02:00
README.md Fix typo in 'Running Bisq' section of README 2018-11-01 12:20:24 +01:00
settings.gradle Merge statsnode repository at fc0a288 2018-09-14 11:53:35 +02:00

Bisq

Build Status

What is Bisq?

Bisq is a safe, private and decentralized way to exchange bitcoin for national currencies and other cryptocurrencies. Bisq uses peer-to-peer technology and multi-signature escrow to facilitate trading without the need for a centralized third party exchange. Bisq is non-custodial (never holds your funds), and incorporates a human arbitration system to resolve disputes.

For more information, see https://bisq.network/intro and for step-by-step getting started instructions, see https://bisq.network/get-started.

Building Bisq

You will need OpenJDK JDK 10 installed to complete the following instructions.

  1. Clone the Bisq source code and cd into bisq

     git clone https://github.com/bisq-network/bisq
     cd bisq
    
  2. Build Bisq

    You do not need to install Gradle to complete the following command. The gradlew shell script will install it for you if necessary.

     ./gradlew build
    

Running Bisq

With the above build complete, the Bisq executable jar is now available in the desktop/build/libs/ directory. Run it as follows, replacing {version} with the actual version found in the filename:

java -jar desktop/build/libs/desktop-{version}-all.jar

Importing Bisq into Intellij IDEA

The following instructions have been tested on IDEA 2018.2

  1. Open IDEA
  2. Go to Help->Edit Custom Properties..., add a line to the file that reads idea.max.intellisense.filesize=12500 (to handle Bisq's very large generated PB.java Protobuf source file)
  3. Go to Preferences->Plugins. Search for and install the Lombok plugin. When prompted, do not restart IDEA.
  4. Go to Preferences->Build, Execution, Deployment->Compiler->Annotation Processors and check the Enable annotation processing option (to enable processing of Lombok annotations)
  5. Restart IDEA
  6. Go to Import Project, select the settings.gradle file and click Open
  7. In the Import Project from Gradle screen, check the Use auto-import option and click OK
  8. When prompted whether to overwrite the existing .idea directory, click Yes
  9. In the Project tool window, right click on the root-level .idea folder, select Git->Revert... and click OK in the dialog that appears (to restore source-controlled .idea configuration files that get overwritten during project import)
  10. Go to Build->Build Project. Everything should build cleanly. You should be able to run tests, run main methods in any component, etc.

TIP: If you encounter compilation errors related to the io.bisq.generated.protobuffer.PB class, it is probably because you didn't run the full Gradle build above. You need to run the generateProto task in the common project. You can do this via the Gradle tool window in IDEA, or you can do it the command line with cd common; ./gradlew generateProto. Once you've done that, run Build->Build Project again and you should have no errors.