Web3 sdk

Quick setup

Install xRaise Wallet connector package

npm i xraise-wagmi-connector

Add xRaise connector to your web3 library and request to connect automatically

const client = createClient({
  autoConnect: false,
  provider: zkSyncProvider,
  connectors: [defaultRaiseConnector],
export default function Layout({ children }: { children: React.ReactNode }) {
  useEffect(() => {
  }, []);
  return (
    <WagmiConfig client={client}>
      <PluggedWallet />

When the setup is complete, user transactions will trigger xRaise wallet window open when transaction is requested