Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I would love to solve the "p2pvps problem" in a traditional way, so that people can use USD or EUR or any currency to pay... including BCH or ETH or BTC or whatever...
- I'd like to decouple the solution from the actual payment system as far as possible.
- I think the most minimal solution would eventually be something like:
- 1. an expert hosts a "p2pvps hoster image" on a public server (e.g. AWS, heroku, azure, ... raspberry pi?)
- 2. the expert forks a github page and edits a config file to have a frontend a n end user can visit
- 3. an end user visits that page and fills out a form to select from a predefined list of github repos what they want to host + selects a payment methods and clicks PAY & DEPLOY
- * this generates a public private keypair too which is cashed in the website and the public key is sent along with the request
- 4. after successful payment, the "p2pvps hoster image" which runs on a public server starts running the end users selected github repo whatever it does (maybe it serves a website or offers a REST API, ...)
- 5. the end user also receives back an "administrator token" encrypted with the end users public key
- 6. the static github page now shows a generic (start/stop/restart/...) admin interface about their server which they can control using the token
- ...If something like the above was possible in the simplest possible form, it could be a building block which can be used to build more sophisticated solutions later on.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement