cannabase

facilitate USA based canna dispensary transactions using smart contracts

cannabase

Created At

ETHOnline 2025

Project Description

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
  2. Medical Cannabis paitents like my self who want to pay for cannabis using a erc-20 and or paypal
  3. 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

background image mobile

Join the mailing list

Get the latest news and updates