paltalabs / soroban-react

@soroban-react is a simple, powerful framework for building modern Soroban dApps using React.
https://soroban-react.paltalabs.io/
Apache License 2.0
30 stars 15 forks source link

add server as param to soroban react provider #91

Closed abstract829 closed 5 months ago

abstract829 commented 5 months ago

this pr solves #90

now you can set the value for the default rpc in the soroban react provider

usage:

 <SorobanReactProvider
  server={fromURLToServer(
    'https://testnet.stellar.validationcloud.io/v1/Mewk7YPYiUy3wAlDNlQsIhwxbdumICRYrz2tXS2vOck',
  )}
>
  {children}
</SorobanReactProvider>

there is still a problem that when you connect your wallet it is not taking the rpc from your wallet, i think the soroban provider needs to be refactor

vercel[bot] commented 5 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
soroban-react ❌ Failed (Inspect) May 3, 2024 4:56pm