# Splice WalletとCNS

> validatorに組み込まれたSplice Walletと、Canton Name Serviceを、章の中の図解で追います。

- URL: https://cardene.dev/diagrams/canton-splice-wallet
- 公開日: 2026-11-22
- 更新日: 2026-11-22
- トピック: Blockchain
- タグ: Canton
- 親の図解: [Canton Networkの全体像](https://cardene.dev/diagrams/canton-network.md): トランザクションの中身を関わるpartyにだけ見せるCanton Networkについて、部品ごとの役割と、1つのトランザクションが部品の間をどう流れるかを段ごとに追います。
- 子の図解: [組み込みのwalletで送金する](https://cardene.dev/diagrams/canton-wallet.md): validatorに組み込まれたSplice Walletが、Canton Coinをどう送り、何を自動で行い、どのAPIを出すかを、表と3つの図で追います。
- 子の図解: [validatorにwalletを任せる](https://cardene.dev/diagrams/canton-wallet-automation.md): WalletAppInstallのsignatoryとchoiceのcontrollerと、複数の操作を1回のバッチで実行するExecuteBatchを、表と2つの図で追います。
- 子の図解: [walletが利用者に代わって動く](https://cardene.dev/diagrams/canton-wallet-delegation.md): walletの運用者と背後の自動化が、利用者に代わって保有をまとめ、追加の送金を送り、trafficを買うために使うコントラクトを、表と2つの図で追います。
- 子の図解: [名前を登録してpartyを探す](https://cardene.dev/diagrams/canton-name-service.md): Canton Name Serviceの名前を、申し込んで払い、更新し、期限切れにし、partyへ解くまでを、表と2つの図で追います。

前の章「Amuletの送金」では、Canton Coinを表す`Amulet`の送金を、`AmuletRules`の一括の送金と、受け手の事前承認と、external partyの事前承認と24時間の遅れを許す設定まで追いました。
この章では、validatorのノードに組み込まれたSplice Walletと、Canton Name Serviceを追います。
Splice Walletは、Canton Coinの管理を、画面と自動化とAPIで提供します。

まず、組み込みのwalletが、Canton Coinをどう送り、何を自動で行い、どのAPIを出すかを見ます。
手動の送金の形と、walletのAPIの一覧と、保有の管理と、external partyの扱いを追います。

https://cardene.dev/diagrams/canton-wallet

次に、`WalletAppInstall`を見ます。
signatoryとchoiceのcontrollerと、複数の操作を1回のバッチで実行する`WalletAppInstall_ExecuteBatch`を追います。

https://cardene.dev/diagrams/canton-wallet-automation

そして、walletの運用者と背後の自動化が、利用者に代わって保有をまとめ、追加の送金を送り、trafficを買うためのコントラクトを見ます。
マージ委任の提案から実行までと、バッチでまとめる呼び出しと、trafficの購入の要求のcontrollerを追います。

https://cardene.dev/diagrams/canton-wallet-delegation

最後に、Canton Name Serviceを見ます。
名前の形と、名前の登録と、更新と期限切れと、名前からpartyを探す手順と、使えるAPIと、3つのコントラクトのchoiceと、設定の型と検証の関数と、CNSの5つの要件と、換算の率を伝えるフィードを追います。

https://cardene.dev/diagrams/canton-name-service

図の語は、それぞれの頁が説明します。

下の図は、この章の4つの頁が扱う物を、Splice WalletとCanton Name Serviceの順に置きます。
虫眼鏡の印が付いた部品を押すと、その部品の中へ入ります。
外側へ戻る時は、右上の「戻る」か、上に並んだ名前を押します。
中を持たない部品には、その部品を説明する頁の題が出て、押すとその頁を開きます。

```dragon
architecture Splice WalletとCanton Name Service
group Top as Splice WalletとCNS [icon: net]
  box Wallet as Splice Wallet [note: Canton Coinの管理を提供する, color: blue, icon: card]
  box Cns as 名前を登録してpartyを探す [note: Canton Name Service(CNS)。人が読める名前をpartyの識別子に対応付ける, color: rose, icon: user, link: /diagrams/canton-name-service]
end
group WalletIn as Splice Walletの中 [color: blue, icon: card]
  box Use as 組み込みのwalletで送金する [note: 画面と背後の自動化とAPIで提供する, color: slate, icon: app, link: /diagrams/canton-wallet]
  box Kit as walletを任せる [note: 利用者のpartyとvalidatorのpartyが署名して動く, color: coin, icon: db]
end
group KitIn as walletを任せるの中 [color: coin, icon: db]
  box Install as validatorにwalletを任せる [note: signatoryとchoiceのcontrollerとバッチ, icon: card, link: /diagrams/canton-wallet-automation]
  box Act as walletが利用者に代わって動く [note: 保有のマージとtrafficの購入の要求, color: blue, icon: user, link: /diagrams/canton-wallet-delegation]
end

step Splice WalletとCNS
  say Splice Walletは、Canton Coinの管理を提供する、validatorのノードに組み込まれたwalletの部品です。名前の登録の支払いと、更新の支払いは、walletで行います。
  Wallet -> Cns: 名前の支払い
  source CantonのSplice Wallet Reference [url: https://docs.canton.network/overview/reference/splice-wallet-reference]
  source CantonのWallet SDK [url: https://docs.canton.network/sdks-tools/sdks/wallet-sdk/quickstart]
  source CantonのSplice.Wallet.Install [url: https://docs.canton.network/sdks-tools/api-reference/splice-daml/splice-wallet/splice-wallet-install]
  source Cantonのsplice-util-token-standard-wallet [url: https://docs.canton.network/sdks-tools/api-reference/splice-daml/splice-util-token-standard-wallet]
  source CantonのSplice.Util.Token.Wallet.MergeDelegation [url: https://docs.canton.network/sdks-tools/api-reference/splice-daml/splice-util-token-standard-wallet/splice-util-token-wallet-mergedelegation]
  source Cantonのsplice-wallet [url: https://docs.canton.network/sdks-tools/api-reference/splice-daml/splice-wallet]
  source CantonのSplice.Wallet.BuyTrafficRequest [url: https://docs.canton.network/sdks-tools/api-reference/splice-daml/splice-wallet/splice-wallet-buytrafficrequest]
  source CantonのCanton Name Service [url: https://docs.canton.network/overview/reference/canton-name-service]
  source CantonのSplice Architecture [url: https://docs.canton.network/sdks-tools/api-reference/splice-architecture]
  source Cantonのsplice-amulet-name-service [url: https://docs.canton.network/sdks-tools/api-reference/splice-daml/splice-amulet-name-service]
  source CantonのSplice.Ans [url: https://docs.canton.network/sdks-tools/api-reference/splice-daml/splice-amulet-name-service/splice-ans]
  source CantonのSplice.Ans.AmuletConversionRateFeed [url: https://docs.canton.network/sdks-tools/api-reference/splice-daml/splice-amulet-name-service/splice-ans-amuletconversionratefeed]

step Splice Walletの中
  say 組み込みのwalletは、画面と背後の自動化とAPIで、Canton Coinの管理を提供します。walletを任せる所は、WalletAppInstallと、利用者に代わる働きを持ちます。
  source CantonのSplice Wallet Reference [url: https://docs.canton.network/overview/reference/splice-wallet-reference]
  source CantonのWallet SDK [url: https://docs.canton.network/sdks-tools/sdks/wallet-sdk/quickstart]
  source CantonのSplice.Wallet.Install [url: https://docs.canton.network/sdks-tools/api-reference/splice-daml/splice-wallet/splice-wallet-install]
  source Cantonのsplice-util-token-standard-wallet [url: https://docs.canton.network/sdks-tools/api-reference/splice-daml/splice-util-token-standard-wallet]
  source CantonのSplice.Util.Token.Wallet.MergeDelegation [url: https://docs.canton.network/sdks-tools/api-reference/splice-daml/splice-util-token-standard-wallet/splice-util-token-wallet-mergedelegation]
  source Cantonのsplice-wallet [url: https://docs.canton.network/sdks-tools/api-reference/splice-daml/splice-wallet]
  source CantonのSplice.Wallet.BuyTrafficRequest [url: https://docs.canton.network/sdks-tools/api-reference/splice-daml/splice-wallet/splice-wallet-buytrafficrequest]

step walletを任せるの中
  say WalletAppInstallは、利用者のpartyとvalidatorのpartyがsignatoryです。保有をまとめる事とtrafficを買う事は、walletの運用者と背後の自動化が行います。
  source CantonのSplice.Wallet.Install [url: https://docs.canton.network/sdks-tools/api-reference/splice-daml/splice-wallet/splice-wallet-install]
  source Cantonのsplice-util-token-standard-wallet [url: https://docs.canton.network/sdks-tools/api-reference/splice-daml/splice-util-token-standard-wallet]
  source CantonのSplice.Util.Token.Wallet.MergeDelegation [url: https://docs.canton.network/sdks-tools/api-reference/splice-daml/splice-util-token-standard-wallet/splice-util-token-wallet-mergedelegation]
  source Cantonのsplice-wallet [url: https://docs.canton.network/sdks-tools/api-reference/splice-daml/splice-wallet]
  source CantonのSplice.Wallet.BuyTrafficRequest [url: https://docs.canton.network/sdks-tools/api-reference/splice-daml/splice-wallet/splice-wallet-buytrafficrequest]
```

一番外の階では、Splice Walletと、名前を登録してpartyを探すを置き、Splice WalletからCanton Name Serviceへ、名前の支払いの線を引きます。

Splice Walletの中では、組み込みのwalletで送金すると、walletを任せるを置きます。
walletを任せるの中には、validatorにwalletを任せると、walletが利用者に代わって動くを置きます。

この図では、Splice WalletからCanton Name Serviceへの線を、名前の登録の支払いと更新の支払いを、walletで行う関係として引きます。

## 出典

https://docs.canton.network/overview/reference/splice-wallet-reference

https://docs.canton.network/sdks-tools/sdks/wallet-sdk/quickstart

https://docs.canton.network/sdks-tools/api-reference/splice-daml/splice-wallet/splice-wallet-install

https://docs.canton.network/sdks-tools/api-reference/splice-daml/splice-util-token-standard-wallet

https://docs.canton.network/sdks-tools/api-reference/splice-daml/splice-util-token-standard-wallet/splice-util-token-wallet-mergedelegation

https://docs.canton.network/sdks-tools/api-reference/splice-daml/splice-wallet

https://docs.canton.network/sdks-tools/api-reference/splice-daml/splice-wallet/splice-wallet-buytrafficrequest

https://docs.canton.network/overview/reference/canton-name-service

https://docs.canton.network/sdks-tools/api-reference/splice-architecture

https://docs.canton.network/sdks-tools/api-reference/splice-daml/splice-amulet-name-service

https://docs.canton.network/sdks-tools/api-reference/splice-daml/splice-amulet-name-service/splice-ans

https://docs.canton.network/sdks-tools/api-reference/splice-daml/splice-amulet-name-service/splice-ans-amuletconversionratefeed
