Broker Setup: Difference between revisions

From Bittylicious
Jump to navigation Jump to search
Line 12: Line 12:
==Signing trades==
==Signing trades==


In order to manually accept trades, you need to sign them using your private key. The reason for this is that no Bitcoins can be sent without you explicitly authorising them. Even if the main Bittylicious server gets compromised, the service that sends the Bitcoins will refuse to send them unless a message is signed using your private key.
In order to accept any trades, whether automatically or manually, you need to sign a message using your private key. The reason for this is that no Bitcoins can be sent without you explicitly authorising them. Even if the main Bittylicious server gets compromised, the service that sends the Bitcoins will refuse to send them unless a message is signed using your private key.


The software uses [http://www.php.net/ PHP] so please install the latest version. For Windows, you will also need to make a few changes in order to be able to run PHP via the [http://php.net/manual/en/install.windows.commandline.php command line].
The software uses [http://www.php.net/ PHP] so please install the latest version. For Windows, you will also need to make a few changes in order to be able to run PHP via the [http://php.net/manual/en/install.windows.commandline.php command line].

Revision as of 13:25, 28 July 2013

SSL keys

Software

Download some software that can call OpenSSL. For Linux, this is often available by installing the openssl package. For Windows, something like the toolkit at Sourceforge will help.

Commands

  1. Run openssl genrsa 4096 > private.key and keep this key private
  2. Also run openssl rsa -pubout < private.key > public.key and send us public.key via email to admin@bittylicious.com.

Signing trades

In order to accept any trades, whether automatically or manually, you need to sign a message using your private key. The reason for this is that no Bitcoins can be sent without you explicitly authorising them. Even if the main Bittylicious server gets compromised, the service that sends the Bitcoins will refuse to send them unless a message is signed using your private key.

The software uses PHP so please install the latest version. For Windows, you will also need to make a few changes in order to be able to run PHP via the command line.