You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: apps/nextra/pages/en/build/apis/faucet-api.mdx
+3-4
Original file line number
Diff line number
Diff line change
@@ -4,22 +4,21 @@ title: "Faucet API"
4
4
5
5
# Faucet API
6
6
7
-
The faucet allows users to get test `APT` on Devnet and Testnet. It is not available on Mainnet.
7
+
The faucet allows users to get `APT` on devnet. On testnet you can only mint at the [mint page](/network/faucet). It is not available on Mainnet.
8
8
9
9
The endpoints for each faucet are:
10
10
11
11
- Devnet: https://faucet.devnet.aptoslabs.com
12
-
- Testnet: https://faucet.testnet.aptoslabs.com
13
12
14
13
## Using the faucet
15
14
16
-
Each SDK has integration for devnet and testnet to use the faucet. Below are a few examples, but you can
15
+
Each SDK has integration for devnet to use the faucet. Below are a few examples, but you can
17
16
see more information on each individual [SDK's documentation](../sdks.mdx).
18
17
19
18
### Using the faucet in a wallet
20
19
21
20
Most wallets, such as [Petra](https://aptosfoundation.org/ecosystem/project/petra) or [Pontem](https://aptosfoundation.org/ecosystem/project/pontem-wallet)
22
-
will have a faucet button for devnet and testnet. See full list of [Aptos Wallets](https://aptosfoundation.org/ecosystem/projects/wallets).
21
+
will have a faucet button for devnet. See full list of [Aptos Wallets](https://aptosfoundation.org/ecosystem/projects/wallets).
Copy file name to clipboardexpand all lines: apps/nextra/pages/en/build/cli/trying-things-on-chain/create-test-accounts.mdx
+1-1
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ import { Callout } from 'nextra/components'
6
6
You can install the Aptos CLI by following [these steps](../../cli.mdx) if you have not done so already.
7
7
</Callout>
8
8
9
-
In general, to make a new account on-chain, you will need to generate keys and then fund the account. On test networks, you can fund a new account by asking a "faucet" account with test Aptos tokens to send them to your account.
9
+
In general, to make a new account on-chain, you will need to generate keys and then fund the account. On devnet, you can fund a new account by asking a "faucet" account with test Aptos tokens to send them to your account. On testnet you can mint at the [mint page](/network/faucet).
10
10
11
11
Using the CLI, you can generate and fund a test account using:
Copy file name to clipboardexpand all lines: apps/nextra/pages/en/build/guides/your-first-nft.mdx
+1-1
Original file line number
Diff line number
Diff line change
@@ -334,7 +334,7 @@ Note that this only generates the local keypair. After generating the keypair an
334
334
335
335
### Step 4.3: Creating blockchain accounts
336
336
337
-
In order to actually instantiate the Account on-chain, it must be explicitly created somehow. On the devnet network, you can request free coins with the Faucet API to use for testing purposes. This example leverages the faucet to fund and inadvertently create Alice and Bob's accounts:
337
+
In order to actually instantiate the Account on-chain, it must be explicitly created somehow. On devnet, you can request free coins with the Faucet API to use for testing purposes. This example leverages the faucet to fund and inadvertently create Alice and Bob's accounts:
Following [AIP-55](https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-55.md) the SDK supports `Legacy` and `Unified` authentications. `Legacy` includes `ED25519` and `MultiED25519` and `Unified` includes `SingleSender` and `MultiSender` authenticators.
28
28
</Callout>
29
29
30
-
Once you have generated credentials, you **must** fund it for the network to know it exists.
30
+
Once you have generated credentials, you **must** fund it for the network to know it exists.
31
31
32
-
In test environments this can be done with a faucet by running the following command:
32
+
In localnet / devnet this can be done with a faucet by running the following command:
For testnet you can use the mint page [here](/network/faucet).
42
+
41
43
## Other Ways To Represent Accounts
42
-
If you have a private key, or equivalent representation, you can use that to create an `Account` object to manage those credentials while using the TypeScript SDK.
44
+
If you have a private key, or equivalent representation, you can use that to create an `Account` object to manage those credentials while using the TypeScript SDK.
43
45
44
46
Here are several examples that show how to do so with specific encoding schemes.
@@ -107,7 +107,7 @@ To begin with though, here’s how you can send a basic transaction to transfer
107
107
108
108
#### 1. Create an Account
109
109
110
-
To create a new account, you first generate new credentials then fund the account. On test networks you can fund an account programmatically by asking a "faucet" which has a lot of test APT to send some to your new account.
110
+
To create a new account, you first generate new credentials then fund the account. On localnet / devnet you can fund an account programmatically by asking a "faucet" which has a lot of test APT to send some to your new account.
| Testnet | 2 |[Files Here](https://github.com/aptos-labs/aptos-networks/tree/main/testnet)| 2 hours | Managed by Aptos Labs on behalf of Aptos Foundation | Monthly, varies | Never |
24
-
| Devnet |[On Aptos Explorer **select Devnet from top right**](https://explorer.aptoslabs.com/?network=Devnet). |[Files Here](https://github.com/aptos-labs/aptos-networks/tree/main/devnet)| 2 hours | Managed by Aptos Labs on behalf of Aptos Foundation | Weekly | On update |
| Testnet | 2 |[Files Here](https://github.com/aptos-labs/aptos-networks/tree/main/testnet)|No programmatic access, you must use the [mint page](/network/faucet)|2 hours | Managed by Aptos Labs on behalf of Aptos Foundation | Monthly, varies | Never |
24
+
| Devnet |[On Aptos Explorer **select Devnet from top right**](https://explorer.aptoslabs.com/?network=Devnet). |[Files Here](https://github.com/aptos-labs/aptos-networks/tree/main/devnet)|Accessible programmatically via the API |2 hours | Managed by Aptos Labs on behalf of Aptos Foundation | Weekly | On update |
25
25
26
26
27
27
### Network URLs
@@ -31,7 +31,7 @@ The below URLs are provided by Aptos Labs.
31
31
| Network Name | REST API | REST API Spec | Indexer GraphQL API | Indexer GraphQL API Spec | Indexer GRPC | Faucet | Current Token Supply API |
0 commit comments