Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. 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...
  2. I'd like to decouple the solution from the actual payment system as far as possible.
  3.  
  4. I think the most minimal solution would eventually be something like:
  5.  
  6. 1. an expert hosts a "p2pvps hoster image" on a public server (e.g. AWS, heroku, azure, ... raspberry pi?)
  7. 2. the expert forks a github page and edits a config file to have a frontend a n end user can visit
  8. 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
  9. * this generates a public private keypair too which is cashed in the website and the public key is sent along with the request
  10. 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, ...)
  11. 5. the end user also receives back an "administrator token" encrypted with the end users public key
  12. 6. the static github page now shows a generic (start/stop/restart/...) admin interface about their server which they can control using the token
  13.  
  14. ...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