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: packages/stellar_client/README.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,8 @@ This client enables you to create new Stellar accounts or load existing ones on
18
18
19
19
Create new testnet account:
20
20
21
-
- If no mnemonic is provided, the client will create a new one using `Client.create`. If a mnemonic is provided, the client will be created using `Client.createFromMnemonic`.
21
+
- Use `Client.create(NetworkType.TESTNET)` to create a new client.
22
+
- Use `Client.createFromMnemonic(NetworkType.TESTNET, "mnemonic")` to create a client from an existing mnemonic.
22
23
- Account can be activated through friendbot (only for testnet).
23
24
- After activation, trustlines can be added to the account.
0 commit comments