> For the complete documentation index, see [llms.txt](https://tilepmoney.gitbook.io/tilepmoney-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tilepmoney.gitbook.io/tilepmoney-docs/guides/use-cases.md).

# Use Cases

TilepMoney enables a wide variety of B2B stablecoin payment workflows. This section provides real-world examples and use cases.

### 1. Cross-Border Treasury Transfer

**Scenario**: You have a subsidiary in Indonesia earning IDR, but your Singapore HQ needs USD for operations.

* **Workflow**: `Deposit (IDR) -> Mint (IDRX) -> Swap (USDT) -> Bridge (Base) -> Transfer`
* **Solution**: Automatically converts incoming local currency to stablecoins, swaps to the target currency (USD), and bridges it to your HQ's operating chain.

### 2. Treasury FX Hedging

**Scenario**: Your treasury holds 100% USD, exposing you to currency risk if the dollar weakens.

* **Workflow**: `Deposit (USD) -> Partition (60/40) -> [Swap (EUR), Keep (USD)]`
* **Solution**: Automatically splits incoming treasury funds into a diversified basket (e.g., 60% USD, 40% Euro) using stablecoins to preserve purchasing power.

### 3. Supply Chain Escrow

**Scenario**: Buying goods where shipping takes 30 days. You don't want to pay upfront, and the vendor won't ship without proof of funds.

* **Workflow**: `Deposit -> Yield Deposit -> Wait (30d) -> Yield Withdraw -> Transfer`
* **Solution**: Locks funds in a yield-generating protocol. Upon delivery (after 30 days), the principal plus interest is released to the vendor.

### 4. Revenue Split & Tax Provisioning

**Scenario**: Revenue hits your account and gets mixed with operational funds, leading to tax season shortfalls.

* **Workflow**: `Deposit -> Partition (70/20/10) -> [Ops Wallet, Growth Wallet, Tax Yield Vault]`
* **Solution**: Routes 70% to Operations, 20% to Growth, and automatically parks 10% into a **Yield Deposit** to build a tax reserve that earns interest until due.

### 5. Multi-Chain Gas Refill

**Scenario**: Trading bots or operational wallets on L2 chains (Base, Optimism) run out of gas, stopping business logic.

* **Workflow**: `Treasury -> Bridge (to L2) -> Swap (to Native Gas) -> Transfer targets`
* **Solution**: A maintenance workflow that sends funds from the Treasury, bridges them to the target L2s, swaps to native ETH, and refills bot wallets.

### 6. Automated On-Ramp Investment

**Scenario**: Idle cash in a corporate checking account loses value to inflation every day it sits unused.

* **Workflow**: `Deposit (Fiat) -> Mint (Stablecoin) -> Yield Deposit`
* **Solution**: Automatically converts incoming fiat transfers immediately into stablecoins and deposits them into a secure yield protocol (e.g., Aave/Compound) to start earning APY instantly.

### 7. Scheduled Salary Distribution

**Scenario**: Paying a remote team manually on the 25th of every month is tedious and prone to error.

* **Workflow**: `Treasury -> Partition (Employees) -> Transfer (Individual Wallets)`
* **Solution**: A workflow that accepts a lump sum and executes simultaneous stablecoin transfers to a pre-defined list of employee wallets in one atomic transaction.

### 8. Corporate Invoice Settlement

**Scenario**: You have an invoice due in 15 days. Paying early hurts cash flow; paying late incurs fees.

* **Workflow**: `Deposit -> Yield Deposit -> Wait (14d) -> Yield Withdraw -> Transfer`
* **Solution**: Parks the invoice value in a yield protocol for the duration of the payment term (e.g., 14 days), then automatically withdraws and pays the invoice exactly on the due date, capturing the yield as profit.

***

### Custom Workflows

Beyond these templates, you can build any flow using the **Visual Builder**.

* **Sequential flows:** A -> B -> C
* **Parallel execution:** Split funds into 5 branches executing simultaneously.
* **Conditional logic:** Use Partition nodes to manage ratios.
* **Time-based:** Insert Wait nodes to align with real-world schedules.

### Best Practices

1. **Test First:** Always use **Simulation Mode** before executing on Mainnet.
2. **Monitor Gas:** Complex workflows on L1 can be expensive; consider using L2s (Mantle, Base) for high-frequency low-value flows.
3. **Approve Tokens:** Ensure your MainController has allowance for the assets you are moving.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tilepmoney.gitbook.io/tilepmoney-docs/guides/use-cases.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
