File tree 2 files changed +136
-94
lines changed
2 files changed +136
-94
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,36 @@ Made by ❤️ by the PaltaLabs 🥑 team.
20
20
| [ ` @soroban-react/wallet-data ` ] ( packages/wallet-data ) | [ ![ npm version] ( https://img.shields.io/npm/v/@soroban-react/wallet-data/latest.svg )] ( https://www.npmjs.com/package/@soroban-react/wallet-data/v/latest ) |
21
21
| [ ` @soroban-react/events ` ] ( packages/events ) | [ ![ npm version] ( https://img.shields.io/npm/v/@soroban-react/events/latest.svg )] ( https://www.npmjs.com/package/@soroban-react/events/v/latest ) |
22
22
23
+ you can set the default rpc with:
24
+
25
+ ``` ts
26
+ < SorobanReactProvider
27
+ chains = {chains }
28
+ appName = {' Soroswap' }
29
+ connectors = {connectors }
30
+ activeChain = {{
31
+ ... activeChain ,
32
+ sorobanRpcUrl :
33
+ ' https://testnet.stellar.validationcloud.io/v1/Mewk7YPYiUy3wAlDNlQsIhwxbdumICRYrz2tXS2vOck' ,
34
+ }}
35
+ >
36
+ {children }
37
+ < / SorobanReactProvider >
38
+ ```
39
+
40
+ or if you are not sending an default activeChain:
41
+
42
+ ``` ts
43
+ < SorobanReactProvider
44
+ chains = {chains }
45
+ appName = {' Soroswap' }
46
+ connectors = {connectors }
47
+ server = {fromURLToServer(' https://testnet.stellar.validationcloud.io/v1/Mewk7YPYiUy3wAlDNlQsIhwxbdumICRYrz2tXS2vOck' )}
48
+ >
49
+ {children }
50
+ < / SorobanReactProvider >
51
+ ```
52
+
23
53
24
54
# Introduction
25
55
You can’t perform that action at this time.
0 commit comments