Bitcoin Forum
May 07, 2024, 11:36:07 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: WHITE LABEL CRYPTOCURRENCY EXCHANGE SCRIPT  (Read 185 times)
bradleybro27 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
July 12, 2018, 08:46:12 PM
 #1

WHITELABEL CRYPTOCURRENCY EXCHANGE SCRIPT
[/color]
                              [/b]

WHAT IS INCLUDED:

1, BITCOIN
2,LITECOIN
3,BITCOIN CASH
4,ETHEREUM


NOT INLUCDED
 
ERC20 COINS


INSTALLATION GUIDE:

HOST IN DIGITAL OCEAN  WITH 4 DROPLET

ubuntu 16.04 or above (OS)

4GB RAM 2VCPU 80GB DISK


SETTING UP SERVER:

1. Login to the Droplet
We will connect to the server with the SSH key we added to the server in Step 1.

Copy your IP address we created in Step 1. You’ll find your IP address here:



Enter the command below in your Terminal, substituting the your_server_ip with the IP address of your Droplet for and {path_to_serverkey} with the file path of the private SSH key we created earlier:

ssh root@your_server_ip -i {path_to_serverkey}
When done, it will look like this:

Hit Enter. You will be prompted to enter the passphrase we created while creating this private key. Enter the password and press Enter again.

If you are in Mac, you might be prompted to type your keychain password.
If everything went right, you will be logged in to the server and it will look like this:



2. Install Apache
Our next step is to install Apache. Type the following commands in the terminal:

sudo apt-get update
sudo apt-get install apache2
You will be prompted with a (Y/n). Type y and press Enter.
You can do a spot check right away to verify that everything went as planned by visiting your server's public IP address in your web browser.
http://your_server_IP_address
You will see the default Ubuntu 16.04 Apache web page, which is there for informational and testing purposes. It should look something like this:

You have now installed Apache web server successfully.

3. Install MySQL
Now that we have our web server up and running, it is time to install MySQL. MySQL is a database management system. Basically, it will organize and provide access to databases where our site can store information.

Type in the following commands into the Terminal:

sudo apt-get install mysql-server
You will be prompted with a (Y/n). Type y and press Enter.
You will be prompted to enter a password for MySql. Enter a secure password and press Enter. Save this password. You will need this to login to your database.

You have now installed MySql database successfully.

Open the mysql conf file to rewrite port number with the following command.

sudo nano /etc/mysql/mysql.conf.d/mysql.conf
Change the bind-address from the default value of 127.0.0.1 to 0.0.0.0

bind-address    =   0.0.0.0
4. Install PHP 7.0
PHP is the component of our setup that will process code to display dynamic content. It can run scripts, connect to our MySQL databases to get information, and hand the processed content over to our web server to display.

Step 1: Install PHP to server Type the following commands into the terminal:

sudo apt-get install php7.0 libapache2-mod-php php-mcrypt php-mysql php-gd php-bcmath
You will be prompted with a (Y/n). Type y and press Enter.
This should install PHP without any problems.

Change the location of index.php

To do this, type this command to open the dir.conf file in a text editor with root privileges:

sudo nano /etc/apache2/mods-enabled/dir.conf
Inside of the file will look like this:

DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm
We want to move the index.php file above to the first position after the DirectoryIndex, like this:

DirectoryIndex index.php index.html index.cgi index.pl index.xhtml index.htm
When you are finished, Press Control + O to save.

And press Enter.

Then press Control + X to exit.

You have now installed PHP successfully.

5. Enable short_open_tags
Open the php.ini file with the following command:

sudo nano /etc/php/7.0/apache2/php.ini
Scroll down and search for a line with text "short_open_tags = off" and change the status from "off" to "on".



short_open_tags = on
Save this file by pressing Control + O.

Press Enter.

Close this close by pressing Control + X.

6. Enabling pretty URLs

Next, we need to enable pretty URLs by the following commands:

sudo a2enmod rewrite
nano /etc/apache2/apache2.conf
Press the down arrow until you reach  {Directory /var/www}



Change "AllowOverride" from "None" to "All"



Press Control + O to save. And press Enter. Then press Control + X to exit.

Restart the apache server by entering the following command in your terminal.

sudo service apache2 restart
7. Install CLI and CURL

To do this, type the following command into your Terminal:

sudo apt-get install php-cli php-curl curl
You will be prompted with a (Y/n). Type y and press Enter.
You have now installed CLI and CURL successfully.

8. Install Composer
Type the following command into your Terminal to install Composer globally:

curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
You have now installed Composer successfully.

Uploading source code to server

Download FileZilla and install it on your system.

Open FileZilla and go to FileZilla>Settings.



Go to SFTP tab.



Press Add key file and select your SSH private key.

You will be prompted to enter your SSH key password. Once the key is added, press OK.

Now, enter sftp://ip_address of the droplet you want to connect in the Host field and give Username as root. Press Quickconnect to establish connection.



The left panel is your local directory and the right panel is the directory in your server. Now drag the exchange.zip you have downloaded and drop it to /var/www/html/ folder.

We will connect to the server with the SSH key we added to the server in Step 1.

Copy your IP address we created in Step 1. You’ll find your IP address here:



Enter the command below in your Terminal, substituting the your_server_ip with the IP address of your Droplet for and {path_to_serverkey} with the file path of the private SSH key we created earlier:

$ ssh root@your_server_ip -i {path_to_serverkey}
When done, it will look like this:



Hit Enter.You will be prompted to enter the passphrase we created while creating this private key. Enter the password and press Enter again. If you are in Mac, you might be prompted to type your keychain password.

If everything went right, you will be logged in to the server and it will look like this:





2. Install Unzip
We need to unzip the zip file we uploaded to the server in the previous step. To do so, we need to install Unzip in our server.

Enter the following commands in your Terminal and hit Enter:

sudo apt-get install unzip
If unzip is successful it should look like this:





3. Unzip the source code
Navigate to the html folder:

cd /var/www/html
And type the unzip command in your Terminal and press Enter.

unzip exchange.zip


4. Move unzipped folder content to html directory
Go to unzipped folder:

cd exchange/
Now move all it's content to html directory:

mv * /var/www/html/
Now go into previous folder:

cd ../
You have now successfully unzipped and moved all the files to html directory.

5.  Update the default conf file
Go to the sites-available directory:

cd /etc/apache2/sites-available/
Open the 000-default.conf file:

sudo nano 000-default.conf
To edit this file you need to use the arrow keys to navigate.
In the file remove the hash symbol before ServerName and change www.example.com to yourexchangedomain.com

Then to DocumentRoot append /frontend/htdocs

When you are done, it will look like:



Save this file by pressing - Control + O .

Then press Enter .

Then press Control + X to exit.



6. Create conf files for api, admin and auth
Now we need to copy the file 000-default.conf to create virtual host for subdomains - api, admin and auth.

Type the following commands to create the files:

cp 000-default.conf api-vhost.conf
cp 000-default.conf admin-vhost.conf
cp 000-default.conf auth-vhost.conf


7. Update the api conf file
Open api-vhost conf file:

sudo nano  api-vhost.conf
Change the ServerName to api.yourexchangedomain.com.

And change the DocumentRoot value to /var/www/html/api/htdocs

When you are done, it will look like:



Save this file by pressing - Control + O .

Then press Enter .

Then press Control + X to exit.



7. Update the admin conf file:
Open admin-vhost conf file:

sudo nano admin-vhost.conf
Change the ServerName to admin.yourexchangedomain.com

And change the DocumentRoot value to /var/www/html/admin/

When you are done, it will look like:



Save this file by pressing - Control + O .

Then press Enter.

Then press Control + X to exit.



7. Update the auth conf file:
Open the auth-vhost conf file:

sudo nano auth-vhost.conf
Change the ServerName to auth.yourexchangedomain.com

And change the DocumentRoot value to /var/www/html/auth/htdocs

When you are done, it will look like:



Save this file by pressing - Control + O .

Then press Enter.

Then press Control + X to exit.



8. Enable created virtual host sites
Next step is to enable the virtual host sites we created.

Enter the following commands one by one into the terminal:

sudo a2ensite admin-vhost.conf
sudo a2ensite api-vhost.conf
sudo a2ensite auth-vhost.conf
Then restart apache. To restart type the below command and press Enter.

sudo service apache2 restart

next

In this step we will set up and configure the MySQL database to work with the source code.

1. Login to MySQL
Enter the following command to login to MySQL database and press Enter.

sudo mysql -u root -p
Type your MySQL password you have given in Step 3 on prompt.

2. Create a database
Create a database with the below command. For this example I have given the name "cryptodb".

create database cryptodb;
If successful, you'll see the following response:

1. Create sessions directory
Navigate to the home folder with the following command:

cd /home
Create admin sessions directory with the following command:

mkdir admin_sessions
This will create a directory called admin_sessions in the home directory. Similarly create a frontend sessions directory with the following command:

mkdir frontend_sessions
This will create a directory called frontend_sessions in the home directory.

2. Give permission to the above created sessions directory
Type the following command to give the directory we just created the required persmissions:

sudo chmod -R 777 admin_sessions/ frontend_sessions/
3. Setup cron
Next, we need to set up cron. Enter the following command in your terminal:

crontab -e
A file will open. Got to the end of the file and copy paste the below lines:

0 0 1 * * /usr/bin/php /var/www/html/cron/monthly_stats.php
0 0 * * * /usr/bin/php /var/www/html/cron/daily_stats.php
*/10 * * * * /usr/bin/php /var/www/html/cron/get_stats.php
*/5 * * * * /usr/bin/php /var/www/html/cron/maintenance.php
*/1 * * * * /var/www/html/cron/process_bitcoin.sh
Save the file by pressing Control + O.

Next, press Enter.

Exit the file by pressing Control + X.

Then, restart cron by using the following command:

sudo service cron restart
4. Go to admin.yourexchangedomain.com

By default the username is admin and password is DminaDminaDmina.



Once you login, go to status -> App Configuration.

Scroll down to Frontend Config and update your Base URL and Dir Root.



Similarly, scroll down to API Config and update your Dir Root.



Next, scroll down to Cron config and update you Dir Root.



Finally, scroll down to Third Party API key section and update the Google reCAPTCHA keys. To know how to generate reCAPTCHA keys visit this guide.



You have now successfully installed the cryptocurrency exchange script. Next step is to install the cryptocurrency wallet.



You have created a database by the name cryptodb. Now exit the window by typing the below command and press Enter.

exit     
3. Import SQL file into your database
Navigate to the admin directory by typing the below command in the Terminal and press Enter.

cd /var/www/html/admin
Then type the import command to import the SQL file into your database (i.e : cryptodb)

mysql -u root -p cryptodb < database.sql
Hit Enter to execute the command and type your MySQL password you have given in Step 3 on prompt.



4. Update the cfg file

We will update the cfg file in 4 different locations in the html directory:

frontend
admin
api
auth
First we will start with the admin folder.

Admin directory
Navigate to the admin directory by typing the below command in the Terminal and press Enter.

cd /var/www/html/admin
Open the cfg.php file inside this location with the following command:

sudo nano cfg.php
You will see something like this:



Change the dbname from "afexcoin" to the name you have created before. In this case it was "cryptodb". And change the dbpass to the MySQL password.

Once done, it will look like this:



Now save the file the file by pressing Control + O.

Press Enter.

And press Control + X to exit.

Now repeat the above process in the cfg file in api, auth, and cron directory.
Api directory
Navigate to the api directory by typing the below command in the Terminal and press Enter.

cd /var/www/html/api/cfg/
Open the cfg.php file inside this location with the following command:

sudo nano cfg.php
Update the dbname and dbpass values. Save and close the file.

Auth directory
Navigate to the auth directory by using the below command:

cd /var/www/html/auth/
Open the cfg.php file inside this location with the following command:

sudo nano cfg.php
Update the dbname and dbpass values. Save and close the file.

Cron directory
Navigate to the cron directory by using the below command:

cd /var/www/html/cron/
Open the cfg.php file inside this location with the following command:

sudo nano cfg.php
Update the dbname and dbpass values. Save and close the file.

Frontend Directory
Now we need to change the URL in the cfg.php file in the frontend Directory. Navigate to the frontend directory by using the below command:

cd /var/www/html/frontend/cfg/
Open the cfg.php file inside this location with the following command:

sudo nano cfg.php
Your cfg.php file will look like this:



Rename the afexcoin.com to yourexchangedomain.com. After you rename it should look like this:







1715081767
Hero Member
*
Offline Offline

Posts: 1715081767

View Profile Personal Message (Offline)

Ignore
1715081767
Reply with quote  #2

1715081767
Report to moderator
1715081767
Hero Member
*
Offline Offline

Posts: 1715081767

View Profile Personal Message (Offline)

Ignore
1715081767
Reply with quote  #2

1715081767
Report to moderator
1715081767
Hero Member
*
Offline Offline

Posts: 1715081767

View Profile Personal Message (Offline)

Ignore
1715081767
Reply with quote  #2

1715081767
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715081767
Hero Member
*
Offline Offline

Posts: 1715081767

View Profile Personal Message (Offline)

Ignore
1715081767
Reply with quote  #2

1715081767
Report to moderator
1715081767
Hero Member
*
Offline Offline

Posts: 1715081767

View Profile Personal Message (Offline)

Ignore
1715081767
Reply with quote  #2

1715081767
Report to moderator
bradleybro27 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
July 13, 2018, 12:46:51 PM
 #2

Nice Explanation !

Whitelabel cryptocurrency exchange script makes your exchange website with own logo, brand, style and design. You can customize your entire bitcoin exchange business website by using customized theme option. By the way, You can make your website with brand visibility and identity.

White-label cryptocurrency exchange script now available at cost-effective budget with high end exchange business modules !

If you have an idea to get a free live demo to buy white-label cryptocurrency exchange script !

I guess, I provided entire installation steps so clearly. It's 100% full working script. I feel everything else is just unnecessary. It’s upto you to make the decision. I am not pushing you to get the script. I am pretty sure you are running a business on the same. If you’re totally genuine, please find some other way for your promotions.
Zaizoun
Sr. Member
****
Offline Offline

Activity: 358
Merit: 250


View Profile
July 13, 2018, 01:48:07 PM
 #3

Or you can neg this scammer and get the script he's selling for free from here : https://bitexchange.systems/
By the way , he copied the explanation from here http://support.bitexchange.systems/support/sections/backend-and-web-app-installation

coinsclone
Newbie
*
Offline Offline

Activity: 189
Merit: 0


View Profile
August 30, 2018, 06:29:04 AM
 #4

You will get the white label exchange script with the basic features and newly added features like OTC order, Spot trading, SSRF Protection, X-XSS Protection, etc...

Get cryptocurrency exchange script demo or Contact in WhatsApp
talismas
Newbie
*
Offline Offline

Activity: 38
Merit: 0


View Profile
August 30, 2018, 07:36:11 AM
 #5

Free script already available.
babo
Legendary
*
Offline Offline

Activity: 3598
Merit: 4131



View Profile WWW
September 02, 2018, 05:47:36 PM
 #6

A bunch of scammers try to sell free stuff

First rule for customers:
- check on internet if exist free stuff, if not exist ask a demo

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!