This frontend allows users to interact with an escrow contract on the blockchain. There are three main actions: creating, cancelling, and finalizing an escrow.
First, before interacting with the program, you can get yourself some test UDSC and EURC tokens from here
- Create Escrow
- Click "Create Escrow" to open a modal.
- Select a token and then enter the remaining details
- Submit to create an escrow account
- Cancel Escrow
- Select an escrow transaction and click "Refund."
- Confirm the transaction and amount will be refunded back to your wallet
- Finalize Escrow
- Select an escrow account from the list available
- Once satisfied with a deal, click on "Deal" to finalize and swap tokens
- 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