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

@joai/warps-wallet-remote

v1.2.0

Published

Generic remote wallet provider for signer services

Readme

@joai/warps-wallet-remote

Generic remote wallet provider package for Warps SDK.

This package is intentionally backend-agnostic. It supports any remote signer service by configuration.

Installation

npm install @joai/warps-wallet-remote

Usage

import { WarpClient, WarpChainName } from '@joai/warps'
import { createRemoteWalletProvider } from '@joai/warps-wallet-remote'

const providerKey = 'myRemoteSigner'

const client = new WarpClient({
  env: 'devnet',
  user: {
    id: 'agent-1',
    wallets: {
      [WarpChainName.Ethereum]: {
        provider: providerKey,
        address: '0x...',
        externalId: 'wallet-1',
      },
    },
  },
  walletProviders: {
    [WarpChainName.Ethereum]: {
      [providerKey]: createRemoteWalletProvider(
        {
          baseUrl: 'https://signer.example',
          providerName: providerKey,
          serviceToken: process.env.SIGNER_SERVICE_TOKEN,
          getAccessToken: async ({ walletId, chain, nonce }) => {
            return await issueSignerToken({ walletId, chain, nonce })
          },
        },
        providerKey
      ),
    },
  },
})

Register the provider under the same key you store on the wallet config. If you use a custom provider key, pass it as providerName or the helper fallback so generated/imported wallets persist the correct provider.

Default Endpoints

  • POST /v1/wallets/generate
  • POST /v1/wallets/import
  • POST /v1/wallets/export
  • POST /v1/wallets/delete
  • POST /v1/sign/transaction
  • POST /v1/sign/message

Override with endpoints when your signer API differs.

Advanced Customization

  • headers: static request headers
  • getHeaders(context): per-operation dynamic headers
  • transformPayload(context, payload): mutate payloads before sending

These hooks allow integrating heterogeneous signer APIs without modifying SDK internals.

Security Defaults

  • HTTPS required by default (allowInsecureHttp only for explicit local/dev use)
  • Relative endpoint paths only (prevents endpoint host override/SSRF)
  • Strict token validation (non-empty service/access token)
  • Request timeout (default 15000ms)