Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 0d6e452

Browse files
authored
Merge branch 'main' into aa-docs
2 parents 24e4ec3 + 755f7c2 commit 0d6e452

File tree

406 files changed

+492
-50090
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

406 files changed

+492
-50090
lines changed

apps/nextra/docs.config.js

Lines changed: 0 additions & 145 deletions
Original file line numberDiff line numberDiff line change
@@ -274,154 +274,9 @@ export const zh = {
274274
testimonial3Author: "–Andy Hoang, CEO, Cellana",
275275
};
276276

277-
export const ja = {
278-
locale: "ja",
279-
name: "日本語",
280-
direction: "ltr",
281-
title: "Aptos ドキュメント",
282-
editText: "GitHub でこのページを編集 →",
283-
feedbackText: "質問がありますか?フィードバックをお寄せください →",
284-
footerLinkText: "https://vercel.com/?utm_source=swr",
285-
footerLinkElement: undefined,
286-
searchPlaceholderText: "ドキュメントを検索",
287-
searchLoadingText: "読み込み中...",
288-
searchEmptyText: "結果が見つかりません。",
289-
searchErrorText: "検索インデックスの読み込みに失敗しました。",
290-
lastUpdatedOn: "最終更新日",
291-
292-
////////// Landing Page //////////
293-
294-
// Title Section
295-
296-
headline: "Aptos で Web3 の未来を構築",
297-
subHeading: "最高クラスの Web3 開発者体験を構築するために必要なすべてのもの",
298-
quickStartBtnLabel: "クイックスタート",
299-
learnBtnLabel: "学習を始める",
300-
301-
// Move Section
302-
303-
moveSectionHeadline: "Move で安全で高性能なスマートコントラクトを作成",
304-
moveExamplesHeadline: "これらの Move サンプルで始めましょう",
305-
coinsExampleLabel: "コイン",
306-
coinsExampleDescription: "シンプルで型安全な代替可能なアセット",
307-
objectsExampleLabel: "オブジェクト",
308-
objectsExampleDescription: "組み合わせ可能なリソースコンテナ",
309-
fungibleAssetsExampleLabel: "代替可能なアセット",
310-
fungibleAssetsExampleDescription:
311-
"高度な表現力を持つ代替可能なデジタルアセット",
312-
313-
// Tooling Section
314-
toolingSectionHeadline: "Aptos のツールで web3 開発がこれまで以上に簡単に",
315-
indexerIllustrationAlt: "Indexer イラスト",
316-
indexerLabel: "Indexer",
317-
indexerDescription: "Aptos Indexer でチェーン上のデータを簡単にクエリ",
318-
graphqlLogoAlt: "GraphQL ロゴ",
319-
sdkIllustrationAlt: "SDK イラスト",
320-
sdkLabel: "SDK ドキュメント",
321-
sdkDescription: "Aptos の TypeScript SDK で Web アプリケーションを迅速に構築",
322-
typescriptLogoAlt: "TypeScript ロゴ",
323-
324-
// Developers Section
325-
326-
developersSectionHeadline: "Aptos では、開発者が最優先",
327-
developerDiscussionsLabel: "開発者ディスカッション",
328-
developerDiscussionsDescription:
329-
"どのタイムゾーンでも、緊急の質問にタイムリーな回答を得られます。",
330-
developerDiscussionsLink: "参加する",
331-
aptosLearnLabel: "Aptos Learn",
332-
aptosLearnDescription:
333-
"Aptos Learn でブロックチェーンをマスター。あらゆるレベルの開発者向けの包括的なチュートリアルとガイド。",
334-
aptosLearnLink: "学ぶ",
335-
grantsLabel: "助成金",
336-
grantsDescription: "Aptos 財団からプロジェクトの助成金を申請。",
337-
grantsLink: "申請する",
338-
339-
// Blockchain Section
340-
blockchainSectionHeadline: "Aptos のブロックチェーン機能を発見",
341-
performanceLabel: "パフォーマンス",
342-
performanceDescription:
343-
"高 TPS と低レイテンシーでブロックチェーンのパフォーマンスを再定義",
344-
parallelExecutionLabel: "並列実行",
345-
parallelExecutionDescription:
346-
"Block-STM が Aptos で並列化と楽観的な並行性をどのようにサポートするかを学ぶ",
347-
validatorsLabel: "バリデータとフルノード",
348-
validatorsDescription:
349-
"バリデータまたはフルノードの実行に必要な情報を詳しく学ぶ",
350-
keylessLabel: "キーレス",
351-
keylessDescription: "キーレスでシームレスなユーザー認証を体験",
352-
passkeysLabel: "パスキー",
353-
passkeysDescription: "生体認証でシームレスにオンボード",
354-
randomnessLabel: "オンチェーンランダム性",
355-
randomnessDescription: "ゲームなどで真の公平性を実現",
356-
feePayerLabel: "手数料支払者",
357-
feePayerDescription:
358-
"他者が支払いを代行し、トランザクションをシームレスに実行",
359-
multiSigLabel: "マルチシグ",
360-
multiSigDescription:
361-
"協調的な制御と比類のないセキュリティで、これまでにない方法で資産を保護",
362-
gasLabel: "ガス",
363-
gasDescription: "低ガス料金でよりスマートな取引を",
364-
consensusLabel: "コンセンサス",
365-
consensusDescription: "DAG ベースのコンセンサスについて詳しく学ぶ",
366-
storageLabel: "ストレージ",
367-
storageDescription:
368-
"Aptos の Jellyfish Merkle Tree とカスタム RocksDB 設定について詳しく学ぶ",
369-
networkingLabel: "ネットワーキング",
370-
networkingDescription:
371-
"Aptos ブロックチェーンのトポロジーとノード間の通信方法について学ぶ",
372-
mempoolLabel: "メモリプール",
373-
mempoolDescription:
374-
"トランザクションが上流に送信される前にどのようにバッファリングされるかを学ぶ",
375-
stateSyncLabel: "ステート同期",
376-
stateSyncDescription: "下流のノードが最新の状態とどのように同期するかを学ぶ",
377-
378-
// Testimonials Section
379-
testimonialsSectionHeadline: "エコシステムからの声",
380-
testimonial1Body:
381-
"Aptos での開発は革新的で、比類のないトランザクション速度と信頼性を提供しています。活気のあるコミュニティと Aptos エコシステムの全体的な方向性が気に入っています。",
382-
testimonial1Author: "–Muhd Dahlan, CEO Zabava Labs",
383-
testimonial2Body:
384-
"Aptin Finance は Aptos ユーザーに安全で直感的でシームレスな金融インタラクションを提供します。Aptos のビジョンに沿って、多様なグローバルコミュニティのためのオムニチェーン DeFi の機会のネクサスを確立することを目指しています。",
385-
testimonial2Author: "–Elvis Woo, CTO & Co-Founder, Aptin Finance",
386-
testimonial3Body:
387-
"Cellana Finance は、高速なトランザクション速度、コスト効率、堅牢なセキュリティを理由に Aptos での構築を選択しました。さらに、Aptos のインスタントファイナリティ(1秒未満)は、将来的に Web 2 からさまざまな金融アプリケーションを引き付ける重要な強みとなるでしょう。",
388-
testimonial3Author: "–Andy Hoang, CEO, Cellana",
389-
390-
// Footer Section
391-
aptosAlt: "Aptos 財団",
392-
discordAlt: "Discord",
393-
githubAlt: "Github",
394-
linkedinAlt: "LinkedIn",
395-
telegramAlt: "Telegram",
396-
twitterAlt: "Twitter",
397-
buildHeading: "構築",
398-
discoverHeading: "発見",
399-
connectHeading: "接続",
400-
meetAptosHeading: "Aptos について",
401-
documentationLink: "ドキュメント",
402-
governanceLink: "ガバナンス",
403-
networkNumbersLink: "ネットワーク数値",
404-
validatorsLink: "バリデータ",
405-
nodeOperationsLink: "ノード運用",
406-
ecosystemHubLink: "エコシステムハブ",
407-
grantsLink: "助成金",
408-
pressLink: "プレス",
409-
eventsLink: "イベント",
410-
collectiveLink: "コレクティブ",
411-
forumLink: "フォーラム",
412-
aboutAptosLink: "概要",
413-
netZeroPolicyLink: "ネットゼロポリシー",
414-
whitePaperLink: "ホワイトペーパー",
415-
brandLink: "ブランド",
416-
careersLink: "採用情報",
417-
privacyLink: "プライバシー",
418-
termsLink: "利用規約",
419-
};
420-
421277
export const i18nConfig = Object.freeze({
422278
en,
423279
zh,
424-
ja,
425280
});
426281

427282
export const docsConfig = Object.freeze({

apps/nextra/next.config.mjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,12 @@ export default withBundleAnalyzer(
435435
"/en/build/indexer/indexer-sdk/documentation/connect-steps",
436436
permanent: true,
437437
},
438+
{
439+
source: "/indexer/indexer-sdk/documentation/transaction-stream",
440+
destination:
441+
"/en/build/indexer/indexer-sdk/documentation/transaction-stream",
442+
permanent: true,
443+
},
438444
{
439445
source: "/indexer/indexer-sdk/documentation/version-tracking",
440446
destination:

apps/nextra/pages/en/build/guides/key-rotation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ This will generate two files:
188188
1. A public key at `private-key-a.pub`.
189189

190190
Since there is not yet an account associated with the authentication key, the
191-
following command should fail with a corresponding messsage:
191+
following command should fail with a corresponding message:
192192

193193
```sh filename="Terminal"
194194
aptos account lookup-address \

apps/nextra/pages/en/build/indexer/indexer-sdk/documentation/_meta.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@ export default {
1818
"version-tracking": {
1919
title: "Version Tracking",
2020
},
21+
"transaction-stream": {
22+
title: "Transaction Stream",
23+
},
2124
};

apps/nextra/pages/en/build/indexer/indexer-sdk/documentation/steps.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ To create a step with the SDK, follow these instructions:
101101

102102
The SDK implements [several common steps](https://github.com/aptos-labs/aptos-indexer-processor-sdk/tree/main/aptos-indexer-processors-sdk/sdk/src/common_steps) that you can use in your processors.
103103

104-
1. `TransactionStreamStep` provides a stream of Aptos transactions to the processor
104+
1. `TransactionStreamStep` provides a stream of Aptos transactions to the processor. Read more about it [here](./transaction-stream.mdx).
105105
2. `TimedBufferStep` buffers a batch of items and periodically polls to release the items to the next step
106106
3. `VersionTrackerStep` tracks the progress of the processor and checkpoints the processor's progress. Read more about it [here](./version-tracking.mdx).
107107
4. `OrderByVersionStep` orders transaction contextx by their starting versions. It buffers ordered these contexts and releases them at every poll interval.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
title: "Transaction Stream Step"
3+
---
4+
5+
# Transaction Stream Step
6+
7+
The `TransactionStreamStep` is a foundational component in the transaction processing pipeline. It establishes a gRPC connection with the `TransactionStream` service, fetches transactions in batches, and outputs them for further processing. This step also manages connection retries and reconnections in case of transient failures. Typically, this is the initial step in a processor, responsible for streaming transactions for downstream steps.
8+
9+
## Key Responsibilities
10+
11+
1. **Fetch Transactions**: Retrieves transaction batches from a gRPC service.
12+
2. **Manage Connections**: Handles gRPC reconnections to ensure a resilient stream.
13+
3. **Provide Metadata**: Attaches contextual information like versions and timestamps to the transactions.
14+
15+
## Struct Definition
16+
17+
The `TransactionStreamStep` struct is defined as follows:
18+
19+
```rust
20+
pub struct TransactionStreamStep
21+
where
22+
Self: Sized + Send + 'static,
23+
{
24+
transaction_stream_config: TransactionStreamConfig,
25+
pub transaction_stream: Mutex<TransactionStreamInternal>,
26+
}
27+
```
28+
29+
## How It Works
30+
31+
- The `TransactionStreamStep` connects to the gRPC `TransactionStream` service.
32+
- It continuously polls for new transactions using the `poll` method.
33+
- Each batch is wrapped in a `TransactionContext`, which includes metadata such as:
34+
- Start and end versions.
35+
- Timestamps of transactions.
36+
- Batch size in bytes.
37+
- If the connection is interrupted, it attempts to reconnect seamlessly.

apps/nextra/pages/en/build/sdks/ts-sdk/building-transactions/script-composer.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: "Dynamically invoke chains of Move calls with ScriptComposer"
44

55
# Dynamically invoke chains of Move calls with ScriptComposer
66

7-
This is so far an **expermiental** feature that is only released to [this particular](https://www.npmjs.com/package/@aptos-labs/ts-sdk/v/1.33.0-sc.0) version of typescript SDK and is subject to change.
7+
This is so far an **experimental** feature that is only released to [this particular](https://www.npmjs.com/package/@aptos-labs/ts-sdk/v/1.33.0-sc.0) version of typescript SDK and is subject to change.
88

99
In the naive api, you only get to specify one entry function to invoke for one transaction. An advanced builder might want to be able to invoke multiple **public** Move functions inside one transaction. This is now enabled by the new `scriptComposer` api provided in the transaction builder.
1010

apps/nextra/pages/en/build/sdks/wallet-adapter/wallet-standards.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ const removeUnregisterListener = on("unregister", function () {
223223
```
224224
The dapp has an event listener now, so it sees new wallets immediately and doesn't need to poll or list them again. This also works if the dapp loads before any wallets (it will initialize, see no wallets, then see wallets as they load)
225225

226-
A dapp makes a wallet request by calling the feature name that coresponds to the desired action. For example, to use the `connect` feature:
226+
A dapp makes a wallet request by calling the feature name that corresponds to the desired action. For example, to use the `connect` feature:
227227

228228
```typescript
229229
const onConnect = () => {

apps/nextra/pages/en/build/smart-contracts/book/vector.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Vector
22

3-
`vector<T>` is the only primitive collection type provided by Move. A `vector<T>` is a homogenous
3+
`vector<T>` is the only primitive collection type provided by Move. A `vector<T>` is a homogeneous
44
collection of `T`'s that can grow or shrink by pushing/popping values off the "end".
55

66
A `vector<T>` can be instantiated with any type `T`. For example, `vector<u64>`, `vector<address>`,

apps/nextra/pages/ja/_meta.ts

Lines changed: 0 additions & 102 deletions
This file was deleted.

0 commit comments

Comments
 (0)