Docs

SafeWallet

Wallet interface to connect Safe wallet .

To connect to a safe wallet, a personal wallet must first be connected.

Example

import { CoinbaseWallet, SafeWallet } from "@thirdweb-dev/wallets";
import { Ethereum } from "@thirdweb-dev/chains";

// First, connect the personal wallet
const personalWallet = new CoinbaseWallet();
await personalWallet.connect();

// Then, connect the Safe wallet
const wallet = new SafeWallet();
await wallet.connect({
  personalWallet: personalWallet,
  chain: Ethereum,
  safeAddress: "{{contract_address}}",
});

Methods

Inherited Methods

Properties