Loanyee / app

Interface for Loanyee
https://app.loanyee.xyz
0 stars 0 forks source link

Copy Contract Link for Employer Approval #3

Closed ericy-eth closed 1 year ago

ericy-eth commented 1 year ago

[Overview] When borrowers create a loan, they should be able to copy the contract link and send it to the employer easily.

[Another implementation idea] Or, we can generate another page for employer to approve the transaction and we change the destination on our end. https://www.figma.com/file/wNqDjrKak29VQV2UZHIMQo/ETHOnline-UI?node-id=1744%3A1462

ericy-eth commented 1 year ago

[Resolved]

  1. Issue: Cannot get contract address from running transaction
  2. Solve: Fetch loan id from subgraph
  3. Using loan id, read form loanFactory contract, which returns contract address