PoC bring online meeting to the next level
- Avatar configurable
- Buy items via crypto (Solana - devnet) and fiat
- Video & Audio share
- Avatar interactable
- @sveltejs
- @colyseus (Multiplayer)
- @threlte (3D)
- @svelte-on-solana
- @solana/pay (payment)
- svelte-stripe (payment)
Requirements
- Node (^16.14 || >=18)
- NPM
- Stripe account
- 100ms.live account
Clone repo
git clone https://github.com/sonhaaa/virs.git
cd virs
Install service-multiplayer
dependencies
cd service-multiplayer
npm i
Start the multiplayer
server
npm start
# Or using Docker compose
docker compose up -d
Install app
dependencies
cd app
npm i
Create .env
file. To know more about 100ms.live
endpoint, room_id, room_role checkout 100ms.live docs
HMS_ENDPOINT=
HMS_ROOM_ID=
HMS_ROOM_ROLE=
PUBLIC_STRIPE_KEY=
SECRET_STRIPE_KEY=
Run app
dev server
npm run dev
- Deploy the
service-multiplayer
, follow these steps - Change the
wss://virs.trysts.io
to your URL from 👆 (above) step (/src/lib/components/multiplayer-network.svelte
) - Change
Hb2HDX6tnRfw5j442npy58Z2GBzJA58Nz7ipouWGT63p
to your Solana wallet address (/src/routes/api/payment-solpay/+server.ts
)