Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

core-lending

Who it's for: Borrowers who need working capital or want to buy now and pay in installments, capital providers looking to earn interest on deployed cGHS, and businesses offering credit to customers. Why it matters: Access to credit on Shika is based on verified identity and on-chain behaviour — not a bank relationship — so more people qualify and terms improve as they build a track record.

core-lending wraps the ShikaLending Diamond at 0x6360CeB8696f46fFef53f5a7B4802EB9Cd022BC4.

It exposes six facets as clean HTTP endpoints:

FacetRoute prefixDescription
LendingPoolFacet/poolDelegate-run lending pools
LendingPoolFacet/loanLoan lifecycle — request, repay, default
BNPLFacet/bnplBuy Now Pay Later installment plans
YieldVaultFacet/yieldYield vault
SavingsGoalFacet/goalLocked savings with penalty
CollateralVaultFacet/collateralRWA-backed collateral positions
CreditScoringFacet/creditFICO-style credit scores (read-only)

SSI Requirement

Lending operations require a verified SSI identity:

  • requestLoanCreditScoring.maxLtvBps(borrower) > 0 (UNRATED blocked)
  • openPosition — same check
  • Credit tier drives max LTV:
TierScoreMax LTV
UNRATED0% (blocked)
BRONZE350–49920%
SILVER500–64940%
GOLD650–74960%
PLATINUM750–85075%

Protocol Fees

FeeValue
Protocol fee on interest5% (PROTOCOL_FEE_BPS = 500)
BNPL late fee2% per overdue installment
SavingsGoal max penalty20% (penaltyBps ≤ 2000)
YieldVault max deploy80% of deposits

cGHS uses 6 decimals1000000 = 1 cGHS.