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

@stellar-agent/freighter-bridge

v0.5.2

Published

Local approval request storage and Freighter-compatible signing bridge for Stellar Agent Bridge.

Readme

@stellar-agent/freighter-bridge

Local approval request storage and Freighter-compatible signing bridge for Stellar Agent.

This package stores auditable approval requests and serves a localhost HTTP API/UI for human approval. It never stores raw secret keys.

Install

npm install @stellar-agent/freighter-bridge

CLI Entry Points

stellar-agent approval create-payment --to G... --amount 6 --json
stellar-agent approval create-transaction --xdr AAAA... --summary "Sign contract transaction" --network testnet --json
stellar-agent tx request-payment-signature --from treasury --to G... --amount 1 --json
stellar-agent approval decide appr_... --approve --json
stellar-agent approval serve
stellar-agent approval open --port 8787 --token <session-token> --json
stellar-agent pay send --to G... --amount 6 --approval-id appr_... --json
stellar-agent tx submit-approval appr_... --json

Implemented

  • Payment approval request creation.
  • Transaction XDR approval request creation.
  • Approve, deny, and signed decision recording.
  • Signed-XDR substitution checks for transaction approval requests.
  • Request hash matching for payment approvals.
  • Localhost HTTP endpoints under /api/requests.
  • A small static approval UI at / with optional Freighter signTransaction support.
  • Loopback-only approval bridge hosting by default, with explicit opt-in required for remote binds.

Safety

The UI uses Freighter's browser API when available. It reads the bridge token from the printed uiUrl or copyUrl fragment, not from unauthenticated HTML, and posts signedTransactionXdr and signerPublicKey back to the bridge without exposing secrets to the CLI. The bridge accepts signed transaction XDR only when it has at least one signature and its transaction body matches the original approval request. Signed transaction approvals can then be submitted to Testnet with tx submit-approval. Mainnet submission is available only with Mainnet enabled, an active Mainnet profile, and --allow-real-funds --i-understand-real-funds; the CLI still never imports or stores Mainnet secret keys.

Links

  • GitHub: https://github.com/someone-in-texas/Stellar-Agent
  • Mainnet safety: https://github.com/someone-in-texas/Stellar-Agent/blob/main/docs/mainnet-safety.md
  • npm CLI package: https://www.npmjs.com/package/@stellar-agent/cli
  • Typed SDK examples: https://github.com/someone-in-texas/Stellar-Agent/tree/main/examples/sdk-typescript