Welcome, Guest. Please login or register.

Author Topic: BitMarket, a confiscation proof, open market system.  (Read 10603 times)

AyrA

  • BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1261
  • Karma: +75/-7
  • bitmessage.ch and timeservice operator
    • View Profile
    • AyrAs Homepage
BitMarket, a confiscation proof, open market system.
« on: January 04, 2014, 04:09:01 PM »
I am currently working on BitMarket, a confiscation proof, open market system.

Code: GitHub
Reddit link: reddit.com
BitText explaining how it works: bittext: 8wApvESl6y
More clean Readme file: bitm.sg: BitMarket

Feel free to make any suggestions or x-post it anywhere you like if you support it.
« Last Edit: January 19, 2014, 12:20:31 PM by AyrA »
My Address: BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
Bitmessage Time Service (Subscribe): BM-BcbRqcFFSQUUmXFKsPJgVQPSiFA3Xash
Support the Multipart Message Declaration Draft for Bitmessage: https://bitmessage.org/forum/index.php/topic,1553.0.html
Free Bitmessage to E-Mail Gateway: https://bitmessage.ch

domob

  • Newbie
  • *
  • Posts: 43
  • Karma: +5/-0
    • View Profile
Re: BitMarket, a confiscation proof, open market system.
« Reply #1 on: January 09, 2014, 01:38:08 AM »
Wow, this looks great! :)
Donations: 1domobKsPZ5cWk2kXssD8p8ES1qffGUCm
BM-GtQnWM3vcdorfqpKXsmfHQ4rVYPG5pKS

AyrA

  • BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1261
  • Karma: +75/-7
  • bitmessage.ch and timeservice operator
    • View Profile
    • AyrAs Homepage
Re: BitMarket, a confiscation proof, open market system.
« Reply #2 on: January 10, 2014, 06:17:53 PM »
I modified BitMarket this week. Bitmessage is no longer part of Bitmarket (but I provide the interface for it, if it is finished).
This may sound strange, but you can now basically write your own interface in C#.
You do not even need a compiler, source code can be loaded with Bitmarket (you can also load precompiled DLL files).
The Interface is dynamically loaded. You can load as many interfaces together as you want, so you can have Bitmessage, Syndie, PHP Forums,
Usenet servers, E-Mail servers. You can even write a Plugin, that abuses the Pastebin API to store its content on pastebin,
and have them all running together at the same time.

This means, that developers and market owners have nearly unlimited possibilities to "chain" different platforms together.
I also thought about the commands in the readme. While I like to have them in some sort of standard, I probably make
this a plugin too, so a market owner can put in the default plugin with the commands I have created.
But developers are also free to create their own processing interfaces, so they can (for example) include a Login/Registration command,
spam protection or escrow services.

Somebody in the Bitmarket reddit pointed out, that two-factor bitcoin could be included in Bitmarket for 2-party escrow fund transfer. (http://www.bit2factor.org/)
Somebody could write an interface, that automatically:
-> generates the required keys and sends them to the buyer
-> The buyer pays the bitcoins
-> the interface checks on regular intervals if the payment has been made (through the bitcoin client API or whatever)
-> if payment has been made, the transaction is created in BitMarket
-> The seller is informed and gets the required keys.
-> Buyer and seller continue to safely complete the transaction.

As you see, the possiblilites are nearly unlimited with a plugin interface.
If bitmessage ever dies, a market can easily continue to exist on other platforms.

These changes probably prevent me from releasing bitmarket this weekend already.
My Address: BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
Bitmessage Time Service (Subscribe): BM-BcbRqcFFSQUUmXFKsPJgVQPSiFA3Xash
Support the Multipart Message Declaration Draft for Bitmessage: https://bitmessage.org/forum/index.php/topic,1553.0.html
Free Bitmessage to E-Mail Gateway: https://bitmessage.ch

drwasho

  • Newbie
  • *
  • Posts: 4
  • Karma: +1/-0
    • View Profile
Re: BitMarket, a confiscation proof, open market system.
« Reply #3 on: January 14, 2014, 02:41:46 AM »
I think people are drastically underestimating the impact that Bitmarket is going to have. Kinda shocked there hasn't been more activity in this space... I suppose it was like Bitcoin in the old days.

AyrA

  • BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1261
  • Karma: +75/-7
  • bitmessage.ch and timeservice operator
    • View Profile
    • AyrAs Homepage
Re: BitMarket, a confiscation proof, open market system.
« Reply #4 on: January 18, 2014, 02:14:18 PM »
I am looking for two things:

  • A website design to put up a site for BitMarket, which helps developers and users getting started and provides resources to develop your own Plugins.
  • A license for BitMarket. People should be able to basically do anything with BitMarket except: Change the license, sell it, make it closed source. Sort of this but for software.

About the license: "non-commercial" is actually referred to the source code and the application. You are indeed allowed to make profit from the Market you intend to run.
« Last Edit: January 18, 2014, 05:32:09 PM by AyrA »
My Address: BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
Bitmessage Time Service (Subscribe): BM-BcbRqcFFSQUUmXFKsPJgVQPSiFA3Xash
Support the Multipart Message Declaration Draft for Bitmessage: https://bitmessage.org/forum/index.php/topic,1553.0.html
Free Bitmessage to E-Mail Gateway: https://bitmessage.ch

Smurff

  • Newbie
  • *
  • Posts: 26
  • Karma: +0/-1
    • View Profile
Re: BitMarket, a confiscation proof, open market system.
« Reply #5 on: January 19, 2014, 05:08:20 AM »
I think people are drastically underestimating the impact that Bitmarket is going to have. Kinda shocked there hasn't been more activity in this space... I suppose it was like Bitcoin in the old days.

A-men brother! I've only just read the bittext of this project but man AyrA you are on a roll with all this stuff, give this guy your bitcoins please!
BM-GtanUQHd8CzJ1XkUzJssrd9kEgk3VLKT

AyrA

  • BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1261
  • Karma: +75/-7
  • bitmessage.ch and timeservice operator
    • View Profile
    • AyrAs Homepage
Re: BitMarket, a confiscation proof, open market system.
« Reply #6 on: January 19, 2014, 12:20:52 PM »
I have uploaded a first version of the BitMarket Server. I have not yet tested it fully but the MAIN commands work as expected. The upload contains: core component, bitmessage plugin, mySQL plugin, demo plugin and the "GenericHandler", which is used to create plugins.
https://github.com/AyrA/BitMarket
You can basically start from here, as from this point on changes to the code will more or less only be bugfixes.
My Address: BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
Bitmessage Time Service (Subscribe): BM-BcbRqcFFSQUUmXFKsPJgVQPSiFA3Xash
Support the Multipart Message Declaration Draft for Bitmessage: https://bitmessage.org/forum/index.php/topic,1553.0.html
Free Bitmessage to E-Mail Gateway: https://bitmessage.ch

Convertor

  • Global Moderator
  • Full Member
  • *****
  • Posts: 224
  • Karma: +13/-0
    • View Profile
Re: BitMarket, a confiscation proof, open market system.
« Reply #7 on: January 19, 2014, 12:47:51 PM »
Do you have any compiled .EXE?

AyrA

  • BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1261
  • Karma: +75/-7
  • bitmessage.ch and timeservice operator
    • View Profile
    • AyrAs Homepage
Re: BitMarket, a confiscation proof, open market system.
« Reply #8 on: January 19, 2014, 02:15:00 PM »
Do you have any compiled .EXE?
You can clone the project to your computer and it should contain an exe (and the all the DLL files) in the BitMarket\bin\Debug folder. In the Plugins subfolder is the default plugin (Bitmessage + MySQL) and a demo plugin. The Demo plugin is only provided as source, but BitMarket compiles it at runtime.
My Address: BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
Bitmessage Time Service (Subscribe): BM-BcbRqcFFSQUUmXFKsPJgVQPSiFA3Xash
Support the Multipart Message Declaration Draft for Bitmessage: https://bitmessage.org/forum/index.php/topic,1553.0.html
Free Bitmessage to E-Mail Gateway: https://bitmessage.ch

MglIcVhy

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: BitMarket, a confiscation proof, open market system.
« Reply #9 on: May 07, 2014, 12:46:29 PM »
What would it take to get this up and running in Debian?  (I have no programming experience.)

AyrA

  • BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1261
  • Karma: +75/-7
  • bitmessage.ch and timeservice operator
    • View Profile
    • AyrAs Homepage
Re: BitMarket, a confiscation proof, open market system.
« Reply #10 on: May 07, 2014, 03:33:16 PM »
What would it take to get this up and running in Debian?  (I have no programming experience.)
Without programming experience you probably will not get it running on Debian.
First of all, the application is written in C#. C# uses .NET and this is windows only, so you either need to port it to another language (like C++) or port it to the Mono framework.

Since you do not have programming experience, porting to another language falls out of our choices, so you are left with porting it to mono, which seems not too hard.
  • One method for bitmarket.exe and the plugins (BitMessage.dll) need to be replaced with another.
  • CookComputing.XmlRpcV2.dll calls functions not yet finished in Mono
  • Newtonsoft.Json.dll calls a "Trace" function which does not exists in mono, but from the name I assume it is for debugging and can silently be removed.
Sad part is, for the bottom 2 I have no proper solution, since I did not write the 2 components, but they are open source.
So I assume the Json thing is probably fixable easily by removing stuff and recompile, but the XmlRPC API Stuff might be more complicated, because the library generates code at runtime.
An alternative would be to write a component by yourself in another language, which gets called from C# and then forms the requests.
My Address: BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
Bitmessage Time Service (Subscribe): BM-BcbRqcFFSQUUmXFKsPJgVQPSiFA3Xash
Support the Multipart Message Declaration Draft for Bitmessage: https://bitmessage.org/forum/index.php/topic,1553.0.html
Free Bitmessage to E-Mail Gateway: https://bitmessage.ch

MglIcVhy

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: BitMarket, a confiscation proof, open market system.
« Reply #11 on: May 07, 2014, 04:00:05 PM »
Do you have or know of any sample implementations of BitMarket?  I would like to get a feel for the user experience before deciding whether to offer a bounty for a Debian-compatible port.

AyrA

  • BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1261
  • Karma: +75/-7
  • bitmessage.ch and timeservice operator
    • View Profile
    • AyrAs Homepage
Re: BitMarket, a confiscation proof, open market system.
« Reply #12 on: May 07, 2014, 04:48:51 PM »
No. The BitMarket System has no client yet at all. The project is the server component.


A client should not be too hard to implement, as almost everything is documented here and it works straight forward: http://bitm.sg/?menu=bitmarket


Also to be honest, I have never tested it long term on a live system. The project runs and as far as I know I have everything implemented. Important stuff was tested against malicious entries (for example the pricemap and the SQL/Bitmessage routines)
My Address: BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
Bitmessage Time Service (Subscribe): BM-BcbRqcFFSQUUmXFKsPJgVQPSiFA3Xash
Support the Multipart Message Declaration Draft for Bitmessage: https://bitmessage.org/forum/index.php/topic,1553.0.html
Free Bitmessage to E-Mail Gateway: https://bitmessage.ch

viralpoetry

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
maybe of your interest
« Reply #13 on: May 08, 2014, 04:41:50 AM »

At a Toronto Bitcoin hackathon earlier this month, the group took home the $20,000 first prize with a proof-of-concept for a new online marketplace known as DarkMarket, a fully peer-to-peer system with no central authority for the feds to attack. If DarkMarket’s distributed architecture works, law enforcement would be forced to go after every contraband buyer and seller one by one, a notion that could signal a new round in the cat-and-mouse game of illicit online sales.

“What doesn’t kill you makes you stronger,” said Amir Taaki, one of DarkMarket’s creators and the founder of the anarchist group Unsystem, in a short speech at the Toronto Bitcoin Expo unveiling the project. He compared DarkMarket’s improvements on the now-defunct Silk Road to the advent of Bittorrent, a decentralized technology that revamped Napster’s more vulnerable model of filesharing and flummoxed copyright enforcers.

http://www.wired.com/2014/04/darkmarket/
my box: BM-NC4tRGuei6hPtFTsNP81x6dhtPDdzVE4

AyrA

  • BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1261
  • Karma: +75/-7
  • bitmessage.ch and timeservice operator
    • View Profile
    • AyrAs Homepage
Re: maybe of your interest
« Reply #14 on: May 08, 2014, 07:47:02 AM »
... a fully peer-to-peer system with no central authority for the feds to attack...

It's basically what I did with BitMarket, except I did not invent a new protocol, I just built it on top of bitmessage.

Also from the page:
Quote
Any DarkMarket user can become a seller on the market simply by editing an HTML file that DarkMarket designates as his or her seller page, adding pictures and descriptions of items for sale just as he or she would on the Silk Road or eBay.
This seems somewhat dangerous to me, since it allows to exploit bugs in browsers.
My Address: BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
Bitmessage Time Service (Subscribe): BM-BcbRqcFFSQUUmXFKsPJgVQPSiFA3Xash
Support the Multipart Message Declaration Draft for Bitmessage: https://bitmessage.org/forum/index.php/topic,1553.0.html
Free Bitmessage to E-Mail Gateway: https://bitmessage.ch