Skip to content

Commit e489ae0

Browse files
authored
Merge branch 'main' into lightmark/add_more_fa_guide
2 parents b5f8294 + 9c97f77 commit e489ae0

File tree

573 files changed

+7179
-55241
lines changed

Some content is hidden

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

573 files changed

+7179
-55241
lines changed

.github/workflows/link-check.yml

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
--exclude '.*%7BmenuImage%7D.*'
4848
--exclude '.*imageUrl.*'
4949
--exclude '^(file:|[./]).*\/network\/faucet.mdx$'
50+
--exclude '^https://x\.com/.*'
5051
--accept '403,401,429'
5152
--retry-wait-time 1
5253
--max-retries 2

README.md

+12-22
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
We now use [lychee-broken-link-checker](https://github.com/marketplace/actions/lychee-broken-link-checker) to check for broken links in the GitHub Markdown. We use a corresponding link checker for pages on Aptos.dev.
1515

1616
With results visible at:
17-
https://github.com//aptos-labs/developer-docs/actions/workflows/links.yml
17+
[https://github.com/aptos-labs/developer-docs/actions/workflows/links.yml](https://github.com/aptos-labs/developer-docs/actions/workflows/links.yml)
1818

1919
## Installation
2020

@@ -33,7 +33,7 @@ brew install node
3333
- Install the latest [pnpm](https://pnpm.io/installation) by executing the below command on your Terminal:
3434

3535
```sh
36-
curl -fsSL https://get.pnpm.io/install.sh | sh -
36+
curl -fsSL https://get.pnpm.io/install.sh | sh -
3737
```
3838

3939
## Clone the Developer docs repo
@@ -44,12 +44,14 @@ git clone https://github.com/aptos-labs/developer-docs.git
4444

4545
## Install deps
4646

47-
You may have to run the following command first if you are on macOS M1 Sonoma or newer
47+
You may have to run the following command first if you are on macOS M1 Sonoma or newer:
4848

4949
```sh
5050
pnpm add node-gyp -g
5151
```
5252

53+
Then, run:
54+
5355
```sh
5456
pnpm install
5557
```
@@ -58,34 +60,22 @@ pnpm install
5860

5961
> Note: PLEASE SEE `apps/nextra/README.md` for more details!
6062
61-
0. Setup environment
63+
1. Setup environment
6264

6365
Ensure you have configured your `.env` properly under `apps/nextra/.env`. There is a `.env.example` there that you can duplicate and rename to `.env` for simplicity.
6466

65-
To ensure you have the right setup, you can run
66-
67-
```sh
68-
pnpm prebuild
69-
```
70-
71-
1. Build Nextra
67+
2. Build Nextra
7268

7369
```bash
74-
npx turbo run build --filter={apps/nextra}...
70+
pnpm run build
7571
```
7672

7773
This will build `apps/nextra` and all local packages it depends on.
7874

79-
2. Navigate to the correct subdirectory
80-
81-
```sh
82-
cd apps/nextra
83-
```
84-
8575
3. Run the development server
8676

8777
```sh
88-
pnpm dev
78+
pnpm run dev
8979
```
9080

9181
## Debugging
@@ -98,9 +88,9 @@ pnpm fmt
9888

9989
## Regenerating contributors
10090

101-
The src/contributors.json file (which powers the list of Authors at the bottom of doc pages) needs to be manually generated.
91+
The `src/contributors.json` file (which powers the list of Authors at the bottom of doc pages) needs to be manually generated.
10292

103-
In order to generate the contributor map you must authenticate with GitHub. The best way to do that is using GitHub CLI [installation guide](https://github.com/cli/cli#installation). Once you have the GitHub CLI installed, you can run the following command to authenticate:
93+
In order to generate the contributor map, you must authenticate with GitHub. The best way to do that is using GitHub CLI [installation guide](https://github.com/cli/cli#installation). Once you have the GitHub CLI installed, you can run the following command to authenticate:
10494

10595
```sh
10696
gh auth login --scopes read:user,user:email
@@ -110,4 +100,4 @@ Once that is done, you can generate the map with this command:
110100

111101
```sh
112102
pnpm contributors
113-
```
103+
```

apps/nextra/components/landing/sections/FooterSection.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export function FooterSection() {
5555
<Link href="https://t.me/aptos" title={t.telegramAlt}>
5656
<IconTelegram />
5757
</Link>
58-
<Link href="https://twitter.com/Aptos" title={t.twitterAlt}>
58+
<Link href="https://x.com/Aptos" title={t.twitterAlt}>
5959
<IconTwitter />
6060
</Link>
6161
</div>

apps/nextra/docs.config.js

-145
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

+49-4
Original file line numberDiff line numberDiff line change
@@ -435,12 +435,37 @@ 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+
},
444+
{
445+
source: "/indexer/indexer-sdk/documentation/version-tracking",
446+
destination:
447+
"/en/build/indexer/indexer-sdk/documentation/version-tracking",
448+
permanent: true,
449+
},
438450
{
439451
source: "/indexer/indexer-sdk/documentation/run-processor",
440452
destination:
441453
"/en/build/indexer/indexer-sdk/documentation/run-processor",
442454
permanent: true,
443455
},
456+
{
457+
source: "/indexer/indexer-sdk/documentation/advanced-tutorials",
458+
destination:
459+
"/en/build/indexer/indexer-sdk/documentation/advanced-tutorials",
460+
permanent: true,
461+
},
462+
{
463+
source:
464+
"/indexer/indexer-sdk/documentation/advanced-tutorials/txn-importer",
465+
destination:
466+
"/en/build/indexer/indexer-sdk/documentation/advanced-tutorials/txn-importer",
467+
permanent: true,
468+
},
444469
{
445470
source: "/indexer/txn-stream/labs-hosted",
446471
destination: "/en/build/indexer/api/labs-hosted",
@@ -1065,22 +1090,42 @@ export default withBundleAnalyzer(
10651090
},
10661091
{
10671092
source: "/tutorials/build-e2e-dapp/add-wallet-support",
1068-
destination: "/en/build/guides/build-e2e-dapp/3-add-wallet-support",
1093+
destination: "/en/build/guides/build-e2e-dapp/2-set-up-react-app",
1094+
permanent: true,
1095+
},
1096+
{
1097+
source: "/tutorials/build-e2e-dapp/3-add-wallet-support",
1098+
destination: "/en/build/guides/build-e2e-dapp/2-set-up-react-app",
10691099
permanent: true,
10701100
},
10711101
{
10721102
source: "/tutorials/build-e2e-dapp/fetch-data-from-chain",
1073-
destination: "/en/build/guides/build-e2e-dapp/4-fetch-data-from-chain",
1103+
destination: "/en/build/guides/build-e2e-dapp/3-fetch-data-from-chain",
1104+
permanent: true,
1105+
},
1106+
{
1107+
source: "/tutorials/build-e2e-dapp/4-fetch-data-from-chain",
1108+
destination: "/en/build/guides/build-e2e-dapp/3-fetch-data-from-chain",
10741109
permanent: true,
10751110
},
10761111
{
10771112
source: "/tutorials/build-e2e-dapp/submit-data-to-chain",
1078-
destination: "/en/build/guides/build-e2e-dapp/5-submit-data-to-chain",
1113+
destination: "/en/build/guides/build-e2e-dapp/4-submit-data-to-chain",
1114+
permanent: true,
1115+
},
1116+
{
1117+
source: "/tutorials/build-e2e-dapp/5-submit-data-to-chain",
1118+
destination: "/en/build/guides/build-e2e-dapp/4-submit-data-to-chain",
10791119
permanent: true,
10801120
},
10811121
{
10821122
source: "/tutorials/build-e2e-dapp/handle-tasks",
1083-
destination: "/en/build/guides/build-e2e-dapp/6-handle-tasks",
1123+
destination: "/en/build/guides/build-e2e-dapp/5-handle-tasks",
1124+
permanent: true,
1125+
},
1126+
{
1127+
source: "/tutorials/build-e2e-dapp/6-handle-tasks",
1128+
destination: "/en/build/guides/build-e2e-dapp/5-handle-tasks",
10841129
permanent: true,
10851130
},
10861131
{

apps/nextra/package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,14 @@
3939
"graphiql": "^3.2.0",
4040
"graphql": "^16.8.1",
4141
"graphql-ws": "^5.16.0",
42-
"intersection-observer": "^0.10.0",
43-
"next": "^14.2.10",
42+
"next": "^14.2.23",
4443
"next-sitemap": "^4.2.3",
4544
"nextra": "3.3.1",
4645
"nextra-theme-docs": "3.3.1",
4746
"react": "^18.2.0",
4847
"react-dom": "^18.2.0",
4948
"react-hook-form": "^7.51.2",
50-
"react-intersection-observer": "^8.26.2",
49+
"react-intersection-observer": "^9.15.1",
5150
"react-select": "^5.8.0",
5251
"sharp": "^0.33.5",
5352
"tailwind-merge": "^2.2.2",

apps/nextra/pages/en/build/apis/data-providers.mdx

+13
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,23 @@ We have a dashboard here: https://dune.com/aptos/aptos-chain-metrics-overview
6060
Another dashboard vendor, signatures in core tables were merged into `fact_transactions`
6161
They also have a few more convenience tables (defi, nft, price), [table list](https://flipsidecrypto.github.io/aptos-models/#!/overview)
6262

63+
### Artemis
64+
65+
Provides [topline metrics](https://app.artemis.xyz/project/aptos) as well as chart builder
66+
67+
### Nansen
68+
69+
Provides [topline metrics](https://app.nansen.ai/macro/blockchains?chain=aptos) with additional functionality with account.
70+
71+
### Allium
72+
73+
Raw data is available: https://docs.allium.so/historical-data/supported-blockchains/move-ecosystem/aptos
74+
6375
### Sentio
6476

6577
They have a guide here: https://docs.sentio.xyz/docs/aptos
6678
Data is found in data source -> external project -> sentio/aptos-overview
79+
They also provide stack tracing of transactions
6780

6881
### Space and Time
6982

apps/nextra/pages/en/build/apis/fullnode-rest-api.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ For more advanced queries, we recommend using the [Indexer GraphQL API](../index
2929

3030
## Understanding rate limits
3131

32-
As with the [Aptos Indexer](../indexer/aptos-hosted.mdx), the Aptos REST API has a rate limit of 5000
32+
As with the [Aptos Indexer](../indexer/indexer-api.mdx), the Aptos REST API has a rate limit of 5000
3333
requests per five minutes by IP address, whether submitting transactions or querying the API on Aptos-provided nodes.
3434
(As a node operator, you may raise those limits on your own node.) Note that this limit can change with or without prior
3535
notice.

0 commit comments

Comments
 (0)