# Developer Referral Fee

On Solend, 80% of fees are collected as a protocol fee with 20% earmarked as a host fee.&#x20;

The host fee goes to: (in order of priority)

* Users with 1,000 SLND self-referring
* Referrals from another address
* Permissionless pool creators
* Alternative UIs built on Solend smart contracts
* Solend&#x20;

When calling the borrow function on the Solend smart contracts, a client may pass in an address to receive the 20% host fee. This is applicable to DeFi strategies integrating Solend (discount off fee), or alternative UIs to Solend's (pass in an address to receive some fees).&#x20;

This is an incentive to encourage developers to build on top of Solend.

{% embed url="<https://github.com/solendprotocol/solana-program-library/blob/mainnet/token-lending/program/src/processor.rs#L1387>" %}
