Use autoconnect=true
to open user wallet automatically (by default is false).....
See the official gitbook: https://soroban-react.gitbook.io/index/ ..
@soroban-react is a simple, powerful framework for building modern Soroban dApps using React.
Library created based on https://github.com/stellar/soroban-example-dapp/tree/main/wallet written by https://github.com/paulbellamy.
Package | Version |
---|---|
@soroban-react/core |
|
@soroban-react/types |
|
@soroban-react/freighter |
@soroban-react
is a simple, powerful framework for building modern Soroban dApps using React. Its marquee features are:
Full support for Freighter
A dev-friendly context containing the current account and chain, and more, available globally throughout your dApp via a React Context.
The ability to write custom, fully featured Connectors that manage every aspect of your dApp's connectivity with the Soroban blockchain and user accounts.
To jump straight into code, check out the CodeSandbox demo! (ToDo)
Projects using @soroban-react
include:
Open a PR to add your project to the list! If you're interested in contributing
Generated using TypeDoc