Skip to content

[JA] Add Batch #3166

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

[JA] Add Batch #3166

wants to merge 2 commits into from

Conversation

nabe3m
Copy link
Contributor

@nabe3m nabe3m commented Jun 26, 2025

This pull request adds Japanese documentation for the following XRPL Batch transaction topics:

Copy link
Contributor

@tequdev tequdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nabe3m
noted that some Japanese expressions were standardized on other pages and improper markdown style was found.

@oeggert
There are discrepancies between the batch document and the actual spec.
The entire content should be reviewed again.

- スワップ(マルチアカウント):複数のアカウント間でのトラストレスなトークン/NFTスワップ。
- アカウント引き出し(マルチアカウント):当座預金からの引き出しを試行し、失敗した場合は代わりに普通預金から引き出します。

`Batch`トランザクションは、ラッパーである`Batch`トランザクション自体の_外部トランザクション_と、それぞれがアトミックに実行される_内部トランザクション_で構成されます。内部トランザクションの正確な処理方法は、バッチ_モード_によって決まります。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`Batch`トランザクションは、ラッパーである`Batch`トランザクション自体の_外部トランザクション_と、それぞれがアトミックに実行される_内部トランザクション_で構成されます。内部トランザクションの正確な処理方法は、バッチ_モード_によって決まります
`Batch`トランザクションは、ラッパーである`Batch`トランザクション自体の _外部トランザクション_ と、それぞれがアトミックに実行される _内部トランザクション_ で構成されます。内部トランザクションの正確な処理方法は、バッチ _モード_ によって決まります


## バッチのモード

`Batch`には4つのモードがあります:`ALLORNOTHING`、`ONLYONE`、`UNTILFAILURE`、`INDEPENDENT`。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`Batch`には4つのモードがあります:`ALLORNOTHING``ONLYONE``UNTILFAILURE``INDEPENDENT`
`Batch`には`ALLORNOTHING``ONLYONE``UNTILFAILURE``INDEPENDENT`の4つのモードがあります


### All or Nothing(全て成功か全て失敗)

`ALLORNOTHING`モードでは、いずれかのトランザクションが成功するには、全ての内部トランザクションが成功する必要があります。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`ALLORNOTHING`モードでは、いずれかのトランザクションが成功するには、全ての内部トランザクションが成功する必要があります。
`ALLORNOTHING`モードでは、いずれかの内部トランザクションが成功するには、全ての内部トランザクションが成功する必要があります。


### Until Failure(失敗まで)

`UNTILFAILURE`は失敗するまで全てのトランザクションを適用します。最初の失敗後の全てのトランザクションは適用されません。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`UNTILFAILURE`は失敗するまで全てのトランザクションを適用します。最初の失敗後の全てのトランザクションは適用されません。
`UNTILFAILURE`では、全ての内部トランザクションをいずれかが失敗するまで適用します。最初の失敗後の全てのトランザクションは適用されません。


### Independent(独立)

1つ以上の内部トランザクションが失敗しても、全てのトランザクションが適用されます。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
1つ以上の内部トランザクションが失敗しても、全てのトランザクションが適用されます。
`INDEPENDENT`では、1つ以上の内部トランザクションが失敗しても、全てのトランザクションが適用されます。

内部の各トランザクションは以下の要件を満たす必要があります。

- BatchTxnフィールドを含む必要があります。
- シーケンス番号を持ってはいけません。シーケンス番号値0を使用する必要があります。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

- BatchTxnフィールドを含む必要があります。
- シーケンス番号を持ってはいけません。シーケンス番号値0を使用する必要があります。
- 手数料を持ってはいけません。手数料値"0"を使用する必要があります。
- 署名されてはいけません(グローバルトランザクションはすでにすべての関連当事者によって署名されています)。代わりに`SigningPubKey`および`TxnSignature`フィールドに空文字列("")を持つ必要があります。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as batch-transaction.md

| Signature | string | STBlob | アカウントが単一署名で署名している場合に含まれます。 |
| Signers | array | STArray | アカウントがマルチサイン(単一署名の代わりに)で署名している場合にこのフィールドが含まれます。標準トランザクションマルチサインで使用されるSignersフィールドと同等に動作します。このフィールドはFlagsおよびTxnIDsフィールドの署名を保持します。 |

## BatchTxn
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@oeggert

The BatchTxn field doesn't used and doesn't exist.

{
"TransactionType": "Batch",
"Account": "rUser1fcu9RJa5W1ncAuEgLJF2oJC6",
"Flags": "0x00010000",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

{
"TransactionType": "Batch",
"Account": "rUser1fcu9RJa5W1ncAuEgLJF2oJC6",
"Flags": "0x00010000",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants