# L1間でERC20トークンの送付

> 2つのL1 Blockchain間でERC20トークンを送付していきます。

- URL: https://cardene.dev/books/avalanche-cli/e0e137
- 本: Avalanche CLI (https://cardene.dev/books/avalanche-cli.md)
- 章: 14 / 20
- 前の章: https://cardene.dev/books/avalanche-cli/2cb87e.md
- 次の章: https://cardene.dev/books/avalanche-cli/8b5034.md
- 公開日: 2025-09-08
- 更新日: 2025-09-08
- トピック: Blockchain
- タグ: ブロックチェーン, solidity, ethereum, zennfes2025free

## ERC20の送付

2つのL1 Blockchain間でERC20トークンを送付していきます。

### コントラクトの確認

まずはコントラクトを確認していきます。

#### Teleporterコントラクト

以下がTeleporterコントラクトです。

https://github.com/cardene777/avalanche-sample/blob/main/icm-erc20/src/TeleporterERC20.sol

このコントラクトは他のL1 Blockchainにメッセージを送付する処理を行います。
具体的には、Relayerが収集しているイベントの発行を行います。
送付元L1 Blockchainと送付先L1 Blockchainでは、このTeleporterコントラクトがRelayerとやりとりします。

#### SimpleSenderコントラクト

https://github.com/cardene777/avalanche-sample/blob/main/icm-erc20/src/SimpleSender.sol

**ERC20**トークンを他のL1 Blockchainに送付する処理を実行するコントラクトです。
`sendMessage` という関数を実行して処理を実行します。

#### SimpleReceiverコントラクト

https://github.com/cardene777/avalanche-sample/blob/main/icm-erc20/src/SimpleReceiver.sol

他のL1 Blockchainから送付された**ERC20**トークンを受け取るコントラクトです。
`receiveTeleporterMessage` という関数が呼び出されたメッセージが渡されます。

### セットアップ

では次にセットアップをしていきます。
まずは、以下のリポジトリの `icm-erc20` をダウンロードしてください。

https://github.com/cardene777/avalanche-sample/tree/main/icm-erc20

#### 1.依存関係のインストール

まずは、`forge install` を実行してライブラリをインストールします。

#### 2.`.env`の作成

次に環境変数を定義していきます。
以下のコマンドを実行してください。
```bash
cp .env.example .env
```
実行したら以下の項目を `.env` ファイルに設定してください。

```bash
# Local L1 RPC endpoints (update with actual URLs from avalanche blockchain describe)
LOCAL_L1_RPC_URL=
LOCAL_L2_RPC_URL=
# Local blockchain IDs (update with actual IDs from avalanche blockchain describe)
LOCAL_L1_BLOCKCHAIN_ID_HEX=
LOCAL_L2_BLOCKCHAIN_ID_HEX=

# ICM Registry addresses for local L1s (usually the same for both chains)
TELEPORTER_REGISTRY_LOCAL_L1=
TELEPORTER_REGISTRY_LOCAL_L2=
```

- 例

```bash
# Local L1 RPC endpoints (update with actual URLs from avalanche blockchain describe)
LOCAL_L1_RPC_URL=http://127.0.0.1:58685/ext/bc/w7ThnGXmC4ZtUDZE7Wv5bDFzsgnZa4c48Y2EBGJNdUs88Bheo/rpc
LOCAL_L2_RPC_URL=http://127.0.0.1:58782/ext/bc/SMXGPr8rzQJiFDbiuKbARMNmYBpw6bLDwYPk55s4Z9PpqXWQG/rpc

# Local blockchain IDs (update with actual IDs from avalanche blockchain describe)
LOCAL_L1_BLOCKCHAIN_ID_HEX=0x7addd461a59c348d1ee7096f51ff448be96bb81b2363ea2e5fb2b01f307b16f1
LOCAL_L2_BLOCKCHAIN_ID_HEX=0x3991a75ccbcd2bbf4be87b0699f9e2eade79f3e093ef3930292923d0ae62ec4c

# ICM Registry addresses for local L1s (usually the same for both chains)
TELEPORTER_REGISTRY_LOCAL_L1=0xed05465DF81D2dB756C414B3730adFB8b04a4C98
TELEPORTER_REGISTRY_LOCAL_L2=0xed05465DF81D2dB756C414B3730adFB8b04a4C98
```

各項目については、`avalanche blockchain describe <chain name>` コマンドで確認することができます。
`LOCAL_L1_RPC_URL` と `LOCAL_L2_RPC_URL`、`LOCAL_L1_BLOCKCHAIN_ID_HEX` と `LOCAL_L2_BLOCKCHAIN_ID_HEX` については以下の `RPC Endpoint` と `BlockchainID (HEX)` の値を入力してください。

```bash
+--------------------------------------------------------------------------------------------------------------------------------+
|                                                             CHAIN2                                                             |
+---------------+----------------------------------------------------------------------------------------------------------------+
| Name          | chain2                                                                                                         |
+---------------+----------------------------------------------------------------------------------------------------------------+
| VM ID         | knEkxsizTwASkrZNZwdmZ7QANjA1Nvt8EVL3MkiHR3bMUnJe2                                                              |
+---------------+----------------------------------------------------------------------------------------------------------------+
| VM Version    | v0.7.8                                                                                                         |
+---------------+----------------------------------------------------------------------------------------------------------------+
| Validation    | Proof Of Authority                                                                                             |
+---------------+--------------------------+-------------------------------------------------------------------------------------+
| Local Network | ChainID                  | 22                                                                                  |
|               +--------------------------+-------------------------------------------------------------------------------------+
|               | SubnetID                 | 2LG6ifevesrpBqndpbRQmQ8kQYKVeZHUaBJVtTpDNzAy4uprqo                                  |
|               +--------------------------+-------------------------------------------------------------------------------------+
|               | Owners (Threhold=1)      | P-custom18jma8ppw3nhx5r4ap8clazz0dps7rv5u9xde7p                                     |
|               +--------------------------+-------------------------------------------------------------------------------------+
|               | BlockchainID (CB58)      | SMXGPr8rzQJiFDbiuKbARMNmYBpw6bLDwYPk55s4Z9PpqXWQG                                   |
|               +--------------------------+-------------------------------------------------------------------------------------+
|               | BlockchainID (HEX)       | 0x3991a75ccbcd2bbf4be87b0699f9e2eade79f3e093ef3930292923d0ae62ec4c                  |
|               +--------------------------+-------------------------------------------------------------------------------------+
|               | RPC Endpoint             | http://127.0.0.1:58782/ext/bc/SMXGPr8rzQJiFDbiuKbARMNmYBpw6bLDwYPk55s4Z9PpqXWQG/rpc |
|               +--------------------------+-------------------------------------------------------------------------------------+
|               | Manager Blockchain ID    | SMXGPr8rzQJiFDbiuKbARMNmYBpw6bLDwYPk55s4Z9PpqXWQG                                   |
|               +--------------------------+-------------------------------------------------------------------------------------+
|               | Manager RPC              | http://127.0.0.1:58782/ext/bc/SMXGPr8rzQJiFDbiuKbARMNmYBpw6bLDwYPk55s4Z9PpqXWQG/rpc |
|               +--------------------------+-------------------------------------------------------------------------------------+
|               | Manager Address          | 0x0Feedc0de0000000000000000000000000000000                                          |
+---------------+--------------------------+-------------------------------------------------------------------------------------+
```

`TELEPORTER_REGISTRY_LOCAL_L1` と `TELEPORTER_REGISTRY_LOCAL_L2` については以下のICMの 「**ICM Registry Address**」の値を入力してください。

```bash
+------------------------------------------------------------------------------------+
|                                         ICM                                        |
+---------------+-----------------------+--------------------------------------------+
| Local Network | ICM Messenger Address | 0x253b2784c75e510dD0fF1da844684a1aC0aa5fcf |
|               +-----------------------+--------------------------------------------+
|               | ICM Registry Address  | 0xed05465DF81D2dB756C414B3730adFB8b04a4C98 |
+---------------+-----------------------+--------------------------------------------+
```

これでセットアップは完了です。

### コントラクトのデプロイ

では、コントラクトを一式デプロイしていきます。
以下のコマンドを実行してください。

```bash
make deploy-all local
```

これで両方のL1 Blockchainに `TeleporterERC20` コントラクトをデプロイします。
送信元L1 Blockchainに `SimpleSender` コントラクトをデプロイし、送信先L1 Blockchainに`SimpleReceiver` コントラクトをデプロイします。
少し長いですが、以下のようデプロイされていれば実行が成功しています。

:::message
ローカルのL1 Blockchainを指定するときは、ローカルネットワークでL1 Blockchainを指作成した時に生成されるアドレスである `ewoq` が使用されます。
:::

:::details デプロイログ

```bash
Setting up environment...
Deploying TeleporterERC20 to L1-1...
No files changed, compilation skipped
Script ran successfully.

== Logs ==
  TeleporterERC20 deployed to: 0x5F909f607A29156Dd9Fc43382d09420bba7799A6

## Setting up 1 EVM.

==========================

Chain 11

Estimated gas price: 50.000000001 gwei

Estimated total gas used for script: 1208703

Estimated amount required: 0.060435150001208703 ETH

==========================

##### 11
✅  [Success] Hash: 0xfe68903008c083f790fa17886fbebae84c552e84164deade61c0a2f3e0dfae39
Contract Address: 0x5F909f607A29156Dd9Fc43382d09420bba7799A6
Block: 52
Paid: 0.023244300000929772 ETH (929772 gas * 25.000000001 gwei)

✅ Sequence #1 on 11 | Total Paid: 0.023244300000929772 ETH (929772 gas * avg 25.000000001 gwei)
                                                                                                                                                                                              

==========================

ONCHAIN EXECUTION COMPLETE & SUCCESSFUL.

Transactions saved to: /Users/cardene/Desktop/work/ava/avalanche-sample/icm-erc20/broadcast/DeployTeleporterERC20.s.sol/11/run-latest.json

Sensitive values saved to: /Users/cardene/Desktop/work/ava/avalanche-sample/icm-erc20/cache/DeployTeleporterERC20.s.sol/11/run-latest.json

Deployment complete. LOCAL_L1_1_TOKEN_ADDRESS updated to 0x5F909f607A29156Dd9Fc43382d09420bba7799A6
Setting up environment...
Deploying TeleporterERC20 to L1-2...
No files changed, compilation skipped
Script ran successfully.

== Logs ==
  TeleporterERC20 deployed to: 0x686d75D2Cc80890286fCe3F738AA111568D63529

## Setting up 1 EVM.

==========================

Chain 22

Estimated gas price: 50.000000001 gwei

Estimated total gas used for script: 1208703

Estimated amount required: 0.060435150001208703 ETH

==========================

##### 22
✅  [Success] Hash: 0x9ad8931204bcd030349be661dbd097c8f0d8e1520cccd992a5e315a0ec187358
Contract Address: 0x686d75D2Cc80890286fCe3F738AA111568D63529
Block: 43
Paid: 0.023244300000929772 ETH (929772 gas * 25.000000001 gwei)

✅ Sequence #1 on 22 | Total Paid: 0.023244300000929772 ETH (929772 gas * avg 25.000000001 gwei)
                                                                                                                                                                                              

==========================

ONCHAIN EXECUTION COMPLETE & SUCCESSFUL.

Transactions saved to: /Users/cardene/Desktop/work/ava/avalanche-sample/icm-erc20/broadcast/DeployTeleporterERC20.s.sol/22/run-latest.json

Sensitive values saved to: /Users/cardene/Desktop/work/ava/avalanche-sample/icm-erc20/cache/DeployTeleporterERC20.s.sol/22/run-latest.json

Deployment complete. LOCAL_L1_2_TOKEN_ADDRESS updated to 0x686d75D2Cc80890286fCe3F738AA111568D63529
Setting up environment...
Deploying SimpleSender to L1-1...
No files changed, compilation skipped
Script ran successfully.

== Logs ==
  SimpleSender deployed to: 0xb99441DA4A918604d4ee7D1CB20B362Bd3c12705

## Setting up 1 EVM.

==========================

Chain 11

Estimated gas price: 50.000000001 gwei

Estimated total gas used for script: 380974

Estimated amount required: 0.019048700000380974 ETH

==========================

##### 11
✅  [Success] Hash: 0xfb5c80516a02eeb50b3c6d5ec11fb6bef164038c1f983930cf95524f607f1371
Contract Address: 0xb99441DA4A918604d4ee7D1CB20B362Bd3c12705
Block: 53
Paid: 0.007326425000293057 ETH (293057 gas * 25.000000001 gwei)

✅ Sequence #1 on 11 | Total Paid: 0.007326425000293057 ETH (293057 gas * avg 25.000000001 gwei)
                                                                                                                                                                                              

==========================

ONCHAIN EXECUTION COMPLETE & SUCCESSFUL.

Transactions saved to: /Users/cardene/Desktop/work/ava/avalanche-sample/icm-erc20/broadcast/DeploySimpleContracts.s.sol/11/run-latest.json

Sensitive values saved to: /Users/cardene/Desktop/work/ava/avalanche-sample/icm-erc20/cache/DeploySimpleContracts.s.sol/11/run-latest.json

Deployment complete. LOCAL_L1_1_SIMPLE_SENDER_CONTRACT_ADDRESS updated to 0xb99441DA4A918604d4ee7D1CB20B362Bd3c12705
Setting up environment...
Deploying SimpleReceiver to L1-2...
No files changed, compilation skipped
Script ran successfully.

== Logs ==
  SimpleReceiver deployed to: 0x764a0e52e145BF7c970A0677856f2242fD06DB81

## Setting up 1 EVM.

==========================

Chain 22

Estimated gas price: 50.000000001 gwei

Estimated total gas used for script: 471346

Estimated amount required: 0.023567300000471346 ETH

==========================

##### 22
✅  [Success] Hash: 0xa809727f48ec832112e874e9c3b5b0f8e939354710c1f12d082147986771b2f3
Contract Address: 0x764a0e52e145BF7c970A0677856f2242fD06DB81
Block: 44
Paid: 0.009064350000362574 ETH (362574 gas * 25.000000001 gwei)

✅ Sequence #1 on 22 | Total Paid: 0.009064350000362574 ETH (362574 gas * avg 25.000000001 gwei)
                                                                                                                                                                                              

==========================

ONCHAIN EXECUTION COMPLETE & SUCCESSFUL.

Transactions saved to: /Users/cardene/Desktop/work/ava/avalanche-sample/icm-erc20/broadcast/DeploySimpleContracts.s.sol/22/run-latest.json

Sensitive values saved to: /Users/cardene/Desktop/work/ava/avalanche-sample/icm-erc20/cache/DeploySimpleContracts.s.sol/22/run-latest.json

Deployment complete. LOCAL_L1_2_SIMPLE_RECEIVER_CONTRACT_ADDRESS updated to 0x764a0e52e145BF7c970A0677856f2242fD06DB81
All local contracts deployed!
```

:::

### ERC20トークンのMint

コントラクトのデプロイができたので、**ERC20**トークンのデプロイをしていきます。
この時、実行アドレスと**ERC20**トークンを受け取るアドレスは `ewoq` です。
以下のコマンドを実行してください。
このコマンドで1つ目のL1 Blockchain上で**ERC20**トークンのMintを行います。

```bash
make mint l1-1
```

以下のように出力されて、`status` が `1` であれば実行が成功しています。

```bash
Minting tokens on L1-1...

blockHash               0x4f51b8f6020d69eb0157e3920acbffe954ae2e8d7d079f0e73f8d53ccdbaaf9c
blockNumber             54
contractAddress         
cumulativeGasUsed       68489
effectiveGasPrice       25000000001
from                    0x8db97C7cEcE249c2b98bDC0226Cc4C2A57BF52FC
gasUsed                 68489
logs                    [{"address":"0x5f909f607a29156dd9fc43382d09420bba7799a6","topics":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","0x0000000000000000000000000000000000000000000000000000000000000000","0x0000000000000000000000008db97c7cece249c2b98bdc0226cc4c2a57bf52fc"],"data":"0x0000000000000000000000000000000000000000000000056bc75e2d63100000","blockHash":"0x4f51b8f6020d69eb0157e3920acbffe954ae2e8d7d079f0e73f8d53ccdbaaf9c","blockNumber":"0x36","transactionHash":"0x719a793a8d2c679314436306ad3e7e0ad9fb119c568578816b30785274399be5","transactionIndex":"0x0","logIndex":"0x0","removed":false}]
logsBloom               0x00000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000020000000000000000000800000000000000000000000810000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000002000000000000000000000000000000000000800000000000000020000000000000000000000000000000000000000001000000000080000000000000
root                    
status                  1 (success)
transactionHash         0x719a793a8d2c679314436306ad3e7e0ad9fb119c568578816b30785274399be5
transactionIndex        0
type                    2
blobGasPrice            
blobGasUsed             
authorizationList       
to                      0x5F909f607A29156Dd9Fc43382d09420bba7799A6
```

次に以下のコマンドを実行して、もう1つのL1 Blockchain上で**ERC20**トークンを発行します。

```bash
make mint l1-2
```

以下のように出力されて、`status` が `1` であれば実行が成功しています。

```bash
Minting tokens on L1-2...

blockHash               0x817e551a65c8023a0d445dc60dfe36b099360411b39c0f7ae04e0b92e5c5f196
blockNumber             45
contractAddress         
cumulativeGasUsed       68489
effectiveGasPrice       25000000001
from                    0x8db97C7cEcE249c2b98bDC0226Cc4C2A57BF52FC
gasUsed                 68489
logs                    [{"address":"0x686d75d2cc80890286fce3f738aa111568d63529","topics":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","0x0000000000000000000000000000000000000000000000000000000000000000","0x0000000000000000000000008db97c7cece249c2b98bdc0226cc4c2a57bf52fc"],"data":"0x0000000000000000000000000000000000000000000000056bc75e2d63100000","blockHash":"0x817e551a65c8023a0d445dc60dfe36b099360411b39c0f7ae04e0b92e5c5f196","blockNumber":"0x2d","transactionHash":"0x2947ef3defdec53d4a554ee1b5ca1e893ae958d46bb864c41c1da9e2936d20af","transactionIndex":"0x0","logIndex":"0x0","removed":false}]
logsBloom               0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000020000000000000200000a00000000000000000000000010000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000800000000000000020000000000000000000000000000000000000000001000000000080000000000000
root                    
status                  1 (success)
transactionHash         0x2947ef3defdec53d4a554ee1b5ca1e893ae958d46bb864c41c1da9e2936d20af
transactionIndex        0
type                    2
blobGasPrice            
blobGasUsed             
authorizationList       
to                      0x686d75D2Cc80890286fCe3F738AA111568D63529
```

### 残高の確認

Mintができたので、次に**ERC20**の残高の確認をしていきます。

```bash
make balance l1-1
```

以下のように出力されていれば、Mintが正常に実行されて `100` トークンが発行されています。

```bash
Checking balance on L1-1...
Checking balance of 0x8db97C7cEcE249c2b98bDC0226Cc4C2A57BF52FC...
100000000000000000000 [1e20]
```

次にもう1つのL1 Blockchain上の**ERC20**の残高の確認をしていきます。

```bash
make balance l1-2
```

以下のように出力されていれば、Mintが正常に実行されて `100` トークンが発行されています。

```bash
Checking balance on L1-2...
Checking balance of 0x8db97C7cEcE249c2b98bDC0226Cc4C2A57BF52FC...
100000000000000000000 [1e20]
```

### 2つのチェーン間でERC20トークンを送付

Mintができたので、2つのL1 Blockchain間で**ERC20**トークンを送付します。
以下のコマンドを実行して、`chain1` というL1 Blockchainから `chain2` というL1 Blockchainに**ERC20**トークンを送付していきます。

```bash
make send-tokens l1-1 l1-2
```

以下のように出力されていれば実行成功です。

```bash
Sending tokens from L1-1 to L1-2...

blockHash               0xac1893451059ac5638c79f8368072524e8cc71a181f2f292e1da6c35d32a4fee
blockNumber             55
contractAddress         
cumulativeGasUsed       147657
effectiveGasPrice       25000000001
from                    0x8db97C7cEcE249c2b98bDC0226Cc4C2A57BF52FC
gasUsed                 147657
logs                    [{"address":"0x5f909f607a29156dd9fc43382d09420bba7799a6","topics":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","0x0000000000000000000000008db97c7cece249c2b98bdc0226cc4c2a57bf52fc","0x0000000000000000000000000000000000000000000000000000000000000000"],"data":"0x0000000000000000000000000000000000000000000000008ac7230489e80000","blockHash":"0xac1893451059ac5638c79f8368072524e8cc71a181f2f292e1da6c35d32a4fee","blockNumber":"0x37","transactionHash":"0xd932b5309d9c70c3f20ad72896f25fb1f3105b452bcf3461a4e1c0c72376407a","transactionIndex":"0x0","logIndex":"0x0","removed":false},{"address":"0x253b2784c75e510dd0ff1da844684a1ac0aa5fcf","topics":["0x2a211ad4a59ab9d003852404f9c57c690704ee755f3c79d2c2812ad32da99df8","0x43386a61e98aaf49b02320fb058fcd93723c3d188d7163fb7a1cc4279252c1e5","0x3991a75ccbcd2bbf4be87b0699f9e2eade79f3e093ef3930292923d0ae62ec4c"],"data":"0x000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000005f909f607a29156dd9fc43382d09420bba7799a63991a75ccbcd2bbf4be87b0699f9e2eade79f3e093ef3930292923d0ae62ec4c000000000000000000000000686d75d2cc80890286fce3f738aa111568d63529000000000000000000000000000000000000000000000000000000000007a1200000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000008db97c7cece249c2b98bdc0226cc4c2a57bf52fc0000000000000000000000000000000000000000000000008ac7230489e80000","blockHash":"0xac1893451059ac5638c79f8368072524e8cc71a181f2f292e1da6c35d32a4fee","blockNumber":"0x37","transactionHash":"0xd932b5309d9c70c3f20ad72896f25fb1f3105b452bcf3461a4e1c0c72376407a","transactionIndex":"0x0","logIndex":"0x1","removed":false},{"address":"0x0200000000000000000000000000000000000005","topics":["0x56600c567728a800c0aa927500f831cb451df66a7af570eb4df4dfbf4674887d","0x000000000000000000000000253b2784c75e510dd0ff1da844684a1ac0aa5fcf","0x6c84cdac3da667786397f9951199e55cc0d2300bc7c97e001422217b90f8815a"],"data":"0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000020c0000000005397addd461a59c348d1ee7096f51ff448be96bb81b2363ea2e5fb2b01f307b16f1000001e200000000000100000014253b2784c75e510dd0ff1da844684a1ac0aa5fcf000001c00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000005f909f607a29156dd9fc43382d09420bba7799a63991a75ccbcd2bbf4be87b0699f9e2eade79f3e093ef3930292923d0ae62ec4c000000000000000000000000686d75d2cc80890286fce3f738aa111568d63529000000000000000000000000000000000000000000000000000000000007a1200000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000008db97c7cece249c2b98bdc0226cc4c2a57bf52fc0000000000000000000000000000000000000000000000008ac7230489e800000000000000000000000000000000000000000000","blockHash":"0xac1893451059ac5638c79f8368072524e8cc71a181f2f292e1da6c35d32a4fee","blockNumber":"0x37","transactionHash":"0xd932b5309d9c70c3f20ad72896f25fb1f3105b452bcf3461a4e1c0c72376407a","transactionIndex":"0x0","logIndex":"0x2","removed":false},{"address":"0x5f909f607a29156dd9fc43382d09420bba7799a6","topics":["0x61ab9e4b7a3fc836178c3f8d652bfd9d8b4cc2c148f650d85792e0868b1e29a5","0x3991a75ccbcd2bbf4be87b0699f9e2eade79f3e093ef3930292923d0ae62ec4c","0x000000000000000000000000686d75d2cc80890286fce3f738aa111568d63529","0x0000000000000000000000008db97c7cece249c2b98bdc0226cc4c2a57bf52fc"],"data":"0x0000000000000000000000000000000000000000000000008ac7230489e80000","blockHash":"0xac1893451059ac5638c79f8368072524e8cc71a181f2f292e1da6c35d32a4fee","blockNumber":"0x37","transactionHash":"0xd932b5309d9c70c3f20ad72896f25fb1f3105b452bcf3461a4e1c0c72376407a","transactionIndex":"0x0","logIndex":"0x3","removed":false}]
logsBloom               0x00200000000000800000000000000000000002000000000000000000000000000004000080000010000010000000200000000000000000000000000000000000000000000900000000000008000000000000000000000000000000000000200000000000020000000004000000000800000000000000000000000810000000000000000000000000800040000000000002000000020000000000000000000000040000000000002000000000000800000080000000000000000000001010000000000003008000010000000000000400000000000000800000000000000020000040000000000001000000000400000000000003000000000080088000000000
root                    
status                  1 (success)
transactionHash         0xd932b5309d9c70c3f20ad72896f25fb1f3105b452bcf3461a4e1c0c72376407a
transactionIndex        0
type                    2
blobGasPrice            
blobGasUsed             
authorizationList       
to                      0x5F909f607A29156Dd9Fc43382d09420bba7799A6
```

念の為残高の確認をしていきます。
まずは、`chain1` の残高を確認します。
以下のコマンドを実行してください。

```bash
make balance l1-1
```

以下のように出力されていれば、送付の実行は成功しています。
元々 `100` トークン保有していましたが、`10` トークン送付して `90` トークンに残高が変更されています。

```bash
Checking balance on L1-1...
Checking balance of 0x8db97C7cEcE249c2b98bDC0226Cc4C2A57BF52FC...
90000000000000000000 [9e19]
```

次に `chain2` の残高を確認します。
以下のコマンドを実行してください。

```bash
make balance l1-2
```

以下のように出力されていれば、**ERC20**トークンの受け取りは成功しています。
元々 `100` トークン保有していましたが、`10` トークン送付されて `110` トークンに残高が変更されています。

```bash
Checking balance on L1-2...
Checking balance of 0x8db97C7cEcE249c2b98bDC0226Cc4C2A57BF52FC...
110000000000000000000 [1.1e20]
```

これで2つのL1 Blockchain間で**ERC20**トークンの送付ができました。
