Skip to content

Latest commit

 

History

History
28 lines (25 loc) · 1.3 KB

README.md

File metadata and controls

28 lines (25 loc) · 1.3 KB

Project Deployment

link here

Project Demo

loom video

Overview

This frontend allows users to interact with an escrow contract on the blockchain. There are three main actions: creating, cancelling, and finalizing an escrow.

Get Test Tokens

First, before interacting with the program, you can get yourself some test UDSC and EURC tokens from here

Actions

  1. Create Escrow
    • Click "Create Escrow" to open a modal.
    • Select a token and then enter the remaining details
    • Submit to create an escrow account
  2. Cancel Escrow
    • Select an escrow transaction and click "Refund."
    • Confirm the transaction and amount will be refunded back to your wallet
  3. Finalize Escrow
    • Select an escrow account from the list available
    • Once satisfied with a deal, click on "Deal" to finalize and swap tokens

Run the project locally

  • First clone the repo using: git clone https://github.com/ved08/escrow-frontend.git
  • Go into the project directory and install all dependencies: yarn install
  • Start the project locally: yarn start
  • To build the project: yarn build

Note: This doesnt work for Token2022 tokens