PointCoin Pizza: Revamped Kyle Angelotti and Michelle Wang
Website Itself Hosted on EC2 node through apache SQL, PHP, etc Also running wallet for the escrow on same server Not running a miner
Person Places Order Put in pizza and toppings in form style Data is stored in SQL for later usage Person puts in transaction id Sends the money to a “pizza escrow” Store the new transaction ID in SQL database for later use Code is written in Go, converted to Javascript with Gopher.js
Pizza Behind the Scenes Node automatically checks block chain to see number of confirmations After 10 confirmations, generate pizza order Raw transaction example
Dominos API (link) Written as node.js wrapper Find closest store to address and get menu Turn order into a “pizza code” using the menu Have standard payment method stored for use in all orders Validate and place pizza order
Merchant Gets Paid Using the Dominos API, query every five minutes for status of the order Once trackOrder comes back as “delivered”, automatically send transaction to pizza merchant minus a 10 PTC transaction fee
Demo http://ec2-54-187-58-176.us-west-2.compute.amazonaws.com/order.html
Conclusion Safer for the customer Safer for the merchant Adds value to PointCoin network