
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@privy-io/wagmi-connector
Advanced tools
This package only supports WAGMI V1. Please use our new @privy-io/wagmi
library if you want to use WAGMI V2.
This plugin allows you to use WAGMI hooks with the Privy SDK. To integrate, simply wrap your components like so. (example next.js code below) (the below shows using goerli and mainnet)
The idea is that you first configure WAGMI as you would usually, and pass that to the PrivyWagmiConnector
instead:
import {goerli, mainnet} from '@wagmi/chains';
import type {AppProps} from 'next/app';
import {configureChains} from 'wagmi';
import {publicProvider} from 'wagmi/providers/public';
import {PrivyProvider} from '@privy-io/react-auth';
import {PrivyWagmiConnector} from '@privy-io/wagmi-connector';
const configureChainsConfig = configureChains([mainnet, goerli], [publicProvider()]);
export default function App({Component, pageProps}: AppProps) {
return (
<PrivyProvider appId={process.env.NEXT_PUBLIC_PRIVY_APP_ID as string}>
<PrivyWagmiConnector wagmiChainsConfig={configureChainsConfig}>
<Component {...pageProps} />
</PrivyWagmiConnector>
</PrivyProvider>
);
}
Then, in your application, feel free to use WAGMI hooks like useAccount
, useSignMessage
, useEnsName
, ...
Please do not use the useConnect
hook to connect, but rather use {login} = usePrivy()
. Privy controls the session and syncs it with WAGMI.
FAQs
A connector for Privy <> WAGMI.sh
The npm package @privy-io/wagmi-connector receives a total of 389 weekly downloads. As such, @privy-io/wagmi-connector popularity was classified as not popular.
We found that @privy-io/wagmi-connector demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.