git clone https://github.com/kemargrant/soltalk
cd soltalk
npm install
cd soltalk
npm run start
-
Navigate to http://localhost:3000
-
Press "connect wallet" button & connect your sollet wallet to the https://testnet.solana.com endpoint
Ensure you have sufficient funding in the sollet wallet.
-
On the website click "create chat account" (This will generate a local RSA key pair that will be used to encrypt / decrypt messages)
-
Click Broadcast Presence (you will be prompted to sign and send a transaction which ties your Solana pubic key to your RSA public key)
Users connected to http://localhost:3000 will be prompted to add your account as a contact
-
Send a message:
-
Click on the contact to highlight the contact
-
Type a message into the input box at the bottom of the site
-
Hit enter/Click the send button
-
Sign transactions using sollet wallet
-