
cannabase
facilitate USA based canna dispensary transactions using smart contracts
Demo
About
This project is a REST api aimed to solve paying for legal recreational and medical cannabis in the USA. # The user of this api 1. will be Dispensary storefront integrators such as dutche, leafley, Aero etc 1. Medical Cannabis paitents like my self who want to pay for cannabis using a erc-20 and or paypal 1. Legal Dispansaries that want track orders on chain and or accept erc-20 payments (or paypal)
How it's made
solidity contracts I build and test using hardhat # contracts # backend api the 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. # Routes ### GET /about about project ### / ###/order accepts the following methods ##POST (create order) 1.GET order/<contractaddress> retunrns a contract data from cartFactory.sol to be continued