> For the complete documentation index, see [llms.txt](https://minara.ai/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://minara.ai/docs/minara-handbook/ja/ji-shu/wallet-security.md).

# ウォレットのセキュリティ

Minaraは作成します **非カストディアル** 各ユーザー向けのスマートウォレットです。ユーザーは、ガストークン（$ETHや$SOLなど）を必要とせず、あるいは暗号資産ウォレットを直接管理することなく、対応している任意のブロックチェーンを利用できます。

従来の中央集権型取引所とは異なり、 **この非カストディアルなスマートウォレットは、Minaraの内部データベースには保存されず、オンチェーンのスマートコントラクトウォレットです**。Minaraはこのウォレット内の資金を管理できますが、隠したり、削除したり、ブラックリストに載せたりすることはできません。将来的には、Minaraがユーザーの資金をどのように利用するかを、ユーザーがカスタマイズできるようになります。

Minaraのウォレットシステムには、2種類のウォレットがあります：

* **資金ウォレット**：各ユーザーごとに自動生成されるスマートコントラクトウォレットで、入金した資金を保管します。資金の流れを透明で監査可能、かつ検証可能にし、CEXとは異なります。
* **コントローラーウォレット**：Minaraが管理するウォレットで、資金ウォレットとその資金を管理し、取引、ステーキング、その他のオンチェーン操作を行えます。このウォレットは、キーのシャーディング、マルチシグ、TEEなどの高度な暗号技術を用いて、セキュリティを確保しながら署名効率を最大化します。

## 資金ウォレット

資金ウォレットは〜によって支えられています [Privy](https://www.privy.io/)。これは、〜上に構築された一種のスマートコントラクトウォレットです [ERC-4337](https://www.alchemy.com/overviews/how-do-smart-contract-wallets-work) 標準に基づいており、既存のEOAウォレットと互換性があります。

ユーザーの入金はこのスマートコントラクトウォレットに保管され、すべての取引がオンチェーン上で公開記録され、検証可能です。 **これにより、資金が密かに悪用されることを防ぎ、完全な監査が可能になります。**

## コントローラーウォレット

<figure><img src="/files/5fc8fa9bdc8043f704c9b806c0db67547c6e1ec1" alt="" width="375"><figcaption></figcaption></figure>

Minaraのコントローラーウォレットは、Privy、TEE（Trusted Execution Environment）、およびマルチパーティ承認署名メカニズムを使用しています。主な機能は次のとおりです：

* **シャーディングされた鍵管理とTEEによる保管**：鍵は暗号化され、異なるセキュリティ境界にまたがって断片化して保存されます。鍵はTEE内でカプセル化および取得され、常に信頼された環境に保たれます。
* **M-of-N承認署名**：マルチパーティ承認により、取引のセキュリティが強化されます。業務、リスク管理、戦略サービスなどの独立したサービスが署名検証に参加し、単一障害点を最小化します。
* **サービス署名キー保護**：AWS KMSが鍵署名を独立して保護します。
* **アカウントポリシー制御**：アカウント種別やユーザー属性に基づくカスタマイズ可能な権限ポリシーをサポートし、送金権限、コントラクトの種類、取引限度額などを定義します。

## 技術参考資料

* [PrivyとTEEによるカストディ + シャーディングされた鍵管理](https://docs.privy.io/security/overview)
* [Intel SGX開発者ガイド](https://www.intel.com/content/www/us/en/developer/topic-technology/software-security-guidance/overview.html)
* [AWS KMS（エンベロープ暗号化、IAMポリシー）](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html)


---

# 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, and the optional `goal` query parameter:

```
GET https://minara.ai/docs/minara-handbook/ja/ji-shu/wallet-security.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
