From 76362fcd084b7ad7b2b7720e9ed63e6f228848d4 Mon Sep 17 00:00:00 2001 From: develoQ Date: Thu, 18 Aug 2022 20:24:59 +0900 Subject: [PATCH] Corrected points raised. --- content/references/client-libraries.ja.md | 10 +++++----- .../node_to_shard.ja.md | 4 ++-- content/references/xrpljs2-migration-guide.jp.md | 9 ++------- dactyl-config.yml | 2 +- 4 files changed, 10 insertions(+), 15 deletions(-) diff --git a/content/references/client-libraries.ja.md b/content/references/client-libraries.ja.md index 9af8241aee..924fd690fc 100644 --- a/content/references/client-libraries.ja.md +++ b/content/references/client-libraries.ja.md @@ -11,10 +11,10 @@ blurb: これらのライブラリを使用して、お好みのプログラミ | 言語 | ライブラリ名 | Get Started | APIリファレンス | ソースコード | |----------|--------------|-------------|---------------|-------------| -| **Python** | `xrpl-py` | [Get Started Using Python](get-started-using-python.html) | [API Reference](https://xrpl-py.readthedocs.io/) | [Repo](https://github.com/XRPLF/xrpl-py) | -| **JavaScript** / **TypeScript** | `xrpl.js` | [Get Started](get-started-using-javascript.html) | [API Reference](https://js.xrpl.org/) | [Repo](https://github.com/XRPLF/xrpl.js) | -| **C++** | `rippled` Signing Library | [Get Started](https://github.com/ripple/rippled/tree/develop/Builds/linux#signing-library) | | (Part of [`rippled`](https://github.com/ripple/rippled/)) | -| **Java** | `xrpl4j` | [Get Started Using Java](get-started-using-java.html) | [API Reference](https://javadoc.io/doc/org.xrpl/) | [Repo](https://github.com/XRPLF/xrpl4j) | -| **Ruby** | `xrbp` | | [API Reference](https://www.rubydoc.info/gems/xrbp) | [Repo](https://github.com/DevNullProd/xrbp) | +| **Python** | `xrpl-py` | [Pythonを使ってみよう](get-started-using-python.html) | [API リファレンス](https://xrpl-py.readthedocs.io/) | [リポジトリ](https://github.com/XRPLF/xrpl-py) | +| **JavaScript** / **TypeScript** | `xrpl.js` | [JavaScriptを使ってみよう](get-started-using-javascript.html) | [API リファレンス](https://js.xrpl.org/) | [リポジトリ](https://github.com/XRPLF/xrpl.js) | +| **C++** | `rippled` 署名ライブラリ | [署名ライブラリを使ってみよう](https://github.com/XRPLF/rippled/tree/develop/Builds/linux#signing-library) | | ([`rippled`](https://github.com/XRPLF/rippled/))の一部 | +| **Java** | `xrpl4j` | [Javaを使ってみよう](get-started-using-java.html) | [API リファレンス](https://javadoc.io/doc/org.xrpl/) | [リポジトリ](https://github.com/XRPLF/xrpl4j) | +| **Ruby** | `xrbp` | | [API リファレンス](https://www.rubydoc.info/gems/xrbp) | [リポジトリ](https://github.com/DevNullProd/xrbp) | **ヒント:** ここに掲載されていないクライアントライブラリを追加するには、[このページの変更を提案]({{target.github_forkurl}}/edit/{{target.github_branch}}/content/{{currentpage.md}})してください! diff --git a/content/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/node_to_shard.ja.md b/content/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/node_to_shard.ja.md index e014fb6afb..ce82099b8d 100644 --- a/content/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/node_to_shard.ja.md +++ b/content/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/node_to_shard.ja.md @@ -106,12 +106,12 @@ Connecting to 127.0.0.1:5005 | `項目` | 型 | 説明 | |:----------|:-------|:--------------------------------------------------------| -| `message` | String | コマンドに応答して実行されたアクションを示す、可読性の高いメッセージ。 | +| `message` | 文字列 | コマンドに応答して実行されたアクションを示す、可読性の高いメッセージ。 | ### 起こり得るエラー -- Any of the [汎用エラー][]. +- いずれかの[汎用エラータイプ][]。 - `internal` - コピーが実行されていない時にコピーの状態チェックをするといったような無効な操作の場合。 - `notEnabled` - サーバが[履歴シャード](history-sharding.html)を保存するように環境設定されていない場合。 - `invalidParams` - 1つ以上の項目が誤って定義されている、もしくは、1つ以上の必須項目が抜けている。 diff --git a/content/references/xrpljs2-migration-guide.jp.md b/content/references/xrpljs2-migration-guide.jp.md index 8c06f87975..07816ce81c 100644 --- a/content/references/xrpljs2-migration-guide.jp.md +++ b/content/references/xrpljs2-migration-guide.jp.md @@ -57,8 +57,6 @@ const xrpl = require("xrpl"); [分散型取引所](decentralized-exchange.html)の状態を調べる時のように、完了見込みの多数のトランザクション結果が保留中であるため、現時点のオープンレジャーを使用したい場合があります。また、完了したトランザクション結果を取り込んだ検証済みのレジャーを使用したい場合もあります。 -When making API requests with xrpl.js 2.0 using `Client.request()`, you should explicitly [specify what ledger to use](basic-data-types.html#specifying-ledgers). For example, to look up trust lines using the latest _validated ledger_: - xrpl.js 2.0が`Client.request()`を使用してAPIリクエストをする際、明確に[使用するレジャー番号を指定する](basic-data-types.html#specifying-ledgers)必要があります。例えば、最新の_検証済みレジャー_を使用してトラストラインを調べるためには: **ripple-lib 1.x:** @@ -106,13 +104,11 @@ try { } ``` -Alternatively, you can use the `sign` method of a wallet to sign a transaction and then use `submitAndWait(tx_blob)` to submit it. This can be useful for building [reliable transaction submission](reliable-transaction-submission.html) that can recover from power outages and other disasters. (The library does not handle disaster recovery on its own.) もしくは、トランザクション署名のためにwalletの`sign`メソッドを、送信のために`submitAndWait(tx_blob)`を使用することができます。 停電やその他災害から復旧させる[信頼できるトランザクションの送信](reliable-transaction-submission.html)のビルドに便利です。(ライブラリは単独でディザスタリカバリに対処しません。) ### LastLedgerSequenceのコントロール -In ripple-lib 1.x, you could specify a `instructions.maxLedgerVersionOffset` when preparing a transaction to define the `LastLedgerSequence` parameter of the prepared transaction as being some number of ledgers _after_ the latest validated one at the time. In 2.0, you can do this by looking up the latest validated ledger index, then specifying the `LastLedgerSequence` explicitly before auto-filling the transaction. ripple-lib 1.xでは、トランザクションを準備し、準備済みトランザクションの`LastLedgerSequence`パラメータを、その時点で最新の検証済みレジャー番号 _以降_ のレジャー番号を指定する際、`instructions.maxLedgerVersionOffset`を利用できました。2.0では、最新の検証済みレジャー番号を調べ、トランザクションのオートフィル前に`LastLedgerSequence`を明確に指定することが可能です。 **xrpl.js 2.0:** @@ -144,7 +140,6 @@ const prepared = await client.autofill({ ## キーおよびウォレット -xrpl.js 2.0 introduces a new [`Wallet` class](https://js.xrpl.org/classes/Wallet.html) for managing [cryptographic keys](cryptographic-keys.html) and signing transactions. This replaces functions that took seed or secret values in ripple-lib 1.x, and handles various address encoding and generation tasks as well. xrpl.js 2.0は、[暗号鍵](cryptographic-keys.html)の管理およびトランザクションの署名のために、新しい[`Wallet`クラス](https://js.xrpl.org/classes/Wallet.html)を採用します。 これは、ripple-lib 1.xにおいてシードや秘密鍵を取得していた機能に代わるもので、多様なアドレス符号化やタスク生成も処理します。 @@ -260,7 +255,7 @@ ripple-lib 1.xでは、全てのメソッドとプロパティは、`RippleAPI` | RippleAPIインスタンスメソッド/プロパティ | xrpl.jsメソッド/プロパティ | 注記 | |-------------------|----------------|---| | `new ripple.RippleAPI({server: url})` | [`new xrpl.Client(url)`](https://js.xrpl.org/classes/Client.html#constructor) | 複数のサーバに接続するには`xrpl.BroadcastClient([url1, url2, ..])` を使用してください。 | -| `request(command, options)` | [`Client.request(options)`](https://js.xrpl.org/classes/Client.html#request) |