> For the complete documentation index, see [llms.txt](https://smoke-protocol.gitbook.io/smokeonchain/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://smoke-protocol.gitbook.io/smokeonchain/how-does-it-work/in-a-nutshell.md).

# In A Nutshell

The best way to understand Smoke is to understand how it started.&#x20;

## Realization

What if we could simply lend funds to users on any chain out there and they could pay back later? Especially for users with collateral locked on a different chain.&#x20;

## Iteration

The approach was to find existing cross-chain lending protocols to let users deposit funds on one chain and spend funds on all other chains.&#x20;

But the problem with this is that most of these lending protocols require cross-chain messaging. But we wanted fast lending, without security trade-offs.&#x20;

## Solution

A game theoretical approach is to have a credit card issuer, like a bank, to lend capital on any chain by having a birds eye view of a user's position across all chains. They would not lend more than locked collateral as it is their own capital. This ensures:&#x20;

1. That users can instantly spend using an issuer's approval
2. Users cannot double spend simultaneously on 2 chains as they use a single issuer
3. Users cannot withdraw their collateral without an issuer's approval while having debt on other chains

{% hint style="info" %}
**Force Withdrawal:** Users can force withdraw from the system by proving that they do not have debt across chains using cross-chain messaging.&#x20;
{% endhint %}

## Smoke has Three Main Stakeholders

### **1. Users**

Users create a Smoke account on one of chains and **manage their accounts** by setting spending limits.

### **2. Issuers**

Issuers issue cards to users, **track user deposits and spends from off-chain**, and instantly approve spending on any chain. They also **manage their capital** to always have funds to loan out. And, **approve collateral** **withdrawals** based on a user’s limit.

### **3. Smoke Protocol**

Smart contracts, fee parameters and cross-chain infrastructure maintained by Smoke to protect users and issuers. Smoke also **aides with repayment** from any chain in a cost effective manner.

{% content-ref url="/pages/CyH2xJQs9yWJ1S8BYNav" %}
[Deeper Dive](/smokeonchain/how-does-it-work/quickstart.md)
{% endcontent-ref %}
