An implementation on Klave of a chat room concept which provides full privacy and integrity by design, while allowing programmers to build chat bots to provide new business functionalities.
Description · Features · Deploy Your Own · Build Locally · Test Locally · Authors
This chat room template provides an app which will allow the basic functionalities of a chat room while preserving the privacy and integrity through Klave capabilities:
- Register your users and idenfy them
- Create a chat room and manage its users
- Discuss through multiple chat rooms with live notifications
On top of these basic functionalities, it also showcases the use of bots that can enable another level of business capabilities, to provide a "chat with a brain" while preserving the same level of privacy and integrity.
- Register your user
- Create a chat room
- Manage users of a chat rooms
- Discuss
- Create new business functionalities
You can deploy your own version of the Klave Chat room to Klave with one click:
You can build your template into wasm locally, allowing you to validate the hash of the application deployed on Klave.
Note: You should have node and yarn installed to be able to build locally.
yarn install
yarn build
This will create the .wasm file in the ./klave folder.
Alongside the Klave Chat Room app, there is a simple UI app showcasing its usage. The UI is written with React, React Router and TypeScript. To run the app, follow the steps:
- Clone this repo
- Run
yarn install
to install all the dependancies - Change the variables
VITE_APP_KLAVE_CONTRACT
in the .env.local file of chat room app with the address of your honest application - Run
yarn dev
to spin up a dev server
This library is created by Klave and Secretarium team members, with contributions from:
- Damian Tziamtzis (@damtzi) - Klave | Secretarium
- Nicolas Marie (@Akhilleus20) - Klave | Secretarium
- Etienne Bosse (@Gosu14) - Klave | Secretarium