Bitcoin Forum
November 03, 2024, 05:15:35 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Create a Exchange  (Read 745 times)
vitorgamer58 (OP)
Member
**
Offline Offline

Activity: 356
Merit: 13

War... War Never Changes.


View Profile WWW
March 01, 2018, 03:34:42 AM
Last edit: June 25, 2018, 01:10:50 PM by vitorgamer58
 #1

Personally, I would be interested in creating an Exchange for a pair of two cryptonight coins, without working with Fiat currency, being they the NBR and the BBRC, I tried the subtoshi but I did not succeed, does anyone know of any open-source exchange project?

My problem with subtoshi is that it redirects to pages without .php but apache2 only opens if it has .php in the end, would anyone know how to solve it? I think I was already helping. Thank you.

https://github.com/cryptonight/subtoshi

Test with subtoshi on a apache2 server: http://bolsomito2018-vitor.ddns.net/

=== UPDATE 24/06/2018 ====
Guys, I'd like to list here some Open Source Exchange projects I found on the internet.

PEATIO
https://github.com/InfraexDev/peatio - Recomended Fork
Used in: Graviex, Nlench and Yunbi

Opentrade
https://github.com/3s3s/opentrade
Used in: https://trade.multicoins.org/

Blinktrade
https://github.com/blinktrade
Used in: Foxbit
Documentation is Null

jaonoctus exchange
https://github.com/jaonoctus/exchange
Under Development

WLOX
https://github.com/wlox/wlox/
Used in: https://1btcxe.com/

TxBits
https://github.com/txbits/txbits

Partially Source: https://www.reddit.com/r/Bitcoin/comments/37ku14/open_source_exchanges_blinktrade_vs_wlox_vs/


EcuaMobi
Legendary
*
Offline Offline

Activity: 1876
Merit: 1475



View Profile
March 01, 2018, 04:07:49 AM
 #2

My problem with subtoshi is that it redirects to pages without .php but apache2 only opens if it has .php in the end, would anyone know how to solve it? I think I was already helping. Thank you.
This can be solved with a simple URL-rewrite.
For example, this makes everything to be handled by index.php
Code:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.php [L]

I haven't used subtoshi so I wouldn't know the exact requirement.
vitorgamer58 (OP)
Member
**
Offline Offline

Activity: 356
Merit: 13

War... War Never Changes.


View Profile WWW
March 01, 2018, 02:02:50 PM
 #3

My problem with subtoshi is that it redirects to pages without .php but apache2 only opens if it has .php in the end, would anyone know how to solve it? I think I was already helping. Thank you.
This can be solved with a simple URL-rewrite.
For example, this makes everything to be handled by index.php
Code:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.php [L]

I haven't used subtoshi so I wouldn't know the exact requirement.


I'll try, let's see what happens.

vitorgamer58 (OP)
Member
**
Offline Offline

Activity: 356
Merit: 13

War... War Never Changes.


View Profile WWW
March 01, 2018, 09:35:40 PM
 #4


I got a file up to a large one, now it works, I got the website to send email and the registration / login works, but now I do not know how to make the exchange to connect to the currency wallet, I did not find any line of code where the exchange connects to the coin wallet

ZXChange
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
March 18, 2018, 11:48:30 AM
 #5

What's your intention to go through all the work to build an exchange for 2 pairs only? 
exchange.blue
Member
**
Offline Offline

Activity: 420
Merit: 40


View Profile
March 18, 2018, 12:14:21 PM
 #6

What's your intention to go through all the work to build an exchange for 2 pairs only? 



I second that.. whats the point?
vitorgamer58 (OP)
Member
**
Offline Offline

Activity: 356
Merit: 13

War... War Never Changes.


View Profile WWW
March 19, 2018, 09:02:07 PM
 #7

over time I would add more pairs

I'm having a better success with Opentrader, one of Subtoshi's programmers did not recommend putting it live for being outdated.

https://github.com/3s3s/opentrade

DigDeepMining
Sr. Member
****
Offline Offline

Activity: 580
Merit: 253


Atheios.org


View Profile
March 21, 2018, 07:16:20 PM
 #8


I got a file up to a large one, now it works, I got the website to send email and the registration / login works, but now I do not know how to make the exchange to connect to the currency wallet, I did not find any line of code where the exchange connects to the coin wallet
Thanks for pointing this script out, for a chuckle I thought I'd see how this script worked... it didn't work very well so I started changing the urls in the script to at least get a little bit of functionality then I read this post some more as I only read the first post at first, so I seen you got the script semi working using the .htaccess file (not sure where you found that as I searched but couldn't find it lol) so I copied the lines from your htaccess pic and made my own "yeah" it sort of works Smiley

I have a question though...
Do you know how to get the admin dash working?
I tried to add a few extra rewrites to see if that would help but the same problem persists... once I hit submit to login it just redirects to 404, any help would be great, thank you Smiley
lopez cryptomania
Jr. Member
*
Offline Offline

Activity: 112
Merit: 1


View Profile
March 22, 2018, 02:06:20 PM
 #9

Here is an upcoming exchange ICO I believe in because they will be the first arbitrage exchange and their focus is to bring in the masses with their easy to use UI.

https://bitcointalk.org/index.php?topic=3085831.msg31823480#msg31823480
vitorgamer58 (OP)
Member
**
Offline Offline

Activity: 356
Merit: 13

War... War Never Changes.


View Profile WWW
March 23, 2018, 05:15:49 PM
 #10


I got a file up to a large one, now it works, I got the website to send email and the registration / login works, but now I do not know how to make the exchange to connect to the currency wallet, I did not find any line of code where the exchange connects to the coin wallet
Thanks for pointing this script out, for a chuckle I thought I'd see how this script worked... it didn't work very well so I started changing the urls in the script to at least get a little bit of functionality then I read this post some more as I only read the first post at first, so I seen you got the script semi working using the .htaccess file (not sure where you found that as I searched but couldn't find it lol) so I copied the lines from your htaccess pic and made my own "yeah" it sort of works Smiley

I have a question though...
Do you know how to get the admin dash working?
I tried to add a few extra rewrites to see if that would help but the same problem persists... once I hit submit to login it just redirects to 404, any help would be great, thank you Smiley

this file htacess I did from scratch, so I created it, I also could not make the admin panel work, so I jumped to opentrade, another open source exchange that is more secure and with the admin panel running.

DigDeepMining
Sr. Member
****
Offline Offline

Activity: 580
Merit: 253


Atheios.org


View Profile
March 23, 2018, 11:58:57 PM
 #11


I got a file up to a large one, now it works, I got the website to send email and the registration / login works, but now I do not know how to make the exchange to connect to the currency wallet, I did not find any line of code where the exchange connects to the coin wallet
Thanks for pointing this script out, for a chuckle I thought I'd see how this script worked... it didn't work very well so I started changing the urls in the script to at least get a little bit of functionality then I read this post some more as I only read the first post at first, so I seen you got the script semi working using the .htaccess file (not sure where you found that as I searched but couldn't find it lol) so I copied the lines from your htaccess pic and made my own "yeah" it sort of works Smiley

I have a question though...
Do you know how to get the admin dash working?
I tried to add a few extra rewrites to see if that would help but the same problem persists... once I hit submit to login it just redirects to 404, any help would be great, thank you Smiley

this file htacess I did from scratch, so I created it, I also could not make the admin panel work, so I jumped to opentrade, another open source exchange that is more secure and with the admin panel running.
Oh great job, you nearly got it fully working Smiley

Unfortunately I don't own VPS so I can't try opentrade but thank you for the reply Smiley
vitorgamer58 (OP)
Member
**
Offline Offline

Activity: 356
Merit: 13

War... War Never Changes.


View Profile WWW
March 24, 2018, 02:37:32 PM
 #12


I got a file up to a large one, now it works, I got the website to send email and the registration / login works, but now I do not know how to make the exchange to connect to the currency wallet, I did not find any line of code where the exchange connects to the coin wallet
Thanks for pointing this script out, for a chuckle I thought I'd see how this script worked... it didn't work very well so I started changing the urls in the script to at least get a little bit of functionality then I read this post some more as I only read the first post at first, so I seen you got the script semi working using the .htaccess file (not sure where you found that as I searched but couldn't find it lol) so I copied the lines from your htaccess pic and made my own "yeah" it sort of works Smiley

I have a question though...
Do you know how to get the admin dash working?
I tried to add a few extra rewrites to see if that would help but the same problem persists... once I hit submit to login it just redirects to 404, any help would be great, thank you Smiley

this file htacess I did from scratch, so I created it, I also could not make the admin panel work, so I jumped to opentrade, another open source exchange that is more secure and with the admin panel running.
Oh great job, you nearly got it fully working Smiley

Unfortunately I don't own VPS so I can't try opentrade but thank you for the reply Smiley
good, you can use a linux home server, now back to Subtoshi and Admin, you'll probably have to add a line in the .htacess file because probably when you click Login and give 404 error it's because you're being directed to http://127.0.0.1/file when the right one would be http://127.0.0.1/file.php so I guess when you do that regarding the admin file it will work out.

I even got to this part but I could not log in as admin, BUT in opentrade the admin is the first registered user, if you installed everything right with mysql configured the sending of email, try to make a registration and then try to log in the admin with that name user name and password.

romon132
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
March 24, 2018, 04:13:04 PM
 #13

In the EAC, go to Recipients > Mailboxes.
Click New ( ) and then select User mailbox.
On the New user mailbox page, configure the following settings.
DigDeepMining
Sr. Member
****
Offline Offline

Activity: 580
Merit: 253


Atheios.org


View Profile
March 27, 2018, 09:55:31 PM
 #14


I got a file up to a large one, now it works, I got the website to send email and the registration / login works, but now I do not know how to make the exchange to connect to the currency wallet, I did not find any line of code where the exchange connects to the coin wallet
Thanks for pointing this script out, for a chuckle I thought I'd see how this script worked... it didn't work very well so I started changing the urls in the script to at least get a little bit of functionality then I read this post some more as I only read the first post at first, so I seen you got the script semi working using the .htaccess file (not sure where you found that as I searched but couldn't find it lol) so I copied the lines from your htaccess pic and made my own "yeah" it sort of works Smiley

I have a question though...
Do you know how to get the admin dash working?
I tried to add a few extra rewrites to see if that would help but the same problem persists... once I hit submit to login it just redirects to 404, any help would be great, thank you Smiley

this file htacess I did from scratch, so I created it, I also could not make the admin panel work, so I jumped to opentrade, another open source exchange that is more secure and with the admin panel running.
Oh great job, you nearly got it fully working Smiley

Unfortunately I don't own VPS so I can't try opentrade but thank you for the reply Smiley
good, you can use a linux home server, now back to Subtoshi and Admin, you'll probably have to add a line in the .htacess file because probably when you click Login and give 404 error it's because you're being directed to http://127.0.0.1/file when the right one would be http://127.0.0.1/file.php so I guess when you do that regarding the admin file it will work out.

I even got to this part but I could not log in as admin, BUT in opentrade the admin is the first registered user, if you installed everything right with mysql configured the sending of email, try to make a registration and then try to log in the admin with that name user name and password.

Yeah I tried to add a few more rewrite rules but it just wouldn't work for me either, shame.

Great, I just found my old linux sd card so I'm going to have a play with this opentrade and see how that goes, if I get need any help is it OK to reach out to you?

Thanks Smiley
vitorgamer58 (OP)
Member
**
Offline Offline

Activity: 356
Merit: 13

War... War Never Changes.


View Profile WWW
March 28, 2018, 03:32:25 PM
 #15

if you need to just call, I'm also seeing the exchange opensource peatio, it's a project that is being used right now in several exchanges, like Graviex, but it's a little more complicated to run.

B!ttron!k$
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
March 29, 2018, 12:33:11 AM
 #16

im working for a while now at https://bittronik.com/public/ is this what you are looking for ?
vitorgamer58 (OP)
Member
**
Offline Offline

Activity: 356
Merit: 13

War... War Never Changes.


View Profile WWW
March 29, 2018, 11:59:14 AM
 #17

im working for a while now at https://bittronik.com/public/ is this what you are looking for ?
Is not this a medical company?

B!ttron!k$
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
March 29, 2018, 12:37:43 PM
 #18

im working for a while now at https://bittronik.com/public/ is this what you are looking for ?
Is not this a medical company?
? what do you mean..? the name bittronik or how ?
DigDeepMining
Sr. Member
****
Offline Offline

Activity: 580
Merit: 253


Atheios.org


View Profile
March 29, 2018, 05:08:45 PM
 #19

if you need to just call, I'm also seeing the exchange opensource peatio, it's a project that is being used right now in several exchanges, like Graviex, but it's a little more complicated to run.
Thank you so much Smiley

Umm yep that looks a little more complicated, let me know how you get on with that if you try it out.
DigDeepMining
Sr. Member
****
Offline Offline

Activity: 580
Merit: 253


Atheios.org


View Profile
April 08, 2018, 03:57:02 PM
 #20

I followed the install procedure of opentrade but hit a few errors..
Quote
pi@raspberrypi:~/opentrade $ sudo npm install sqlite3
npm WARN package.json string_decoder@1.0.3 string_decoder is also the name of a node core module.
/
> sqlite3@4.0.0 install /home/pi/opentrade/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build

/usr/bin/env: ‘node’: No such file or directory
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! sqlite3@4.0.0 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the sqlite3@4.0.0 install script.
npm ERR! This is most likely a problem with the sqlite3 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-pre-gyp install --fallback-to-build
npm ERR! You can get their info via:
npm ERR!     npm owner ls sqlite3
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 4.9.41-v7+
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "sqlite3"
npm ERR! cwd /home/pi/opentrade
npm ERR! node -v v4.8.2
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/pi/opentrade/npm-debug.log
npm ERR! not ok code 0

and then struggled to make DIR...

Quote
mkdir: cannot create directory ‘/root/privkey.pem’: Permission denied

Do you have any ideas??

Thanks Smiley
Pages: [1] 2 »  All
  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!