Closed abstract829 closed 6 months ago
this pr fixes #88 and #90
now the app uses the rpc from the wallet and not the hardcoded one
example with two testnets rpc:
https://streamable.com/kokart
and now you can set the default rpc with:
<SorobanReactProvider chains={chains} appName={'Soroswap'} connectors={connectors} activeChain={{ ...activeChain, sorobanRpcUrl: 'https://testnet.stellar.validationcloud.io/v1/Mewk7YPYiUy3wAlDNlQsIhwxbdumICRYrz2tXS2vOck', }} > {children} </SorobanReactProvider>
or if you are not sending an default activeChain:
<SorobanReactProvider chains={chains} appName={'Soroswap'} connectors={connectors} server={fromURLToServer('https://testnet.stellar.validationcloud.io/v1/Mewk7YPYiUy3wAlDNlQsIhwxbdumICRYrz2tXS2vOck')} > {children} </SorobanReactProvider>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
this pr fixes #88 and #90
now the app uses the rpc from the wallet and not the hardcoded one
example with two testnets rpc:
https://streamable.com/kokart
and now you can set the default rpc with:
or if you are not sending an default activeChain: