> ## Documentation Index
> Fetch the complete documentation index at: https://www.helius.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 機密フィアット オンランプおよびオフランプ

> 資産や量を明らかにすることなく、プライベートな残高に直接フィアットのオンランプおよびオフランプ。

ユーザーは、機密性のあるソラナのバランスに直接、フィアットバランスのオンランプとオフランプを行うことができます。
どちらのアクションもパブリックバランスには預けられないので、オンランプやオフランプした資産や額が明らかになることはありません。

<Tabs>
  <Tab title="フィアットバランスからのオンランプ">
    | Field                    | Visibility  | Why                                                                   |
    | ------------------------ | ----------- | --------------------------------------------------------------------- |
    | Fiat balance and payment | Not onchain | The fiat payment is not onchain                                       |
    | Asset                    | Private     | The asset is encrypted onchain                                        |
    | Amount                   | Private     | The transferred amount is encrypted onchain                           |
    | Onramp Provider          | Public      | In a confidential Ring the wallet address of the provider is visible. |
    | User wallet address      | Public      | In a confidential Ring the user wallet address is visible onchain.    |
  </Tab>

  <Tab title="フィアットバランスへのオフランプ">
    | Field               | Visibility  | Why                                                                   |
    | ------------------- | ----------- | --------------------------------------------------------------------- |
    | Fiat payout         | Not onchain | The fiat payout is not onchain                                        |
    | Asset               | Private     | The asset is encrypted onchain                                        |
    | Amount              | Private     | The transferred amount is encrypted onchain                           |
    | Offramp Provider    | Public      | In a confidential Ring the wallet address of the provider is visible. |
    | User wallet address | Public      | In a confidential Ring the user wallet address is visible onchain.    |
  </Tab>
</Tabs>

<img src="https://mintcdn.com/helius/q7LsEOD0O5LZhnha/images/privacy/on-off-ramp/on-offramp-overview.svg?fit=max&auto=format&n=q7LsEOD0O5LZhnha&q=85&s=5678250e0ea926b6461a4c09e2fa5886" alt="フィアットのオンランプとオフランプ。フィアット側では、ユーザーフィアットバランスのボックスが、オンランププロバイダーとオフランププロバイダーの円に2方向の矢印で接続されており、その円はフィアットとオンチェーンの間の点線の仕切りにまたがっています。プライベートなオンチェーン側では、プロバイダーはプライベートバランスを保持するユーザーウォレットに2方向の矢印で接続されています。" width="1560" height="500" data-path="images/privacy/on-off-ramp/on-offramp-overview.svg" />

## 前提条件:

* プロバイダー（例: 中央集権型の取引所やフィアットからクリプトへのプロセッサー）は、プライベートオンランプとオフランプのために、資産のプライベートバランスを保持します（SOL または USDC などの任意の SPL / トークン 2022 トークン）。
* プライベートオンランプとオフランプアカウントに十分なバランスがあることを確認して、ユーザーにサービスを提供します。
* ユーザーはプライベートウォレットを持っています。

## 高レベルフロー

フィアットのルートは内部台帳に依存します。
プライベートオンランプとオフランプは、デフォルトリングまたはカスタムリングに統合することができます。カスタムリングは機密性または匿名性を持たせることができます。

### 1. オンランプ

オンランプはプライベートバランスにクレジットされます: ユーザーはオフチェーンでフィアットを支払い、プロバイダーはオンランプアカウントからユーザーのプライベートウォレットにプライベート転送を送ります。

1. ユーザーがフィアットを預けます。
2. プロバイダーが内部台帳内でユーザーのフィアット預け入れをプライベートウォレットに一致させます。
3. プロバイダーがオンランプアカウントのプライベートバランスを同期して最新のバランスを取得し、ユーザーのプライベートウォレットにプライベート転送を送ります。

```mermaid theme={"system"}
%%{init: {
  'theme': 'base',
  'themeVariables': {
    'lineColor':           '#FF6B35',
    'primaryTextColor':    '#737373',
    'primaryBorderColor':  '#9CA3AF',
    'actorBkg':            '#FFFFFF',
    'actorBorder':         '#9CA3AF',
    'actorTextColor':      '#737373',
    'signalColor':         '#FF6B35',
    'signalTextColor':     '#737373',
    'labelBoxBkgColor':    '#FF6B351F',
    'labelBoxBorderColor': '#FF6B35',
    'noteBkgColor':        '#F5F5F5',
    'noteTextColor':       '#737373',
    'noteBorderColor':     '#9CA3AF'
  }
}}%%
sequenceDiagram
    participant User
    participant UW as UserWallet
    participant P as Provider OnOfframp
    participant RPC as RPC
    participant SPP as Solana

    User->>P: onramp request (fiat amount)

    P->>RPC: sync the on-ramp account balance
    RPC-->>P: latest on-ramp account balance
    Note over P: build and sign the private transfer
    P->>RPC: request proof
    RPC-->>P: proof
    P->>SPP: submit private transfer (on-ramp account to user)
    SPP-->>P: confirmed, transaction hash

    UW->>RPC: sync private balance
    RPC-->>UW: confirm private balance
```

### 2. オフランプ

オフランプは、ユーザーのプライベートウォレットからオフランプアカウントへのプライベート転送と、プロバイダーの内部台帳の更新を通じてユーザーにフィアットを支払います。

プライベートオフランプを完了するためのステップは以下の通りです:

1. ユーザーがプライベートバランスを同期し、プロバイダーのオフランプアカウントにプライベート転送を送ります。
2. 機密リングでは、プロバイダーが見えるユーザウォレットアドレスにより転送を一致させることができます。匿名リングでは、公開台帳は送信者や受取人を明らかにせず、内部台帳のオフランプリクエストを通じて一致させます。

```mermaid theme={"system"}
%%{init: {
  'theme': 'base',
  'themeVariables': {
    'lineColor':           '#FF6B35',
    'primaryTextColor':    '#737373',
    'primaryBorderColor':  '#9CA3AF',
    'actorBkg':            '#FFFFFF',
    'actorBorder':         '#9CA3AF',
    'actorTextColor':      '#737373',
    'signalColor':         '#FF6B35',
    'signalTextColor':     '#737373',
    'labelBoxBkgColor':    '#FF6B351F',
    'labelBoxBorderColor': '#FF6B35',
    'noteBkgColor':        '#F5F5F5',
    'noteTextColor':       '#737373',
    'noteBorderColor':     '#9CA3AF'
  }
}}%%
sequenceDiagram
    participant User
    participant UW as UserWallet
    participant P as Provider OnOfframp
    participant RPC as RPC
    participant SPP as Solana

    User->>P: send off-ramp request (amount)

    UW->>RPC: sync private balance
    Note over UW: build and sign the private transfer
    UW->>RPC: request proof
    RPC-->>UW: proof
    UW->>SPP: submit private transfer (user to off-ramp account)
    SPP-->>UW: confirmed, transaction hash

    P->>RPC: sync off-ramp account
    RPC-->>P: off-ramp request confirmed
    Note over P: match sender to a user, credit fiat ledger
    P->>User: pay out fiat
```

### 3. オンランプとオフランプアカウント

オンランプとオフランプアカウントは、ユーザーのオンランプとオフランプを提供するプロバイダーのプライベートバランスです。SOL や USDC などの任意の SPL または Token-2022トークンを保持することができます。

オンランプとオフランプアカウントに十分なバランスがあることを確認して、ユーザーにサービスを提供します。これは、パブリックオンランプとオフランプと同様です。

#### オンランプとオフランプアカウントの資金調達

アカウントのプライベートバランスに資金を供給するために、パブリックソラナバランス（ソースパブリックウォレット）からプライベートバランスに預け入れます。ユーザーはプライベート転送を通じてのみアカウントとやり取りするため、ユーザーに転送された金額や資産は決して公開されません。

| Field                      | Visibility | Why                                                |
| -------------------------- | ---------- | -------------------------------------------------- |
| Source public wallet       | Public     | The source wallet address is visible onchain       |
| Asset                      | Public     | The asset is visible onchain                       |
| Amount                     | Public     | The deposited amount is visible onchain            |
| Destination wallet address | Public     | The destination wallet address is visible onchain  |
| Resulting private balance  | Private    | The resulting private balance is encrypted onchain |

## 統合を開始する

<Card title="ネイティブウォレット統合" icon="wallet" href="/docs/ja/privacy/integration/wallet">
  独自のキー管理でプライバシーサポートを追加します。暗号鍵の管理や状態同期を行いたいプロバイダー向け。
</Card>

<Card title="埋め込み型プライバシーウォレットの統合" icon="key" href="/docs/ja/privacy/integration/embedded-wallet">
  REST APIを通じてアプリにプライバシーサポートを追加します。独自のキー管理や状態同期を行わずに迅速に始めたいプロバイダーやアプリ向け。
</Card>

<Card title="カスタムリングとの統合" icon="building" href="/docs/ja/privacy/integration/enterprise">
  REST APIを通じてプライバシーサポートを追加し、ポリシーとコンプライアンス管理を持つカスタムリングを設定します。
  フィンテック、給与プラットフォーム、送金会社、ネオバンク、および企業向け。
</Card>

## Didn't find what you were looking for?

<Callout type="info">
  Reach out! [Telegram](https://t.me/tilo_light) | [E-Mail](mailto:sales@helius.xyz) | [Contact](https://www.helius.dev/contact)
</Callout>
