samthomson / escrow

solidity play - making a simple escrow service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

escrow

Screenshot

A one contract dapp which facilitates the escrow exchange of two currencies on an EVM compatible chain.

An initiator creates an agreement, stating which currency they'll provide and how much - and likewise the currency and quanity they would like in exchange.

They can cancel the agreement at any time until it is filled.

Someone with a different public address to that of the initiator can fill the agreement.

possible escrow next steps

  • better get approval need
  • can I get loading state of tx

bugs

  • is new allowance being calcuated correctly. seems like it's just the current/present allowance and not having the additional prospective ammount being added to it

About

solidity play - making a simple escrow service


Languages

Language:TypeScript 56.6%Language:JavaScript 16.6%Language:Solidity 13.7%Language:SCSS 8.1%Language:HTML 4.2%Language:CSS 0.9%