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
// Chrome/Edge/Brave - use profile directory name (NOT the display name!)
112
-
const wallet =newNodeArweaveWallet({
113
-
browser: 'chrome',
114
-
browserProfile: 'Profile 1'// or 'Default', 'Profile 2', etc.
115
-
})
116
-
117
-
// Firefox - use profile name
118
-
const wallet =newNodeArweaveWallet({
119
-
browser: 'firefox',
120
-
browserProfile: 'dev-edition-default'// or your custom profile name
121
-
})
122
-
```
123
-
124
-
**Important:** The library automatically resolves display names to directory names for Chrome/Edge/Brave!
125
-
126
-
-**Chrome/Edge/Brave:** You can use either the display name ("Work") or directory name ("Profile 2")
127
-
-**Firefox:** Use the profile name exactly as shown in the profile manager
128
-
129
-
**How to find your profile name:**
130
-
131
-
1.**Chrome/Edge/Brave:**
132
-
- Open `chrome://version/` (or `edge://version/`, `brave://version/`)
133
-
- Look for "Profile Path"
134
-
- You can use either:
135
-
- The display name shown in the browser UI: `'Work'`, `'Personal'`
136
-
- The directory name (last part of path): `'Default'`, `'Profile 1'`, `'Profile 2'`
137
-
138
-
2.**Firefox:**
139
-
- Run `firefox -P` to open the profile manager
140
-
- Use the exact profile name shown (e.g., `'default-release'`, `'dev-edition-default'`)
84
+
See [Configuration](#️-configuration) for more information.
141
85
142
86
#### `wallet.initialize()`
143
87
@@ -508,6 +452,70 @@ const wallet = new NodeArweaveWallet({
508
452
509
453
**Note:** The timeout applies to individual wallet operations (signing, encrypting, etc.). If the user doesn't respond within this time, the operation will fail with a timeout error.
510
454
455
+
**Browser Options:**
456
+
457
+
You can specify which browser to open for wallet connection:
458
+
459
+
```typescript
460
+
// Use a specific browser by name
461
+
const wallet =newNodeArweaveWallet({ browser: 'chrome' }) // Google Chrome
0 commit comments