cannabase
facilitate USA based canna dispensary transactions using smart contracts
Problem Statement
This project is a REST api aimed to solve paying for legal recreational and medical cannabis in the USA.The user of this apiwill be Dispensary storefront integrators such as dutche, leafley, Aero etcMedical Cannabis paitents like my self who want to pay for cannabis using a erc-20 and or paypalLegal Dispansaries that want track orders on chain and or accept erc-20 payments (or paypal)
Solution
solidity contracts I build and test using hardhatcontractsbackend apithe backend I chose to go with node js and express . this will get the job done as all I need is a api for calling contracts from a backend. service. for any frontend needs we can return html to the user. this will be fine for the hackathon but as we scale will build a frontend.RoutesGET /aboutabout project/###/order accepts the following methods ##POST (create order) 1.GET order/<contractaddress> retunrns a contract data from cartFactory.solto be continued