Skip to content

Chat room leveraging privacy from Klave embedded with chat bots

License

Notifications You must be signed in to change notification settings

secretarium/klave-chat-room

Repository files navigation

Klave - Chat room

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

Wasm AssemblyScript

Description

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.

Features

  • Register your user
  • Create a chat room
  • Manage users of a chat rooms
  • Discuss
  • Create new business functionalities

Deploy Your Own

You can deploy your own version of the Klave Chat room to Klave with one click:

Deploy on Klave

Build Locally your Honest App

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.

Test Locally

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

Authors

This library is created by Klave and Secretarium team members, with contributions from:

About

Chat room leveraging privacy from Klave embedded with chat bots

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published