2014-08-27 14:49:32 +02:00
![Bitsquare Logo ](http://bitsquare.io/images/logo_with_title_border_240_240.png )
2014-04-11 11:33:48 +02:00
2014-08-27 14:50:24 +02:00
## About
2014-08-06 01:20:58 +02:00
Bitsquare is a **P2P Fiat-BTC Exchange** .
2014-08-24 17:53:43 +02:00
It allows to trade fiat money (USD, EURO, ...) for Bitcoins without relying on a centralized exchange like Coinbase or BitStamp.
2014-08-06 01:20:03 +02:00
Instead, all participants form a peer to peer market.
2014-08-06 00:21:08 +02:00
## Dependencies
2014-04-11 11:33:48 +02:00
2014-09-29 08:32:48 +02:00
- [JDK 8 ](http://www.oracle.com/technetwork/java/javase/downloads/index.html )
2014-05-19 22:27:49 +02:00
2014-09-29 08:32:48 +02:00
## Development setup
2014-05-19 22:27:49 +02:00
2014-09-29 08:32:48 +02:00
git clone https://github.com/bitsquare/bitsquare.git
./gradlew build
2014-08-06 00:21:08 +02:00
### Regtest mode for local testing
For local testing it is best to use the **regtest** mode from the Bitcoin QT client.
You need to edit (or first create inside the bitcoin data directory) the bitcoin.config file and set regtest=1.
Here are the typical locations for the data directory:
Windows:
%APPDATA%\Bitcoin\
(XP) C:\Documents and Settings\username\Application Data\Bitcoin\bitcoin.conf
(Vista, 7) C:\Users\username\AppData\Roaming\Bitcoin\bitcoin.conf
Linux:
$HOME/.bitcoin/
/home/username/.bitcoin/bitcoin.conf
Mac OSX:
$HOME/Library/Application Support/Bitcoin/
/Users/username/Library/Application Support/Bitcoin/bitcoin.conf
Take care if you have real bitcoins in your Bitcoin QT wallet (backup and copy first your data directory)!
More information about bitcoin.conf can be found [here ](https://en.bitcoin.it/wiki/Running_Bitcoin ).
You can generate coins on demand with the Bitcoin QT client with the following command in the console (under the help menu you find the console window):
**setgenerate true 101**
101 is used only for the first start because of the coin maturity of 100 blocks. Later for mining of a single block you can use 1 as number of blocks to be created.
2014-09-19 00:47:15 +02:00
More information about the regtest mode can be found [here ](https://bitcoinj.github.io/testing ) or [here ](https://bitcoin.org/en/developer-examples#regtest-mode ).
2014-08-06 00:21:08 +02:00
The network mode is defined in the guice module (BitSquareModule) and is default set to regtest.
Testnet should also work, but was not tested for a while as for developing regtest is much more convenient.
Please don't use main net with real money, as the software is under heavy development and you can easily lose your funds!
## Resources:
* [Web ](http://bitsquare.io )
2014-08-27 13:14:30 +02:00
* [Overview ](http://bitsquare.io/images/overview.png )
2014-08-24 15:20:51 +02:00
* [Videos ](https://www.youtube.com/playlist?list=PLXvC3iNe_di9bL1A5xyAKI2PzNg8jU092 )
2014-08-27 13:14:30 +02:00
* [White paper ](https://docs.google.com/document/d/1d3EiWZdaM89-P6MVhS53unXv2-pDpSFsN3W4kCGXKgY/edit )
## Communication channels:
* [Mailing list ](https://groups.google.com/forum/#!forum/bitsquare )
* [IRC ](https://webchat.freenode.net/?channels=bitsquare.io )
* [Bitcoin forum ](https://bitcointalk.org/index.php?topic=647457 )
2014-08-27 14:09:34 +02:00
* [Twitter ](https://twitter.com/bitsquare_ )
2014-09-29 08:32:48 +02:00
* [Email ](mailto:team@bitsquare.io )