TrueFi Docs
  • What is TrueFi?
  • 🔎User Guide
    • Lend
      • How to lend
      • How to withdraw
      • Onboarding / KYC (for permissioned pools)
    • Borrow
      • Receiving a loan
      • Repaying a loan
    • Manage
      • Onboarding for managers
      • Creating a vault
      • Disbursing loans
      • Managing KYC/KYB requirements
  • âš¡TrueFi Protocol
    • Lines of Credit
      • Line of Credit tutorial
      • Lines of Credit technical details
    • Asset Vaults
      • Asset Vault tutorial
      • Asset Vault technical details
    • Credit Vaults
      • Credit Vault tutorial
      • Credit Vault technical details
        • Credit Vault contract overview
        • Waterfall details
    • Index Vaults
      • Index Vault tutorial
      • Index Vault technical details
    • TRU token
      • Staked TRU
      • How to Get TRU
    • Other concepts
      • Controllers
      • Instruments
        • FixedInterestOnlyLoan
        • BulletLoans
      • [Legacy] DAO pools
        • delt.ai loan: Jan 2023 airdrop claiming instructions
        • delt.ai loan: July 2023 airdrop claiming instructions
        • delt.ai loan: October 2023 airdrop claiming instructions
        • delt.ai loan: Jan 2024 airdrop claiming instructions
        • delt.ai loan: Apr 2024 airdrop claiming instructions
        • delt.ai loan: Nov 2024 airdrop claiming instructions
        • Loan approval process
        • Lender FAQs
          • Lending to DAO pools
          • Farming TRU rewards
          • Withdrawing funds
          • How lending pool (LP) tokens work
          • How loan tokens work
          • SAFU (Secure Asset Fund for Users)
          • Risk Mitigation
        • Developer docs
      • Other legacy contracts
        • Managed Portfolio [legacy]
        • Flexible Portfolios [legacy]
          • Flexible Portfolio contracts
    • Audits
Powered by GitBook

General

  • TrueFi app
  • Docs

Governance

  • Tally
  • Snapshot

Community

  • Forum
  • Twitter
On this page

Was this helpful?

Export as PDF
  1. TrueFi Protocol
  2. Lines of Credit

Line of Credit tutorial

How to create a Line of Credit

PreviousLines of CreditNextLines of Credit technical details

Last updated 1 year ago

Was this helpful?

To create a TrueFi Line of Credit, follow the process below:

  1. Go to

  2. Connect your wallet.

    • For demo vaults, make sure you are connected to Optimism Sepolia network.

    • If deploying on mainnet, make sure your connected address has been allowlisted by . Only allowlisted addresses are able to deploy a Line of Credit. Deployment transaction by non-allowlisted addresses will fail.

  3. Configure Line of Credit. See below for descriptions of each parameter:

    • Deployment Network: choose between deployment on Ethereum, Arbitrum, or Optimism

    • Underlying Asset: select ERC-20 borrow/lend asset

    • Deposit Controller:

    • Lender Restrictions: borrower sets KYC/KYB policy to one of following

      • All lenders allowed

      • TrustLabs-managed KYC whitelist: delegate KYC onboarding to /TrustLabs)

      • Custom whitelist: borrower manages own whitelist

    • Withdraw Controller: for Line of Credit, select Default

    • Transfer Restrictions: borrower sets policy for whether lenders can transfer LP token

      • All transfers allowed

      • No transfers allowed

  4. Configure interest rate curve Borrower defines parameters of interest rate curve w/ up to two kinks.

  5. Provide token name, token symbol, and borrower description. The token name and symbol will show onchain and on Etherscan pages, etc. The description will show in the TrueFi app front end only.

  6. Deploy Line of Credit. Review and verify all configuration details. Once confirmed, click "Continue" to create onchain transaction and sign in wallet.

âš¡
https://app.truefi.io/vault/aloc/create
TrueFi governance
Archblock