Inspiration
If giant tech companies like Google went down most of the internet is almost dead, it includes Gmail, Gpay, etc. so, we built a decentralized mail and payment system that works without any need for centralized systems.
What it does
A user can send emails and make payments.
How we built it
To store data in the blockchain is very expensive so we store user's details and emails in IPFS and mapped them to the blockchain by a hash. we write a smart contract for storing those hashes in the blockchain and retrieving mails from the IPFS using the hash. We also include a payment system, we write another smart contract for transferring ether across users, and we have used a chainlink price feed for displaying the transferring ether in USDT to the user. we built all these in a rinkeby testnet. finally, we built a cool website with all these functionalities in react.js.
Challenges we ran into
The main challenges we run into are, retrieving mails to the user from the IPFS, and building a good looking website.
Accomplishments that we're proud of
We are very proud to build one of the first dapp which includes both decentralized mailing and payment systems.
What we learned
We have learned a lot of new technologies.
- We have learned a Solidity programming language.
- React.js mainly hooks, routers, and styling.
- Blockchain technologies like IPFS for storing data in a decentralized way, and Chainlink price feeds for retrieving the most recent crypto prices.
- Libraries like ethers.js.
- Hardhat framework for testing and deploying smart contracts.
- Full-stack blockchain development workflow.
What's next for Dmail
in our app users can't include header and images in the mail, so we are planning to include these features in our app.
Built With
- chainlink
- etherium
- hardhat
- ipfs
- javascript
- react
- solidity
Log in or sign up for Devpost to join the conversation.