Skip to content

Commit f4f1adc

Browse files
committed
chore: update about env script
- add a note to prefer local node for testing
1 parent 6cc8c6f commit f4f1adc

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ From root directory:
1212
yarn install
1313
```
1414

15+
## Environment Setup
16+
17+
To simplify providing environment variables across all tutorials, a helper script automates creating `.env` files from each existing `.env-sample`.
18+
19+
```bash
20+
yarn setup-envs
21+
```
22+
1523
## Testing
1624

1725
1. Start the nitro-testnode (you can find instructions [here](https://docs.arbitrum.io/run-arbitrum-node/run-local-full-chain-simulation)) with the following parameters:
@@ -26,6 +34,10 @@ yarn install
2634
yarn run testAll
2735
```
2836

37+
### Notes on RPCs and Finality
38+
39+
Using public testnet RPCs can be slow because many tutorials wait for transaction finality or multiple confirmations. Some tests may take 10–15 minutes to complete on testnets. For faster and more reliable execution, prefer running a local node and pointing your environment variables (`CHAIN_RPC`, `PARENT_CHAIN_RPC`, and `L1_RPC` when applicable) to local RPC endpoints.
40+
2941
## What's included?
3042

3143
#### :white_check_mark: Basics

0 commit comments

Comments
 (0)