🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

@gelatonetwork/smartwallet-react-dynamic

Package Overview
Dependencies
Maintainers
3
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gelatonetwork/smartwallet-react-dynamic

Context provider supporting Dynamic WaaS

latest
npmnpm
Version
0.0.29
Version published
Maintainers
3
Created
Source

@gelatonetwork/smartwallet-react-dynamic

A React package that provides integration with Dynamic WaaS (Wallet-as-a-Service) for Gelato Smart Wallet.

Features

  • Dynamic WaaS integration for Gelato smart wallet management
  • Connect button component for easy wallet connection
  • Integration with wagmi for Web3 functionality

Installation

pnpm add @gelatonetwork/smartwallet-react-dynamic

Usage

Provider Setup

import { GelatoSmartWalletDynamicContextProvider } from '@gelatonetwork/smartwallet-react-dynamic';

function App() {
  return (
    <GelatoSmartWalletDynamicContextProvider
      settings={{
        waas: {
          appId: 'your-dynamic-app-id'
        },
        defaultChain: yourDefaultChain,
        wagmi: {
          config: yourWagmiConfig
        }
      }}
    >
      <YourApp />
    </GelatoSmartWalletDynamicContextProvider>
  );
}

Using the Connect Button

import { GelatoSmartWalletDynamicConnectButton } from '@gelatonetwork/smartwallet-react-dynamic';

function ConnectWallet() {
  return (
    <GelatoSmartWalletDynamicConnectButton>
      Connect Wallet
    </GelatoSmartWalletDynamicConnectButton>
  );
}

Accessing Wallet Context

import { useGelatoSmartWalletDynamicContext } from '@gelatonetwork/smartwallet-react-dynamic';

function YourComponent() {
  const { wagmi, logout, switchNetwork } = useGelatoSmartWalletDynamicContext();
  
  // Use the context values as needed
}

FAQs

Package last updated on 07 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts