Skip to main content
Blockfront

Crypto markets, protocols and policy

Using ParaSwap with a Safe multisig wallet

A Safe multisig can run swaps through the aggregator via WalletConnect; owners sign the transaction, and the Safe keeps the DAI it receives.

Blockfront Editorial

3 min read

Using ParaSwap with a Safe multisig wallet

ParaSwap is a decentralized exchange aggregator: it routes a token order across decentralized exchanges and fills it at the best available price. To run a swap from a Safe multisig, connect the Safe to ParaSwap through WalletConnect, propose the swap, collect threshold signatures, and execute. Safe authorizes the transaction from its own account, so the DAI arrives in the Safe, not in a single signer’s wallet.

How do I run an aggregator swap from a Safe multisig?

The swap runs from Safe’s own account. Before you start, the Safe needs ETH to sell and an executor wallet needs ETH for gas. Owners must be reachable, and they should agree on the quote before anyone opens it: refreshing calldata changes the signed Safe transaction hash, so signatures collected on an old quote will not match a new one. If the payload changes, collect fresh signatures. Safe’s getTransactionHash specification defines exactly which fields are hashed.

  1. Open the aggregator in a WalletConnect-enabled wallet and choose WalletConnect. Verify the connected address is the Safe address; the dApp is now talking to the Safe’s account, not to an owner’s wallet.
  2. Use the Market flow: sell ETH for DAI, set Safe as recipient, and review the minimum output, transaction value, and nonce. The quote shows the exact DAI output and the Safe address. The transaction carries ETH value, so no ERC-20 approval is needed; for an ERC-20 sell, the Safe would have to set an allowance first.
  3. Send the swap payload to the owners. Each owner signs it in their wallet; the Safe updates the signature count as each owner signs.
  4. Submit the signed transaction from an executor wallet funded for gas once the threshold is met. Safe execution succeeds and the DAI arrives in the Safe.

For this occasional task, the WalletConnect flow is the one to use. A developer-maintained integration can build Safe calls with the aggregator’s HTTP-only SDK, but that SDK only returns quote data; it cannot authorize transactions, and the extra integration effort only pays off if the team expects to maintain that path.

What else can Safe authorize beyond the swap?

Beyond the swap, Safe can authorize intent orders, automated swaps, spending modules, and owner changes; each uses threshold signatures.

Can Safe authorize Delta intents?

Yes, once the intent protocol turns the order into transaction calldata. Safe owners sign that calldata, and the Safe executes it; the WalletConnect flow works if the protocol’s dApp exposes it.

Can swaps be automated?

Yes, with a Safe module. Owners approve the module in a Safe transaction, and the module can trigger swaps according to its own rules. Automation is separate from the one-off WalletConnect flow.

How do spending modules work?

A spending module is a contract the Safe has approved to initiate transactions or move tokens. Approval happens once by Safe owner signatures; after that, the module can act without every owner signing each time.

How are unavailable owners replaced?

The owner list changes through a Safe transaction signed by the current threshold. If one owner is unavailable, the remaining owners still need threshold signatures to approve the replacement; if they cannot reach threshold, the Safe cannot change the list.