Skip to content

Commit 44ad7bc

Browse files
committed
docs: update readme for network and faucet
Add network on host url Add additional details for testnet faucet fund on readme
1 parent 7b3c3f7 commit 44ad7bc

File tree

2 files changed

+31
-15
lines changed

2 files changed

+31
-15
lines changed

β€Žtests/govtool-frontend/playwright/README.mdβ€Ž

Lines changed: 30 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ npx playwright install
5151

5252
### HOST URL
5353

54-
| Environment | URL |
55-
| :---------- | :----------------------------------------------------------------------------------------------------------------------- |
56-
| Development | [https://p80-z78acf3c2-zded6a792-gtw.z937eb260.rustrocks.fr](https://p80-z78acf3c2-zded6a792-gtw.z937eb260.rustrocks.fr) |
57-
| QA | [https://govtool.cardanoapi.io](https://govtool.cardanoapi.io) |
58-
| Preview | [https://preview.gov.tools](https://preview.gov.tools) |
59-
| Pre-Prod | [https://pre-prod.gov.tools](https://pre-prod.gov.tools) |
60-
| Mainnet | [https://gov.tools](https://gov.tools) |
54+
| Environment | URL | Network |
55+
| :---------- | :----------------------------------------------------------------------------------------------------------------------- | :------ |
56+
| Development | [https://p80-z78acf3c2-zded6a792-gtw.z937eb260.rustrocks.fr](https://p80-z78acf3c2-zded6a792-gtw.z937eb260.rustrocks.fr) | Preview |
57+
| QA | [https://govtool.cardanoapi.io](https://govtool.cardanoapi.io) | Preview |
58+
| Preview | [https://preview.gov.tools](https://preview.gov.tools) | Preview |
59+
| Pre-Prod | [https://pre-prod.gov.tools](https://pre-prod.gov.tools) | Preprod |
60+
| Mainnet | [https://gov.tools](https://gov.tools) | Mainnet |
6161

6262
---
6363

@@ -66,16 +66,21 @@ npx playwright install
6666
### Blockfrost API Key
6767

6868
- To generate a Blockfrost API key (Project ID):
69-
1. Follow the instructions in the [Blockfrost documentation](https://blockfrost.dev/overview/getting-started).
69+
70+
1. Follow the instructions in the [Blockfrost documentation](https://blockfrost.dev/overview/getting-started) πŸ“š.
7071
2. The **Project ID** you create there serves as your **Blockfrost API Key**.
72+
3. Copy the **Project ID** and set it as `BLOCKFROST_API_KEY`.
73+
74+
πŸ” Note: Ensure you select the correct network for the **Project ID** that matches the host URL from the environment listed above.
7175

7276
### Kuber API Key
7377

7478
- To generate a Kuber API Key:
75-
1. Visit [Kuberide](https://kuberide.com/).
79+
1. Visit [Kuberide](https://kuberide.com/) 🌐.
7680
2. Log in using your Google or GitHub account.
77-
3. Navigate to **API Keys**.
78-
4. Click to **Generate API Key**.
81+
3. Navigate to **API Keys** βš™οΈ.
82+
4. Click to **Generate API Key** ✨.
83+
5. Copy the API key and set it as `KUBER_API_KEY`
7984

8085
---
8186

@@ -127,15 +132,26 @@ FAUCET_ADDRESS=<your-wallet-address>
127132

128133
### Step 3: Fund the Wallet
129134

130-
Ensure the wallet address has sufficient funds for your test runs. The required balance depends on the specific tests you plan to execute (refer to the test-specific test run details below).
135+
Ensure your wallet has enough funds for your test runs. The required balance depends on the specific tests you plan to execute (see test-specific details below).
136+
137+
To fund your wallet on the **Preview** or **Preprod** network:
138+
139+
1. Use the Cardano Testnet Faucet:
140+
[https://docs.cardano.org/cardano-testnets/tools/faucet](https://docs.cardano.org/cardano-testnets/tools/faucet) 🌐
141+
**Note**: There is a daily limit of **10,000 ADA** per wallet.
142+
143+
2. If the funded amount is insufficient, transfer additional ADA from another wallet. πŸ’Έ
144+
145+
To check your wallet balance:
131146

132-
To check the wallet balance, visit:
147+
Visit:
133148

134149
```
135150
https://${network}.cardanoscan.io/address/<your-wallet-address>
136151
```
137152

138-
Replace `${network}` with the appropriate Cardano network (e.g.`preprod`, or `preview`) and `<your-wallet-address>` with the generated address.
153+
- Replace `${network}` with the appropriate network (e.g., `preprod` or `preview`).
154+
- Replace `<your-wallet-address>` with your wallet address. πŸ”
139155

140156
**Example**:
141157

β€Žtests/govtool-frontend/playwright/generate_faucet_wallet.tsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { ShelleyWallet } from "./lib/helpers/crypto";
1010
console.log("\nπŸŽ‰ Wallet generated successfully!");
1111
console.log("-----------------------------------");
1212
console.log("πŸ’Ό Wallet:", walletJson);
13-
console.log(`πŸ”‘ Payment Private Key: ${walletJson.payment.private}`);
13+
console.log(`\nπŸ”‘ Payment Private Key: ${walletJson.payment.private}`);
1414
console.log(`πŸ”— Stake Public Key Hash: ${walletJson.stake.pkh}`);
1515
console.log(`🏠 Wallet Address: ${walletJson.address}`);
1616
console.log("-----------------------------------");

0 commit comments

Comments
Β (0)