generated from scio-labs/inkathon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
32 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,49 @@ | ||
|
||
> This project was bootstrpped with the [!inkathon template](/SETUP.md) | ||
> This project was bootstrpped with the [!inkathon template](/SETUP.md) | ||
--- | ||
|
||
[](https://youtube.com) | ||
|
||
### Whisper | ||
|
||
Whisper is an app where privacy focused individuals can have ephemeral conversations that disappears almost like a whisper, right after they leave. | ||
Whisper is an app where the privacy focused can have ephemeral conversations almost like whispering. | ||
|
||
[Live Demo](https://blue-whisper.vercel.app/) | ||
|
||
|
||
[Video Demo](https://youtube.com/) | ||
|
||
## How it works | ||
|
||
 | ||
|
||
1. Get some test tokens for Aleph Zero or Accurast | ||
2. Install a wallet([Talisman](https://talisman.xyz/) is a good option) | ||
4. Create or join a chatroom | ||
5. Invite your friends (if you created) | ||
6. Talk and talk | ||
7. Delete chatroom and all messages | ||
3. Create or join a chatroom | ||
4. Invite your friends (if you created) | ||
5. Talk and talk | ||
6. Delete chatroom and all messages | ||
|
||
## Usage | ||
|
||
 | ||
|
||
[](https://youtube.com) | ||
## Components | ||
|
||
## Screenshots | ||
Whisper is built for the Polkadot substrate ecosystem, it uses the ink! smart contract language for it's main functionality and a web UI & Talismann wallet for user's interaction with the application. | ||
|
||
Lorem ipsum... | ||
Other critical components are: | ||
|
||
## Future work | ||
1. !Inkathon: a fullstack boilerplate to build dApps with ink! and on polkadot. I created a [`chatroom` smart contract](/contracts/src/chatroom/lib.rs) which stores the core functionality of the dApp, it was deployed to [Aleph Zero testnet](https://alephzero-testnet.subscan.io/account/5GpiEYmPMVqMcJaR3eeDm4z8a5qZBsAmshYYSCBtuHYa96Bk?tab=transfer) & developer Acurast network. | ||
|
||
2. Acurast: users' can create chatrooms that are deployed to the Acurast network. I used the Acurast SDK, created [a hook](/frontend/src/deployments/use-accurast.tsx) that I used to interact with the instance of chatroom on Acurast. The chatoom contract was deployed with the [Acurast console](https://console.acurast.com/job-creation/39) | ||
|
||
3. NextJS & useInk: the combination of NextJS and the react library useInk made it trivial [to interact](/frontend/src/context/app-context.tsx) with the chatroom contract. | ||
|
||
4. Ink smart contract: I built and tested the chatroom contract with !ink. | ||
 | ||
|
||
|
||
## Future Work | ||
|
||
Integrate azero.id to have a better UX when sharing messages with each other | ||
Implement e2e encryption | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
frontend/public/images/whisper-send-message.gif:Zone.Identifier
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[ZoneTransfer] | ||
ZoneId=3 | ||
HostUrl=https://app.clipchamp.com/ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.