Rise In Logo



Build on MultiversX

Project Title: Token Escrow Full Stack Dapp

Project Description: This project involves building a decentralized token escrow contract on the MultiversX blockchain. The contract enables secure and trustless token exchanges between users. It ensures that funds or assets are only released when predefined conditions are met. Participants can create, accept, or cancel trade offers, making it a robust solution for P2P transactions without relying on intermediaries.

Project Objectives:

  • Develop a smart contract to manage token escrow transactions.
  • Provide a secure and decentralized mechanism for exchanging tokens between users.
  • Enable users to create trade offers, accept them, or cancel them when necessary.
  • Deploy and test the application on the MultiversX Testnet.
  • Build a user-friendly interface for interacting with the token escrow system.

Project Features:

Token Escrow Smart Contract:

  • Create Offer: Users deposit tokens and define conditions for release, specifying the recipient and required exchange terms.
  • Cancel Offer: Users can cancel an offer and recover their deposited tokens if the offer is not yet accepted.
  • Accept Offer: The recipient of the offer can meet the terms, complete the transaction, and claim the tokens.
  • View Offers: Retrieve a list of pending trade offers created by or targeted at a specific user.

Smart Contract Functions:

  • createOffer: Stores the offer on the blockchain and locks the deposited tokens in escrow.
  • cancelOffer: Cancels the specified offer, returning the locked tokens to the creator.
  • acceptOffer: Completes the trade and transfers assets to both parties.
  • getOffers: Retrieves all open offers for a given user (either created by or targeted at them)

Basic User Interface (UI):

  • Connect a MultiversX-compatible wallet.
  • View their current staking position, including staked amount and accumulated rewards.
  • Stake EGLD tokens by specifying the amount to deposit.
  • Unstake EGLD tokens and specify the amount to withdraw.
  • Claim their rewards.

UI Features:

  • Wallet Integration: Support for MultiversX-compatible wallets to enable seamless interaction with the blockchain.
  • Offer Management: Interface for creating, viewing, and canceling offers.
  • Trade Dashboard: Display open offers and transaction history for transparency.
  • Notifications: Notify users of trade updates (e.g., offer acceptance or cancellation)
  • Security Checks: Ensure users understand and confirm each action (e.g., creating or accepting an offer)

MultiversX Testnet Deployment:

  • The application must be deployed on the MultiversX Testnet for testing purposes. Students will verify that the DApp works properly on the testnet before finalizing their projects.
  • Confirm all escrow functionalities, including fund locking, offer cancellation, and trade completion.

GitHub Repository and Documentation:

  • Create a GitHub repository to host their project code and provide clear documentation.
  • The README file should include:
  • A brief overview of the project.
  • Instructions for how to compile and deploy the smart contract.
  • The contract address on the MultiverseX testnet.
  • A description of the functions and features of the smart contract.
  • Screenshots or images of the user interface.

Additional Features (Optional Advanced Features):

  • Time Bound Offers: Automatically cancel offers after a specified expiration time.
  • Multi-Asset Escrow: Enable users to escrow and trade multiple types of tokens simultaneously.
  • Conditional Escrow: Add support for complex conditions, such as off-chain oracles for real-world events.

GitHub Repository and Documentation:

Host the project code on GitHub with detailed documentation for developers and users.

Include in the README:

  • An overview of the project.
  • Instructions for deploying and testing the smart contract.
  • The deployed contract address on the MultiversX Testnet.
  • Explanations of smart contract functions.
  • Screenshots of the user interface.

Comments

You need to enroll in the course to be able to comment!

Stay in the know

Never miss updates on new programs and opportunities.

Rise In Logo

Rise together in web3!

Disclaimer: The information /programs / events provided on https://patika.dev and https://risein.com are strictly for upskilling and networking purposes related to the technical infrastructure of blockchain platforms. We do not provide financial or investment advice and do not make any representations regarding the value, profitability, or future price of any blockchain or cryptocurrency. Users are encouraged to conduct their own research and consult with licensed financial professionals before engaging in any investment activities. https://patika.dev and https://risein.com disclaim any responsibility for financial decisions made by users based on information provided here.