Workflows
Chainlink Runtime Environment workflows powering LienFi. Paste a request hash to watch live output.
Credit Assessment
Evaluates borrower creditworthiness inside a CRE enclave. Fetches Plaid financial data, scores via LLM, and writes approval on-chain.
Steps
Request Hash
CLI Command
./run-cre.sh credit-assessment-workflow <request-hash>Live Output
Run the CLI command above, then click Watch to see live output here.
Create Auction
Cron-triggered workflow that scans for defaulted loans (3+ missed payments) and creates sealed-bid auctions on-chain.
Steps
CLI Command
./run-cre-cron.sh create-auction-workflow create-auctionLive Output
Run the CLI command above, then click Watch to see live output here.
Sealed Bid Collection
HTTP-triggered CRE workflow that forwards signed bids to the API, validates eligibility, and registers the opaque bid hash on-chain via DON-signed report.
Steps
CLI Command
./run-cre-bid.sh /path/to/bid-payload.json bidLive Output
Run the CLI command above, then click Watch to see live output here.
Auction Settlement
After deadline, the CRE workflow reveals all bids, determines the Vickrey winner (highest bidder pays second-highest price), and settles on-chain.
Steps
CLI Command
./run-cre-cron.sh settlement-workflow settlementLive Output
Run the CLI command above, then click Watch to see live output here.
