Pre Requisites:

Steps:

  1. Market owner needs to go to this link
  2. Go to Contract Tab —> Write as Proxy —> Connect Market owner wallet address
  3. The functions for adding a borrower or lender are the below
    1. attestBorrower
    2. attestLender
  4. Fill the function

Screen Shot 2022-08-24 at 4.03.52 AM.png

Get _marketId from the marketplace url that you have

https://app.teller.org/market/<_marketId>

Get _expirationTime from the below logic

$$ (Date.now() / 1000) + (60 * 60 * 24 * numberOfValidDays) $$

Date.now is seconds based - use this link to get the current value of the date in seconds

numberOfValidDays - number of days the market owner wants the borrower to be in the marketplace