https://github.com/snuffish/dapp-messenger
This is a (EVM) Blockchain chat/communication software and protocol
https://github.com/snuffish/dapp-messenger
blockchain chat communication dapps hardhat solidity
Last synced: 2 months ago
JSON representation
This is a (EVM) Blockchain chat/communication software and protocol
- Host: GitHub
- URL: https://github.com/snuffish/dapp-messenger
- Owner: snuffish
- License: mit
- Created: 2023-11-12T09:09:15.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-12T09:33:09.000Z (over 2 years ago)
- Last Synced: 2025-04-04T21:23:19.556Z (over 1 year ago)
- Topics: blockchain, chat, communication, dapps, hardhat, solidity
- Language: TypeScript
- Homepage:
- Size: 2.49 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dApp Messenger
This is a messenger chat application/protocol built for the EVM Compatible Blockchains.
Still an early proof-of-concept and and heavily Work-in-Progress solution.
### Requirements (recommended versions)
* node: `v20.8.0`
* npx: `8.19.4`
* hardhat: `2.19.0`
* nvm: `0.39.5`
* solidity: `^0.8.9`
## Project Setup
### Setup the Blockchain and it's associated Smart Contracts etc
##### Clone the repo and install everything following these steps:
* Clone repo: `git clone https://github.com/snuffish/dapp-messenger.git`
* `cd dapp-messenger`
* `nvm use` ==> Now using node v20.8.0 (npm v10.2.1)
* `nvm install` => Will install dependencies for both `.` & `./app`
* `npm start` ==> Start the blockchain node
* `npm test` ==> Run all tests for errors etc before deploying
* `npm run deploy` ==> Compile and deploy the Project & Contracts on to the chain
#### Setup and run the app (Ether.js) dApp Application
* `nvm use` ==> Now using node v20.8.0 (npm v10.2.1)
* `npm run app` ==> Start the WebBased Ether.js dApp
----------------------------------------------------------------
### Additional hardhat tasks
* Transfer/add a faucet to an account: `npx hardhat faucet `
* List all accounts: `npx hardhat accounts`
* Send message: `npx hardhat sendMessage `
* Get Message: `npx hardhat getMessages `
----------------------------------------------------------------
***This is powered by Hardhart***