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

smart-account-kit-bindings

v0.4.0

Published

TypeScript bindings for OpenZeppelin smart account contracts on Stellar

Readme

smart-account-kit-bindings

Generated TypeScript client and contract types for the OpenZeppelin smart account contract on Stellar.

Most applications should install smart-account-kit, which wraps these bindings with passkey, signer, policy, discovery, and transaction workflows. Use this package directly when you need the generated contract client or exact contract types.

[!WARNING] These bindings can build state-changing transactions. This integration package has not undergone an independent security audit. Review each transaction before signing or submitting it. See the project security status.

Install

pnpm add smart-account-kit-bindings @stellar/stellar-sdk

Use the generated client

import { Client } from 'smart-account-kit-bindings';

const client = new Client({
  contractId: 'C...',
  networkPassphrase: 'Test SDF Network ; September 2015',
  rpcUrl: 'https://soroban-testnet.stellar.org',
});

const transaction = await client.get_context_rule({ context_rule_id: 0 });
console.log(transaction.result);

Contract calls return AssembledTransaction values from @stellar/stellar-sdk/contract. Read-only simulations expose their decoded return value on .result; state-changing calls can be signed and submitted through the assembled-transaction API.

Regenerate in this repository

The repository wrapper preserves package metadata, formatting, and this README after invoking Stellar CLI:

ACCOUNT_WASM=/path/to/multisig_account_example.wasm \
BINDINGS_VERSION=0.3.0 \
pnpm build:bindings

You can also configure a deployed WASM hash or contract ID in demo/.env. build:bindings prefers explicit env/args, falls back to demo/.env.example, and prints the source and hash it binds against. See the repository's release guide for the optimized contract build and publish sequence.

The underlying Stellar CLI command is stellar contract bindings typescript; the older soroban contract bindings ts spelling is no longer used.

Verify against the deployed contract

These bindings are generated from the canonical deployed WASM and must stay byte-compatible with it. From the repository root:

pnpm verify:bindings

This regenerates from the canonical testnet WASM hash recorded in docs/deployments-protocol-27-2026-07-09.md, diffs the result against the checked-in src/index.ts, and exits nonzero on drift. Never hand-edit the generated sources to resolve drift — fix it on the contract side (redeploy) and regenerate, or the next verify:bindings will flag it again.