All Projects → brendan-rius → darkmall

brendan-rius / darkmall

Licence: Unlicense license
Incomplete example of free market running on ETH blockchain for educational purposes only

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to darkmall

conceal-desktop
Conceal Desktop (GUI)
Stars: ✭ 65 (+27.45%)
Mutual labels:  decentralized
DIoU YOLO V3
📈📈📈【口罩佩戴检测数据训练 | 开源口罩检测数据集和预训练模型】Train D/CIoU_YOLO_V3 by darknet for object detection
Stars: ✭ 53 (+3.92%)
Mutual labels:  darknet
ibkr
Interactive Brokers wrapper 🚩
Stars: ✭ 34 (-33.33%)
Mutual labels:  market
mirotalk
🚀 WebRTC - P2P - Simple, Secure, Fast Real-Time Video Conferences Up to 4k and 60fps, compatible with all browsers and platforms.
Stars: ✭ 1,593 (+3023.53%)
Mutual labels:  decentralized
dispersy
The elastic database system. A database designed for P2P-like scenarios, where potentially millions of computers send database updates around.
Stars: ✭ 81 (+58.82%)
Mutual labels:  decentralized
ipfs-pubsub-chatroom
Simple IPFS Pubsub chatroom built on React
Stars: ✭ 45 (-11.76%)
Mutual labels:  decentralized
soundstorm
The Federated Social Audio Platform
Stars: ✭ 26 (-49.02%)
Mutual labels:  decentralized
bittrex-api
PHP client for the Bittrex API
Stars: ✭ 25 (-50.98%)
Mutual labels:  market
blockstack-browser
The Blockstack Browser
Stars: ✭ 1,130 (+2115.69%)
Mutual labels:  decentralized
OpenCV-Flask
🐛 🐛 Opencv视频流传输到网页浏览器并做目标检测 🐛 🐛
Stars: ✭ 35 (-31.37%)
Mutual labels:  darknet
docs
Unleash Bitcoin's full potential with decentralized apps and smart contracts. The documentation covers key aspects of the Stacks network and technology and provides tutorials and other helpful content for developers.
Stars: ✭ 134 (+162.75%)
Mutual labels:  decentralized
DataToken
Decentralized access control middleware for data exchange and monetization
Stars: ✭ 17 (-66.67%)
Mutual labels:  decentralized
vehicle-rear
Vehicle-Rear: A New Dataset to Explore Feature Fusion For Vehicle Identification Using Convolutional Neural Networks
Stars: ✭ 99 (+94.12%)
Mutual labels:  darknet
peercoin
Reference implementation of the Peercoin protocol.
Stars: ✭ 547 (+972.55%)
Mutual labels:  decentralized
License-plate-recognition
使用 "Darknet yolov3-tiny" 进行车牌识别
Stars: ✭ 90 (+76.47%)
Mutual labels:  darknet
DarkPlate
License plate parsing using Darknet and YOLO
Stars: ✭ 36 (-29.41%)
Mutual labels:  darknet
Chatangle
A free, decentralized, global chatroom, powered by the IOTA tangle
Stars: ✭ 16 (-68.63%)
Mutual labels:  decentralized
hopr-core
Main repository of HOPR - this is all you need to run a node on the HOPR network!
Stars: ✭ 14 (-72.55%)
Mutual labels:  decentralized
darknet-pjreddie
Convolutional Neural Networks
Stars: ✭ 264 (+417.65%)
Mutual labels:  darknet
darknet
php ffi darknet
Stars: ✭ 21 (-58.82%)
Mutual labels:  darknet

Free Market (DarkMall)

Example logos

Here is a non-comprehensive proof-of-concept of what a decentralized market running on the Ethereum blockchain could look like.

In other words, this could be a Silk Road like market that cannot be taken down by authorities, it does not have moderators or administrators, it could have a revolutionizing UX (no login/signup, no TOR) and no possibility of exit-scam.

This is for educational purpose only and is purposedly incomplete.

About the market

The market

  • Would not need (although it is recommended) to use a VPN/TOR as their IP address would only be visible by one or a few supposedly trustworthy Ethereum nodes when they make a trasaction
  • Users would not need to credit their account by depositing cryptocurrencies in the wallet first (so it cannot be seized by any third-party in case of an exit scam, or law enforcement seizure)
  • Users would not even need an account at all (just an Ether wallet)
  • There is no risk of the market being taken down as law enforcement would have to stop the whole Ethereum network
  • There is no risk of exit scam for the code source is openly available, auditable, and cannot be altered on stop without controlling most of the Ethereum nodes
  • There could be multiple different frontends developed by anybody (with some of them hiding certain things they do not want to be sold), making it hard to stop a particular frontends
  • Frontends do not need any backend other than the Ethereum contract, thus they can be hosted statically locally, or in a permanent fashion (such as with IPFS)
  • Could be easily accessible via the Mist Browser or via Metamask

Implemented features

  • Anybody can create a store by paying a price to the mall. This could be free, but having to pay ensure people do not create a lot of scam stores easily.
  • The mall is owned by someone who then gets 10% of all the proceedings of each store
  • A store owner can create products freely in his store
  • Anybody can list all stores of the mall, and all products of a store
  • Anybody can buy anything from a store
  • When somebody bought an item, he can rate the item with a 0-10 rating and a comment
  • A vendor can rate a buyer with a 0-10 rating
  • When buying an item, a buyer can send an encrypted message with the public key of a store. This is useful to transmit a postal address to ship the good to for example.
  • Vendors can withdraw their money
  • Mall owner can withdraw his money

Missing features

  • Buyer can edit a product (~5 lines of code to write)
  • Conversation between buyer/seller instead of a single message from the buyer to the seller
  • Seller can refuse an order and reimburse the buyer
  • Seller can mark an order as finalized
  • Create an escrow system. A good one is probably one is described a bit after.
  • Create categories and sub-categories with a voting system (vendors could vote to open categories and they would have more votes if they sold a lot of products)

Possible escrow system

First, it is important to understand that seller have an incentive to behave in the best way possible to make money on the long term. Buyers do not care as they often want to buy something and then forget about everything.

  1. The buyer can open a complaint for example "I have not received my product"
  2. If buyer and seller find a solution together, then everything is fine, and buyer closes his complaint
  3. If no agreement is reached, seller gets ALL the money back, and buyer is f**ed but the seller will be marked as having had 1 complaint, which will be penalized in the frontend

The frontend should make it obvious to be wary of vendors with a lot a complaints.

Run the code

Make sure you have Truffle installed.

Run a blockchain locally for testing:

testrpc

Deploy the contracts to your blockchain:

truffle deploy

Run the market frontend:

npm run start

Navigate to localhost:3000 and use Metamask for transactions. You should import account with the private keys testrpc gave you.

The frontend is not ideal and does not implement a lot of features but I can't provide with a full implementation responsibly. Get to work and code a bit you lazy ass. Another uglier version with more features is available at commit c2dbcb8630810395dd2aabf5fee77e0d24ac0053

Contribute

Pull requests welcome.

How to become very rich very fast

  • Deploy this market with a great frontend stored on IPFS.
  • Create an ICO that gives token holders right to get a portion of your 10% cut with the mall (if you are smart, you should be able to raise 30-150M (tell the investors you need to pay for public audit. but do it for real it's important). Keep some tokens for yourself
  • Get the money out, transform it to Monero for security, then sell it through your offshore company's GDAX account.
  • Become the new Pablo Escobar and improve public health without moving from your couch
  • Spend your life scared of law enforcement and struggle getting your money out
  • End up convicted with 2 life-terms in prison, or hang yourself in a Thai jail cell

Seriously, don't do that.

If you have the skills to do it, you would probably be better off doing something like trying creating the next Facebook.

I strongly discourage deploying this kind of market to the Ethereum blockchain without proper control over what you are doing.

I am not responsible for what you do.

Logos are free to use. Consider it a gift to the community. All credit goes to the Jule, the original designer. SVG versions available in repo.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].