Broker Setup: Difference between revisions
No edit summary |
|||
Line 41: | Line 41: | ||
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. | 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 | The software uses [http://www.php.net/ PHP] so follow the instructions below to use it. The exact command line arguments to run are provided on the page for each trade, but feel free to see if you get suitable output by running ''sign.php 1 1 1''. | ||
Click here to download the software: [[Media:Sign.zip]]. | Click here to download the software: [[Media:Sign.zip]]. | ||
===Windows Instructions=== | |||
* Download the latest PHP installer from [http://windows.php.net/download/ PHP.net] and run it. You need to download a version with ''Installer'' in the title. At the time of writing, only PHP 5.3 has this available. It doesn't matter whether you use the ''Thread safe'' or ''Non thread safe'' version. | |||
* On the ''Web Server Setup'' page, click ''Do not setup a web server''. | |||
* On the ''Choose Items to Install'' page, leave all settings as their defaults. Do '''not''' install everything. | |||
===Linux Instructions=== | |||
* Install php using your package manager, e.g. ''apt-get install php'' |
Revision as of 15:12, 12 September 2013
Offers
Bank Details
Here, you are required to enter all information required in order for a buyer to pay you. The position field corresponds to the position in which this will be displayed, from low to high.
Example information would be
Position | Heading | Information |
---|---|---|
10 | Sort code | 123456 |
20 | Account number | 72498324 |
30 | Account name | Mr. J Bloggs |
40 | Bank name | Halifax |
SSL keys
Linux/Mac Instructions
- Install openssl using your package manager
- Run openssl genrsa 4096 > private.key and keep this key private
- Also run openssl rsa -pubout < private.key > public.key and send us public.key via email to admin@bittylicious.com.
Windows Instructions
- Download Openssl from [1]. Select the first option Complete package, except sources
- Run the downloaded file and install openssl-(version)-setup.exe
- Run cmd.exe from the Start/Run menu and navigate to the open ssl bin directory (others may be different), e.g. type cd C:\Program Files (x86)\GnuWin32\bin
- Run the following command to create private.key: openssl genrsa 4096 > private.key
- Run the follwoing command to create public.key: openssl rsa -pubout < private.key > public.key
- The files are placed in the C:\Program Files (x86)\GnuWin32\bin directory so you can retrieve them with Windows Explorer.
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 follow the instructions below to use it. The exact command line arguments to run are provided on the page for each trade, but feel free to see if you get suitable output by running sign.php 1 1 1.
Click here to download the software: Media:Sign.zip.
Windows Instructions
- Download the latest PHP installer from PHP.net and run it. You need to download a version with Installer in the title. At the time of writing, only PHP 5.3 has this available. It doesn't matter whether you use the Thread safe or Non thread safe version.
- On the Web Server Setup page, click Do not setup a web server.
- On the Choose Items to Install page, leave all settings as their defaults. Do not install everything.
Linux Instructions
- Install php using your package manager, e.g. apt-get install php