Research
Security News
Malicious PyPI Package ‘pycord-self’ Targets Discord Developers with Token Theft and Backdoor Exploit
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
@bitski/wagmi-connector
Advanced tools
npm install @bitski/wagmi-connector
Below are common examples. For more details on all configurable options, please also see the wagmi and RainbowKit docs.
import { BitskiConnector } from '@bitski/wagmi-connector';
import { createConfig } from '@wagmi/core';
wagmiConfig = createConfig({
connectors: [
new BitskiConnector({
chains,
options: {
id: 'my-connector',
name: 'My App Wallet',
appId: 'my-bitski-app-id',
bitskiOptions: {
waas: { enabled: false },
callbackURL: 'https://callback.url:3000',
// For more options, see the list of ProviderOptions under the bitski package
},
},
}),
new WalletConnectConnector({
chains,
options: { projectId: walletConnectProjectId, showQrModal: false, metadata },
}),
],
...defaultConfig,
});
import { bitskiWallet } from '@bitski/wagmi-connector';
import {
connectorsForWallets,
RainbowKitProvider,
Locale,
} from "@rainbow-me/rainbowkit";
import {
injectedWallet,
metaMaskWallet,
coinbaseWallet,
} from "@rainbow-me/rainbowkit/wallets";
import { configureChains, createConfig, WagmiConfig } from "wagmi";
import { mainnet, polygon, optimism, arbitrum, base, zora } from "viem/chains";
import { publicProvider } from "wagmi/providers/public";
const connectors = connectorsForWallets([
{
groupName: "Recommended",
wallets: [
bitskiWallet({
options: { appId: 'my-bitski-app-id', bitskiOptions: { network } },
chains,
}),
],
},
{
groupName: "Other Wallets",
wallets: [
injectedWallet({ chains }),
metaMaskWallet({ chains, projectId: "YOUR_PROJECT_ID" }),
coinbaseWallet({ appName: "YOUR_APP_NAME", chains }),
],
},
]);
const wagmiConfig = createConfig({
autoConnect: true,
connectors,
publicClient,
webSocketPublicClient,
});
function MyApp({ Component, pageProps }: AppProps) {
const { locale } = useRouter() as { locale: Locale };
return (
<WagmiConfig config={wagmiConfig}>
<RainbowKitProvider appInfo={demoAppInfo} chains={chains} locale={locale}>
<Component {...pageProps} />
</RainbowKitProvider>
</WagmiConfig>
);
}
FAQs
Wagmi adapter for Bitski
We found that @bitski/wagmi-connector demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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 the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.