Bitcoin Forum

Bitcoin => Project Development => Topic started by: genjix on March 17, 2011, 09:14:40 PM



Title: Free Bitcoin exchange software- Intersango
Post by: genjix on March 17, 2011, 09:14:40 PM
I've opened the source code + artwork to our exchange under GPL3

http://gitorious.org/intersango/master/trees/master

I'm also selling support contracts,

http://bitcointalk.org/index.php?topic=4576.0

Hopefully we can get some nice exchanges going.


Title: Re: Free Bitcoin exchange software- Intersango
Post by: caston on May 08, 2011, 09:55:40 AM
I have installed this to test it out. How do I access the admin section? What I want to do is modify the available currencies.


Title: Re: Free Bitcoin exchange software- Intersango
Post by: genjix on May 08, 2011, 01:00:29 PM
I have installed this to test it out. How do I access the admin section? What I want to do is modify the available currencies.

As you can see, 3 of us have been working on this software round the clock.

https://gitorious.org/intersango

ATM we're working on a new branch that's nearly complete (see exper). All features have been added accept for dark pools which should be completed today or tomorrow. Then next week we'll be testing, merging to master and re-testing again.

If you go to #bitcoinconsultancy on IRC , that's a good place to ask questions since the other devs are there too.

You can PM metonymous,
http://bitcointalk.org/index.php?action=profile;u=10462

I know he's been setting up his own AU exchange using our current master (stable) branch.


Title: Re: Free Bitcoin exchange software- Intersango
Post by: genjix on May 08, 2011, 01:02:32 PM
So to modify the currencies in master is contrived and involves editing the source.

In exper it involves adding the correct row under the table:

mysql> select * from baskets;
+-----+------+---------------+------+
| cid | code | fullname      | sibl |
+-----+------+---------------+------+
|   9 | BTC  | Bitcoin       | GBP  |
|  10 | GBP  | British Pound | BTC  |
+-----+------+---------------+------+
2 rows in set (0.02 sec)


And add the appropriate flag image under www/images/flags/


Title: Re: Free Bitcoin exchange software- Intersango
Post by: caston on May 08, 2011, 07:28:42 PM
Thank you I will try this in the next couple of days. I am impressed by what I see so far. Good work.


Title: Re: Free Bitcoin exchange software- Intersango
Post by: caston on May 10, 2011, 08:39:56 AM
Hi genjix,

I downloaded exper and dumped all the tables in my current database intersango and imported the DATABASE from exper. I then changed the sym link to point my /var/www to intersango-bitcomex and put the mysql username and pw in config.php.

I also modified the error log path $logdir in errors.php

I now get the following error on the start page:

Notice: Undefined index: in /home/joe/intersango-bitcomex/view_util.php on line 43 Notice: Undefined index: in /home/joe/intersango-bitcomex/view_util.php on line 44

It looks to me like line 44 is: $sibl_name = $currencies[$sibl_curr];


Thanks,

Chris


Title: Re: Free Bitcoin exchange software- Intersango
Post by: genjix on May 10, 2011, 08:47:25 AM
Yep you have to add the currencies you want as I mentioned above to the table 'baskets'.


Title: Re: Free Bitcoin exchange software- Intersango
Post by: caston on May 10, 2011, 09:51:03 AM
Ok I tried INSERT INTO `intersango`.`baskets` (`cid`, `code`, `fullname`, `sibl`) VALUES ('9', 'NC', 'Namecoin', 'N');

Now the only error I get is:

Notice: Undefined index: N in /home/joe/intersango-bitcomex/view_util.php on line 44

I've removed the sibl N part and I've added testcoin as well but I still get the error:

Notice: Undefined index: in /home/joe/intersango-bitcomex/view_util.php on line 44

It also doesn't seem to let me actually select the currency I want. The combo box shows testcoin and namecoin but they bot go back to bitcoin once I release. Also the box below "currency I want" shows a big NA when I just try changing "currency I have".


Title: Re: Free Bitcoin exchange software- Intersango
Post by: genjix on May 10, 2011, 10:04:12 AM
Do:

use intersango;
delete from baskets;
INSERT INTO baskets (code, fullname, sibl) VALUES ('NC', 'Namecoin', 'N');
INSERT INTO baskets (code, fullname, sibl) VALUES ('N', 'Magical N, 'NC');

Put the required images under  www/images/flags  (N_flag.png NC_flag.png)


Title: Re: Free Bitcoin exchange software- Intersango
Post by: ShadowOfHarbringer on May 10, 2011, 11:27:42 AM
I've opened the source code + artwork to our exchange under GPL3

http://gitorious.org/intersango/master/trees/master

I'm also selling support contracts,

http://bitcointalk.org/index.php?topic=4576.0

Hopefully we can get some nice exchanges going.

I noticed a small thing about your code immediately.

Official PHP coding guidelines say to remove all ending tags ?> from php files. This fixes a number of possible errors with output buffering/compression caused by white spaces.

Otherwise, great code.