shops is an online marketplace that connects buyers and sellers together to
discover amazing products in a safe and decentralized environment.
i started working on this project around 2 years, on and off after work and weekends. i wanted a simple online marketplace that is self-hostable, written in rust (because i was learning the language), and runs nice and smooth on low-end device such as a raspberry pi or intel nuc.
i’m still working on meeting my goal atm. my project codebase got a little more stable now, and i have spawn a ios client side project called “pocket shops”.
recently, i made pocket shops capable of using the flohmarkt service backend too.
i’m constantly adding fixes and implementation, and would really love to get some help on my project if anyone find it interesting.
@silverpill thanks. i had a quick look at the fep. it looks like it would work for marketplace. i think im in the position to try out implementing it.
in a marketplace situation, i personally struggle with the part where “Alice and Bob complete the transaction” the most, especially when alice has low stock with multiple bobs wanting to buy. there is a bit of back-and-forth dance between alice & bob. by the time, bob successfully send out his payment to alice, stock are already gone. this is a potential area of race condition, and i worry alice might abuse it. but i’ll have more to say once i wrap up my payment integration.
right now, im just writing out what i consider to be hard for me to implement~
I think Bob needs to trust Alice when she sends Accept(Agreement). There seems to be no way around that (unless there is a 3rd party arbitrator?).
This FEP is work-in-progress, and I would appreciate your feedback. Currently I am the only implementer of this FEP, and although my application is not a marketplace (it’s mitra, a micro-blogging app that supports content subscriptions), I am interested in interoperating with marketplace-like services.