npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@teleport-wallet/connector

v1.0.3

Published

Wagmi connector for Teleport Wallet

Readme

Teleport Connector for Wagmi

A wagmi connector for Teleport Wallet.

Installation

# npm
npm install teleport-wagmi-connector wagmi viem

# yarn
yarn add teleport-wagmi-connector wagmi viem

# pnpm
pnpm add teleport-wagmi-connector wagmi viem

Usage

import { createConfig, http } from 'wagmi'
import { silicon } from 'wagmi/chains'
import { teleportConnector } from 'teleport-wagmi-connector'

const config = createConfig({
    chains: [silicon],
    transports: {
        [silicon.id]: http()
    },
    connectors: [
        teleportConnector({
            projectId: 'YOUR_PROJECT_ID',
            // Required: metadata about your dApp
            metadata: {
                name: 'Your App',
                description: 'Your app description',
                url: 'https://yourdapp.com',
                icons: ['https://yourdapp.com/icon.png']
            },
            // Optional: customize the QR code modal
            qrModalOptions: {
                title: 'Connect with Teleport Wallet',
                theme: {
                    modalBackgroundColor: '#ffffff',
                    titleColor: '#1a1a1a',
                    textColor: '#555555',
                }
            }
        })
    ]
})

React Integration

import {WagmiProvider} from 'wagmi'
import {useConnect, useAccount, useDisconnect} from 'wagmi/react'
import {teleportConnector} from "./teleportConnector";
import {QueryClient, QueryClientProvider} from "@tanstack/react-query";

// First, set up the wagmi config as shown above

const queryClient = new QueryClient()

function App() {
    return (
        <WagmiProvider config={config}>
            <QueryClientProvider client={queryClient}>
                <YourConnectButton/>
            </QueryClientProvider>
        </WagmiProvider>
    )
}

function YourConnectButton() {
    const {connect, connectors} = useConnect()
    const {address, isConnected} = useAccount()
    const {disconnect} = useDisconnect()

    // Find the Teleport connector
    const teleportConnector = connectors.find(c => c.id === 'teleport')

    if (isConnected) {
        return (
            <div>
                <p>Connected to {address}</p>
                <button onClick={() => disconnect()}>Disconnect</button>
            </div>
        )
    }

    if (typeof teleportConnector === 'undefined') {
        return null
    }

    return (
        <button onClick={() => connect({connector: teleportConnector})}>
            Connect with Teleport
        </button>
    )
}

How It Works

  • On desktop: Displays a QR code in a modal that can be scanned with the Teleport website.
  • On mobile: Opens the Teleport wallet in a new tab directly through link
  • Supports Silicon Network chain

Configuration Options

| Option | Required | Description | |--------|----------|-------------| | projectId | Yes | Your WalletConnect project ID | | metadata | Yes | Information about your dApp (name, description, url, icons) | | qrModalOptions | No | Custom options for the QR code modal (title, colors, size, etc.) |

Implementation Note

This connector extends WalletConnect connector from @wagmi/connectors to provide a seamless integration with Teleport wallet. It handles QR code display on desktop and deep linking on mobile devices.

License

MIT