Bitcoin Forum

Bitcoin => Project Development => Topic started by: davout on January 03, 2011, 11:10:57 AM



Title: Bitcoin Central going open source ! Open your own trading site for free !
Post by: davout on January 03, 2011, 11:10:57 AM
I've decided to fully opensource the code behind Bitcoin Central (https://bitcoin-central.net).

Someone (he'll make his name public if he wishes) specifically requested it and donated a respectable amount of bitcoins to make it happen.

The source has already been released to this person and will be publicly released under the AGPL Free Software Foundation license on February 1st.

If you are a Rails developer and you want to study/improve the code behind Bitcoin Central (https://bitcoin-central.net) feel free to send me a PM or an e-mail at support@bitcoin-central.net in order to get early access to the source tree.

Hopefully, this move will help build a better platform for everyone to use in setting up local/global exchanges, and in the long run, improve the bitcoin economy and awareness as a whole.

Hopefully it will also bring a much tougher competition to the bitcoin trading/exchange market :)

It will also enable Rails developers like me to collect bounties on specific feature requests.

I have to say I'm really really proud of the work I did and I hope others will find it useful and contribute to it !


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: grondilu on January 03, 2011, 11:26:26 AM
This is nice.

I've also released my website source (just click the link "voir la source" on the bottom of the page).

I think the more exchange plateforms we have, the better !


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: Anonymous on January 03, 2011, 12:03:54 PM
Nice job davout. I think it would qualify for the bounty if everyone agrees.



Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: caveden on January 03, 2011, 12:06:56 PM
Congratulations! This is cool.

And thank you too, anonymous donor. :)


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: Nefario on January 03, 2011, 12:54:27 PM
Nice job davout. I think it would qualify for the bounty if everyone agrees.



Agreed, very nice.


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: Nefario on January 03, 2011, 12:56:22 PM
This is nice.

I've also released my website source (just click the link "voir la source" on the bottom of the page).

I think the more exchange plateforms we have, the better !


Your exchange site is written is bash! :o


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: kiba on January 03, 2011, 04:23:04 PM
The license is rather harsh, but then I have not pledge a single bitcoin..so I get no say.


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: grondilu on January 03, 2011, 04:30:16 PM
Your exchange site is written is bash! :o

Yes.  It's the only language I can use for free on freeshell.org.

I like it.  It might have some performance problems if my site is much visited, but it's fun to write.


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: davout on January 03, 2011, 05:08:58 PM
Your exchange site is written is bash! :o

Yes.  It's the only language I can use for free on freeshell.org.

I like it.  It might have some performance problems if my site is much visited, but it's fun to write.
I'm a total noob at bash scripting, it looks like a very manly way to code xD


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: BioMike on January 03, 2011, 05:28:41 PM
The license is rather harsh, but then I have not pledge a single bitcoin..so I get no say.

It's just GPL without the web service loophole.


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: jgarzik on January 03, 2011, 06:04:46 PM
I've decided to fully opensource the code behind Bitcoin Central (https://bitcoin-central.net).

Someone (he'll make his name public if he wishes) specifically requested it and donated a respectable amount of bitcoins to make it happen.

The source has already been released to this person and will be publicly released under the AGPL Free Software Foundation license on February 1st.

I am that donor.  Feel free to mention me...  I am just trying to help out the bitcoin community.

Bitcoin needs an open source currency exchange site, to make it easier for others to open, for example, a Bitcoin-to-Polish-zloty exchange.


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: grondilu on January 03, 2011, 07:14:51 PM
Seriously, what you've done davout is great.  Releasing the source code for such as wevsite is great.

I won't donate because I'm too selfish.  But I will take part in this and I've already add a few bitcoins to my account.  I'll probably give up my own site.  Just because yours is better.

Now, one question : why can't we have a proper presentation for the book order ?   Decreasing bids on left, and increasing asks on right ?   We actually don't care about the time an order has been sent.


It should look like what I wrote once about order books on issuepedia :

http://fr.issuepedia.org/Comment_marche_la_bourse#Etablissement_du_cours_de_bourse


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: davout on January 03, 2011, 09:21:38 PM
Seriously, what you've done davout is great.  Releasing the source code for such as wevsite is great.

I won't donate because I'm too selfish.  But I will take part in this and I've already add a few bitcoins to my account.  I'll probably give up my own site.  Just because yours is better.
Your positive comments can count as donations.

Now, one question : why can't we have a proper presentation for the book order ?   Decreasing bids on left, and increasing asks on right ?   We actually don't care about the time an order has been sent.
You can, I just have to code it up.

It should look like what I wrote once about order books on issuepedia :

http://fr.issuepedia.org/Comment_marche_la_bourse#Etablissement_du_cours_de_bourse
Thanks, I'll use it as a useful example !


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: davout on January 04, 2011, 12:41:06 AM
why can't we have a proper presentation for the book order ?
Wish granted :)


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: grondilu on January 04, 2011, 01:32:59 AM
why can't we have a proper presentation for the book order ?
Wish granted :)


Good, good.

Now, you definitly should make one book for LRUSD, and an other one for LREUR.  Possibly one for EURcash and USDcash if you have any.

Otherwise, congratulations and thanks.  This is getting pretty nice.


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: genjix on January 04, 2011, 05:17:57 AM
Good job if you've opened the source, but what the hell? Where is it?

Can you put it on git (upload to github?) so we start forking it?

jgarzik- you're the best. I've seen you making lots of donations around here and helping build the bitcoin economy. Good job.


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: FreeMoney on January 04, 2011, 05:38:32 AM
why can't we have a proper presentation for the book order ?
Wish granted :)

It looks great, but only when the browser gets almost my whole large screen, otherwise they start to overlap.


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: davout on January 04, 2011, 10:41:36 AM
Can you put it on git (upload to github?) so we start forking it?
Move to first post, read first post.

Now, you definitly should make one book for LRUSD, and an other one for LREUR.  Possibly one for EURcash and USDcash if you have any.
Done.

It looks great, but only when the browser gets almost my whole large screen, otherwise they start to overlap.
Should be better now.


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: FreeMoney on January 04, 2011, 11:12:39 AM

Should be better now.


Maybe a little, shouldn't it drop below if it can't fit though? The currency selector buttons do, though not exactly correctly. The radio buttons should stick with their titles, not get separated. They aren't a problem until I scrunch it way narrow though so I wouldn't worry much about that, just using it for comparison.


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: davout on January 04, 2011, 11:17:52 AM
Maybe a little, shouldn't it drop below if it can't fit though?
Guess I should look a little more into low-res issues :)

The currency selector buttons do, though not exactly correctly.
Howso?


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: genjix on January 04, 2011, 11:56:38 AM
Can you put it on git (upload to github?) so we start forking it?
Move to first post, read first post.

I don't get it... Call me impatient but can you just put it on github? It's very easy ;)


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: davout on January 04, 2011, 12:09:26 PM
From the first post of this thread :

The source has already been released to this person and will be publicly released under the AGPL Free Software Foundation license on February 1st.

It's already on github :)

If you want to contribute patches or look at the source send an email at support@bitcoin-central.net and I'll give you a tarball. (my plan is out of private collaborators)


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: ColdHardMetal on January 04, 2011, 01:31:54 PM
The currency selector buttons do, though not exactly correctly.
Howso?


When you make the window smaller the button and the name move independently so you can end up with the name on one row and the button on another. They should be locked together so they move together and that doesn't happen.


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: FreeMoney on January 04, 2011, 10:04:11 PM
Maybe a little, shouldn't it drop below if it can't fit though?
Guess I should look a little more into low-res issues :)

The currency selector buttons do, though not exactly correctly.
Howso?


Put the title and button in an invisible box together? Something like that, I'm not sure of the terminology.


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: Dakus on January 05, 2011, 10:31:19 AM
If you want to contribute patches or look at the source send an email at support@bitcoin-central.net and I'll give you a tarball.
Mail sent. Waiting...  ::)


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: davout on January 05, 2011, 10:41:18 AM
If you want to contribute patches or look at the source send an email at support@bitcoin-central.net and I'll give you a tarball.
Mail sent. Waiting...  ::)
Sent :)


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: kiba on January 07, 2011, 03:00:48 AM
It's just GPL without the web service loophole.

The GPL is my definition of what's "harsh".


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: davout on January 07, 2011, 07:52:01 AM
It's just GPL without the web service loophole.
The GPL is my definition of what's "harsh".
Arrangements are always possible, not for free though :D


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: davout on January 26, 2011, 03:48:21 PM
Yay!

Bitcoin Central now allows its users to transfer any currency directly to another BC account.

This will allow buying and selling BC EUR credit in an OTC fashion.


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: grondilu on January 26, 2011, 04:43:08 PM
Yay!

Bitcoin Central now allows its users to transfer any currency directly to another BC account.

This will allow buying and selling BC EUR credit in an OTC fashion.

Do you mean we'll be able to make EUR/LRUSD, LREUR/LRUSD and LREUR/EUR orders ?


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: davout on January 26, 2011, 05:01:25 PM
No, not yet, that's planned, but what you get for now is the ability to transfer funds other users.

Like, you can make an OTC deal and exchange LREUR for LRUSD for example.

If I give you my account number you can give me money for free :)


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: ThiagoCMC on July 20, 2011, 09:06:41 AM
Hi!

 I like to include the brazillian Portuguese to my Bitcoin Central fork and, I like to setup the "br" as the default locale for the site...

 How to do it?!

Thanks!
Thiago


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: Grouver (BtcBalance) on July 20, 2011, 11:17:39 AM
How does this system deal with scammers?


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: davout on July 20, 2011, 01:37:06 PM
I like to include the brazillian Portuguese to my Bitcoin Central fork and, I like to setup the "br" as the default locale for the site...
http://guides.rubyonrails.org/i18n.html#internationalizing-your-application

Most of the stuff happens in the dictionary files under config/locales/{locale}/
There are also a couple of localized views you need to translate, they're under app/views/**/*.{fr|en|...}.html.{erb|haml}

To set the default locale change it in config/application.rb

How does this system deal with scammers?
What do you mean ?


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: jtimon on July 20, 2011, 04:41:37 PM
No, not yet, that's planned, but what you get for now is the ability to transfer funds other users.

Like, you can make an OTC deal and exchange LREUR for LRUSD for example.

If I give you my account number you can give me money for free :)

Maybe bitoption is interested in this feature. I'll tell him.
Congratulations for the project and thank you for opening the source. Thanks to jgarzik too.

Do you plan to include namecoin as another currency?
It would be great.


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: ThiagoCMC on July 20, 2011, 07:12:44 PM
Hi!

 Thank you!

 One more thing:

 1- I want to include the BRL "side-by-side" with EUR within Bitcoin Central (I mean, I´ll disable EUR and include BRL instead);

 2- How to disable: liberty_reserve, pecunix and yubico? I mean, I want to test this things in development but, when deploy to a production, I do not want these features open to public for now.

 I just want a Trading System, for instance, working on BTC <-> BRL.

Thanks!
Thiago


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: ThiagoCMC on July 20, 2011, 07:32:26 PM
Hi!

 I´m also want to disable for production, the Google Auth OTP.

Thanks!
Thiago


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: ThiagoCMC on July 20, 2011, 08:04:14 PM
Hi!

 I´m also want to disable for production, the Google Auth OTP.

Thanks!
Thiago
I mean no disrespect but the source code is available to you and this isn't a personal code modification service, if you are not competent with programming and understanding the source of this project, I don't think running an exchange is for you.

I personally have 0 ruby programming knowledge and by making this project open source is an excellent idea, I will be starting to learn some ruby just for this project, but I wouldn't dream of opening it public because I know my knowledge is lacking.

 I´m not a developer, but, I know how to put things to work smoothly. Bitcoin Central software isn´t easy to install as Joomla or Drupal, and that´s what I want to do for the others. Not only for me... I know I can help a lot with the documentation and installation procedures.

 With all respect to you too, if you do not want to answer/help, just ignore me.

 BTW, I´m not asking for "code modification service", I´m just asking for a direction. Exactly the same way dvaout just said here minutes ago:

 http://forum.bitcoin.org/index.php?topic=2585.msg382764#msg382764

 Is that too much to ask for?

 If I want coding services, I´ll ask for it and I´ll pay it only in Bitcoins. But, that´s not the case right now.

Best,
Thiago


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: ThiagoCMC on July 20, 2011, 09:40:05 PM
Davout,

 Do you know if the Ruxum Exchange is based on Bitcoin Central open source software?

 https://x.ruxum.com/ = https://bitcoin-central.net/ ?

 Because it looks almost identically at first look...

 News from here:

 http://techcrunch.com/2011/07/18/ruxum-wall-street-level-security-comes-to-bitcoin-with-new-exchange/

Cheers,
Thiago


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: davout on July 21, 2011, 07:59:55 AM
1- I want to include the BRL "side-by-side" with EUR within Bitcoin Central (I mean, I´ll disable EUR and include BRL instead);
The list of managed currencies is stored in a constant in the AccountOperation model, you need to add your currency code here to start, then you need to add its display in the account balances pages (in the future the currencies will be manageable through the admin interface), start with this and hit me up if you see it starts smoking :)

2- How to disable: liberty_reserve, pecunix and yubico? I mean, I want to test this things in development but, when deploy to a production, I do not want these features open to public for now.
Update the same constant in AccountOperation (or Transfer in older versions) model and remove them from the deposits and account balance views.


I´m also want to disable for production, the Google Auth OTP.
Remove the fields from the login page and user account details page and you're all set. There is no simple configuration option as of now.

Do you know if the Ruxum Exchange is based on Bitcoin Central open source software?
I will comment on this in a few days.


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: jtimon on July 21, 2011, 08:46:42 AM
Sorry for asking again.
Do you plan to add namecoin as currency to trade for bitcoins?


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: davout on July 21, 2011, 09:02:50 AM
Sorry for asking again.
Do you plan to add namecoin as currency to trade for bitcoins?
Yes, I will need to find a way to present all the available currencies in a non-overwhelming way though :)


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: jtimon on July 21, 2011, 09:41:21 AM
Sorry for asking again.
Do you plan to add namecoin as currency to trade for bitcoins?
Yes, I will need to find a way to present all the available currencies in a non-overwhelming way though :)

Cool !!
I want to have some namecoins too, but I'm too lazy to learn the console exchange.


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: btcbaby on July 23, 2011, 04:14:17 AM
Excellent Davout!


Title: Re: Bitcoin Central going open source ! Open your own trading site for free !
Post by: 4v4l0n42 on April 10, 2013, 12:58:02 PM
Amazing, great job Davout!  8)

I've been thinking about making an Italian BTC trading site, since there are still very few Italians using BTC at this point, and I think we could really use some (we are looking at a situation not very far from what happened in Cyprus, political instability and Italy go hand in hand these days...)

I saw the last commit on github is from a year ago https://github.com/davout/bitcoin-central

Does it mean that the code on https://bitcoin-central.net and the one on github are not aligned, or that the development has stopped?  :-\

I'm really excited about this and I think you've done a great thing by releasing the source code, but I'm afraid to start with something that may not be up to date and that I'd be the only one working on it.

Thanks!