# トランザクションの署名のしかた

{% hint style="info" %}
このセクションでは、Metamaskを使用してDAOでトランザクションに署名する方法について学びます。
{% endhint %}

## トランザクション署名の流れ

### Metamaskブラウザ拡張機能を起動し、ログインします

Chromeをお使いの方は、アドレスバーの右側にあるキツネのアイコンをクリックするとログインできるはずです。

表示されない場合は、[こちら](https://chrome.google.com/webstore/search/metamask)をクリックしてください。イーサリアムウォレットのインターフェイスが表示されます。[こちら](/japanese-aragon-user-documentation/products/set-up-metamask.md)で説明されているように、ウォレットをセットアップします。

### 使用するネットワークとアカウントを選択します

Metamaskで、DAOにアクセスし、Metamaskを接続し、DAOとやりとりする（例えば、Token Appで新しいメンバーを追加する等）際に使用するネットワークとアカウントを選択します。

### トークンの追加

{% hint style="info" %}
次の例では、新しいトークンを追加し、これを確定するためにトランザクションに署名する方法を紹介します。トークンをDAOに追加する方法についてのヘルプが必要な場合は、[こちら](/japanese-aragon-user-documentation/products/aragon-client/explore-template-dao/what-are-apps/token-app.md)をご覧ください。
{% endhint %}

### トランザクションを承認する

**Add tokens**ページで必要なフィールドをすべて入力し、**Create transaction**ボタンをクリックすると、Metamaskのポップアップが開きます（下の画像参照）。要求されたとおりに、**Confirm**ボタンを使ってトランザクションに署名してください。

## 例

{% hint style="info" %}
次の例では、DAOのToken Appで新しいトークンを追加し、最終的な処理のためにトランザクションに署名する方法を紹介します。
{% endhint %}

* DAOにアクセスする

{% hint style="info" %}
DAOを作成していない方は、[こちら](/japanese-aragon-user-documentation/products/aragon-client/how-to-create-a-dao-using-aragon-client.md)から作成してください。
{% endhint %}

* Metamaskウォレットを接続
* Token Appの**Add a new token**をクリック

{% hint style="info" %}
DAOにトークンを追加する方法についてヘルプが必要な場合は、[こちら](/japanese-aragon-user-documentation/products/aragon-client/explore-template-dao/what-are-apps/token-app.md)をご覧ください。
{% endhint %}

* **Add tokens**ページで必要なフィールドをすべて入力し、**Create transaction**ボタンをクリックします。
* Metamaskのポップアップ（下の画像参照）が表示され、**Confirm**ボタンでトランザクションに署名するよう要求されます。

{% hint style="success" %}
これでトランザクション完了です。
{% endhint %}

![Metamaskでトランザクションに署名する](/files/oTLeWFqPd62KHjtWLluY)


---

# Agent Instructions: 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://legacy-docs.aragon.org/japanese-aragon-user-documentation/products/set-up-metamask/sign-a-transaction-with-metamask.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.
