PokeVote is a proof-of-concept application that combines web3 technology with WebXR. Users can cast their votes for their favorite Pokemon using PokeVote's voting system, which is operated by a smart contract built with Stacks.
-
Install Docker if not already done so
-
> cd contracts && clarinet integrate
- create .env (refer to .env.example)
set VITE_XR_SERVE_URL to an accessible URL from your local network, e.g.: https://192.168.xxx.xxx:3001
- start frontend app
> cd frontend && yarn dev
It will start local vite dev server on port 5173
- use local proxy to expose a https port with
local-ssl-proxyref: https://github.com/cameronhunter/local-ssl-proxy`
> local-ssl-proxy --source 3001 --target 5173