/escrow-dapp

EthIndia 2023, an web3 escrow platform

Primary LanguageTypeScript

Descrownomics

Note

The steps to be followed to verify if the bounty track has been implemented are given at the end of this file.

The code that holds your deal hostage (until it's done)

The Decentralized Escrow Protocol represents a groundbreaking solution to the age-old challenge of establishing trust in transactions. In traditional dealings, a fundamental reliance on trust between parties often becomes a stumbling block, particularly when there is no pre-existing relationship or a history of unfavorable interactions. By leveraging the power of smart contracts, the protocol introduces a level of transparency and accountability that was previously unattainable. The essence lies in a brilliantly simple yet effective concept: funds are securely held in escrow by a smart contract until both parties have successfully fulfilled their respective obligations. This transformative approach not only guarantees the completion of the transaction but significantly mitigates the inherent risks associated with fraud and deception. At the core of our protocol is the utilization of blockchain technology, ensuring that every facet of the escrow functionality is not only secure but also immutable. This means that once the terms are set and agreed upon, they are etched into the blockchain, creating an indelible record of the transaction history. This not only safeguards against any tampering or unauthorized changes but also provides an unalterable chronicle that serves as a testament to the integrity of the transaction.

How it works?

Client: Creates Tasks to get done
Creator: Chooses tasks and completes them
Both stake some amount into the contract on the agreement. If either of them rejects, they lose the stake.

Technologies used

Polygon dApp LaunchPad:

Descrownomics, by utilizing the dApp LaunchPad framework and TypeScript, fits seamlessly into the Polygon track, capitalizing on Polygon's strengths in scalability and speed. This integration facilitates the smooth and efficient connection of smart contracts with the front end, enhancing user experience and operational efficiency. The use of TypeScript underscores a commitment to robust and maintainable code, crucial for the development of decentralized applications. By aligning with Polygon's ecosystem, Descrownomics not only benefits from its low transaction fees and high throughput but also positions itself for increased adoption and growth within the vibrant DeFi community, leveraging the network's extensive partnerships and user base.

Lighthouse:

Descrownomics creatively integrates Filecoin's Lighthouse.storage as a pivotal component in the project, utilizing this onramp for storing and retrieving creators' work. This approach ensures that the creators' output is not only securely stored for perpetual access but also safeguarded against tampering due to the immutable nature of the storage. Such a mechanism is crucial for maintaining the integrity of the work and providing proof against any malicious activities.

Push Protocol chat:

Our project harnesses this technology to its fullest potential, integrating Push Chat as a fundamental feature to facilitate direct and efficient communication between freelancers and organizations. The Push Protocol's versatility allows for a range of functionalities essential for social-based dApps.

Scroll:

Deployed and verified our smart contract on Scroll.
https://sepolia.etherscan.io/address/0x48735C0AAC91FFB817b16EFEb9e494D838cB89aE
https://sepolia.etherscan.io/tx/0xc4dec52bb2be3c2abc2f0f60a85459a3c94f895c2be3c531f360a700359c5bf4

NextJs

Paper Referenced

Ali, A., Yukesh, S., Shankar, T., & Thanigai, R. (2023). Decentralised Escrow Protocol that Facilitates Secure Transactions between Trustless Parties. Social Science Research Network. https://doi.org/10.2139/ssrn.4365306

Bounty Verification Process

  • Scroll - Deploy on Scroll - We have deployed our contract on Scroll, here is the contract address(0xc8a4F7980e4Ce67dD01E7c77d9a9596849d1187D) and etherscan
  • Polygon - dApp Launchpad - We used dapp schaffold tool (typescript template) to develop our app. Link - getURL(this) or press crtl+l
  • Push - We used Push chat as the main medium of communication between our clients and artists. Here are the screenshots of the proof. You may not see this feature deployed because there was problem integrating (dependency issue) ChatUI as used 5.x version of ethers and we were using dApp Launchpad which used 6.x. image 9 10 11 12

Lighthouse.storage + Filecoin/IPFS - go to the Assigned Page and click on choose file and then upload. You can check the status 99 in the console. It has been stored and the CID has been generated too.

Here are the photos of storing on Filecoin/IPFS with the Lighthouse store. 1 2 7

Here is adding task flow. 4 5 6

Note

This might not be hosted as we were facing some linting issues which made build fail.