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

Commit 863c9a3

Browse files
authored
Merge branch 'main' into preload-search
2 parents 11c3f23 + 7730a44 commit 863c9a3

40 files changed

+1057
-360
lines changed

apps/nextra/components/beta-notice/IndexerBetaNotice.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export function IndexerBetaNotice() {
77
currently in beta. Please report any problems you encounter by creating an
88
issue in the{" "}
99
<a
10-
href="https://github.com/aptos-labs/aptos-indexer-processors/issues/new/choose"
10+
href="https://github.com/aptos-labs/aptos-indexer-processors-v2/issues/new/choose"
1111
className="_text-primary-600 _underline _decoration-from-font"
1212
style={{ textUnderlinePosition: "from-font" }}
1313
>

apps/nextra/components/codeblock/Codeblock.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export interface CodeblockContainerProps {
1111
/**
1212
* Codeblock Container
1313
*
14-
* Customizeable wrapper around Codeblock Header and Content. Default styling mimics Nextra's built-in Codeblocks
14+
* Customizable wrapper around Codeblock Header and Content. Default styling mimics Nextra's built-in Codeblocks
1515
*/
1616
export function CodeblockContainer({
1717
children,
@@ -31,7 +31,7 @@ export interface CodeblockContainerProps {
3131
/**
3232
* Codeblock Header
3333
*
34-
* Fully customizeable Codeblock header. Default styling mimics Nextra's built-in Codeblocks
34+
* Fully customizable Codeblock header. Default styling mimics Nextra's built-in Codeblocks
3535
*/
3636
export function CodeblockHeader({
3737
children,

apps/nextra/components/tabs/Tabs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export interface TabsProps {
8989
* Tabs Component for Nextra
9090
*
9191
* A groupName is provided to the Tabs parent component.
92-
* The <Tabs /> component then maps over each child and propogates
92+
* The <Tabs /> component then maps over each child and propagates
9393
* the groupName to each <TabItem /> child
9494
*
9595
* This is done to avoid the need to pass groupName individually

apps/nextra/pages/en/_meta.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ export default {
8181
newWindow: true,
8282
type: "page",
8383
},
84-
api_gateway: {
85-
title: "API Gateway ↗",
86-
href: "https://developers.aptoslabs.com/",
84+
aptos_build: {
85+
title: "Aptos Build ↗",
86+
href: "https://build.aptoslabs.com/",
8787
newWindow: true,
8888
type: "page",
8989
},

apps/nextra/pages/en/build/apis.mdx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,4 @@ such anyone can operate these APIs and many independent operators and builders w
7070
[Aptos Labs](https://aptoslabs.com) operates a deployment of these APIs on behalf of [Aptos Foundation](https://aptosfoundation.org/)
7171
for each [Aptos Network](../network/nodes/networks.mdx) and makes them available for public consumption.
7272

73-
At the moment there are 2 sets of Aptos Labs API deployments:
74-
75-
1. [APIs with anonymous access and IP-based rate-limiting](../network/nodes/networks.mdx)
76-
2. [[Beta] APIs with authentication and developer-account based rate limiting through the Aptos Labs Developer Portal](apis/aptos-labs-developer-portal.mdx)
77-
73+
These APIs allow for limited access on a per-IP basis without an API key (anonymous access). To get much higher rate limits you can sign up for an [Aptos Build](https://build.aptoslabs.com/) account.
Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
---
2-
title: "Aptos Labs API Gateway"
2+
title: "Aptos Labs Aptos Build"
33
---
44

55
import { Callout } from "nextra/components";
66

7-
# Aptos Labs API Gateway
7+
# Aptos Labs Aptos Build
88

9-
<Callout type="info">
10-
API Gateway is currently in beta. Please report any problems you encounter
11-
by creating an [issue in the aptos-core](https://github.com/aptos-labs/aptos-core/issues/new?assignees=@geekflyer,@dport,@blakezimmerman&labels=api-gateway&projects=&template=dev_portal_issue.md&title=%5BDev+Portal%5D) repo.
12-
</Callout>
9+
[Aptos Build](https://build.aptoslabs.com) is your gateway to access Aptos Labs provided APIs in a quick and easy fashion to power your dapp. Beyond API access it offers gas station and no code indexing services.
1310

14-
[API Gateway](https://developers.aptoslabs.com) is your gateway to access Aptos Labs provided APIs in a quick and easy fashion to power your dapp. It consists of a Portal (UI) and a set of API Gateways operated by Aptos Labs.
15-
16-
Learn more about API Gateway at the dedicated [API Gateway docs site](https://developers.aptoslabs.com/docs).
11+
Learn more about Aptos Build at the dedicated [Aptos Build docs site](https://build.aptoslabs.com/docs).

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Indexer layer on top of this will provide a [GRPC transaction stream](../indexer
1616

1717
On top of this transaction stream, we've built out some product logic tables that can be queried through [GraphQL](../indexer/)
1818

19-
Since the logic to parse out transaction is [public](https://github.com/aptos-labs/aptos-indexer-processors), some vendors have implemented similar parsing logic to create a subset of tables and made them available to query.
19+
Since the logic to parse out transaction is [public](https://github.com/aptos-labs/aptos-indexer-processors-v2), some vendors have implemented similar parsing logic to create a subset of tables and made them available to query.
2020

2121
## SQL Tables
2222

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +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/indexer-api.mdx), the Aptos REST API has a rate limit of 5000
33-
requests per five minutes by IP address, whether submitting transactions or querying the API on Aptos-provided nodes.
34-
(As a node operator, you may raise those limits on your own node.) Note that this limit can change with or without prior
35-
notice.
32+
As with the [Aptos Indexer](../indexer/indexer-api.mdx), the Aptos REST API has rate limits based on compute units. You can learn more about how the ratelimiting works by reading the [Aptos Build docs](https://build.aptoslabs.com/docs/start/billing).
3633

3734
## Viewing current and historical state
3835

apps/nextra/pages/en/build/cli.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ For more advanced users, the CLI can also be used to run a private Aptos network
3030
<div className="flex flex-col gap-2">
3131
<Card.Title>Windows</Card.Title>
3232
<Card.Description>
33-
Install Aptos CLI on Windows via python script or pre-compiled binary
33+
Install Aptos CLI on Windows via powershell script or pre-compiled binary
3434
</Card.Description>
3535
</div>
3636
</Card>
@@ -39,7 +39,7 @@ For more advanced users, the CLI can also be used to run a private Aptos network
3939
<div className="flex flex-col gap-2">
4040
<Card.Title>Linux</Card.Title>
4141
<Card.Description>
42-
Install Aptos CLI on Linux via python script or pre-compiled binary
42+
Install Aptos CLI on Linux via shell script or pre-compiled binary
4343
</Card.Description>
4444
</div>
4545
</Card>

apps/nextra/pages/en/build/cli/install-cli/install-cli-linux.mdx

Lines changed: 28 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,30 @@ import { Callout, Steps } from 'nextra/components'
22

33
# Install the Aptos CLI on Linux
44

5-
For Linux, the easiest way to install the Aptos CLI tool is via Python script, although if that does not work, you can also install manually via downloading pre-compiled binaries. The pre-compiled binaries approach is not generally recommended as updating is very manual.
5+
For Linux, the easiest way to install the Aptos CLI tool is via shell script, although if that does not work, you can also install manually via downloading pre-compiled binaries. The pre-compiled binaries approach is not generally recommended as updating is very manual.
66

7-
<Callout type="warning">
8-
Note: If you are using an ARM architecture, you will have to install using the steps here: [Install Specific Aptos CLI Versions (Advanced)](install-cli-specific-version.mdx)
9-
</Callout>
10-
11-
# Install via Python Script
7+
# Install via Script
128

139
<Steps>
14-
### Ensure you have Python 3.6+ installed by running `python3 --version`.
15-
16-
If python3 is not installed, you can find installation instructions on [python.org](http://python.org).
1710

1811
### In the terminal, use one of the following commands:
1912

20-
{/* TODO We need to ensure these files are still hosted */}
2113
```bash filename="Terminal"
22-
curl -fsSL "https://aptos.dev/scripts/install_cli.py" | python3
14+
curl -fsSL "https://aptos.dev/scripts/install_cli.sh" | sh
2315
```
2416

2517
Or use the equivalent `wget` command:
2618

2719
```bash filename="Terminal"
28-
wget -qO- "https://aptos.dev/scripts/install_cli.py" | python3
20+
wget -qO- "https://aptos.dev/scripts/install_cli.sh" | sh
2921
```
3022

3123
<Callout type="warning">
32-
If you receive the error `Couldn't find distutils or packaging. We cannot check the current version of the CLI. We will install the latest version.` you can fix it by running `pip3 install packaging` then repeating this step.
24+
If you are getting `Illegal instruction` errors when running the CLI, it may be due to your CPU not supporting SIMD instructions.
25+
Specifically for older non-SIMD processors or Ubuntu x86_64 docker containers on ARM Macs, you may need to run the following command instead to skip SIMD instructions:
26+
```bash filename="Terminal"
27+
curl -fsSL "https://aptos.dev/scripts/install_cli.sh" | sh -s -- --generic-linux
28+
```
3329
</Callout>
3430

3531
### (Optional) It can be helpful to add the Aptos CLI to a folder in your PATH, or to add it to your PATH directly.
@@ -44,14 +40,31 @@ Note: If you are using an ARM architecture, you will have to install using the s
4440
If you would like to update the Aptos CLI to the latest version, you can run `aptos update`.
4541
</Callout>
4642

43+
# Install via Package Manager (Optional)
44+
45+
<Callout type="info">
46+
When installing Aptos via a package manager, please update it through the same package manager in the future.
47+
</Callout>
48+
49+
### Arch Linux
50+
#### Install via AUR (Arch User Repository)
51+
```bash filename="Terminal"
52+
git clone https://aur.archlinux.org/aptos-bin.git
53+
cd aptos-bin
54+
makepkg -si
55+
```
56+
or use an AUR helper like `yay`:
57+
```bash filename="Terminal"
58+
yay -S aptos-bin
59+
```
4760
# Install via Pre-Compiled Binaries (Backup Method)
4861

4962
<Steps>
5063
### Go to the [Aptos CLI release page](https://github.com/aptos-labs/aptos-core/releases?q=cli&expanded=true).
5164
### Click the "Assets" expandable menu for the latest release to see the pre-compiled binaries.
5265
### Download the zip file for Linux.
53-
1. It’ll have a name like: `aptos-cli-<version>-Ubuntu-x86_64.zip`.
54-
2. Make sure you choose the right zip file for your computer architecture.
66+
1. It’ll have a name like: `aptos-cli-<version>-Linux-x86_64.zip` or `aptos-cli-<version>-Linux-aarch64.zip`.
67+
2. Make sure you choose the right zip file for your computer architecture (x86_64 for Intel / AMD or aarch64 for ARM).
5568
3. You will likely have to dismiss warnings that this is a suspicious file when downloading.
5669
### Unzip the downloaded file.
5770
### Move the extracted Aptos binary file into your preferred folder.

0 commit comments

Comments
 (0)