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

salt-sdk

v0.0.45

Published

SDK for interacting with Salt's MPC self custody & treasury

Readme

TypeScript NPM Version Documentation

Salt SDK

Salt SDK is a TypeScript client for creating and managing Salt organisations, their accounts, policies, and MPC-signed transactions.

Use it to:

  • Co-ordinate policy-controlled MPC signing
  • Submit MPC-signed transactions

Documentation

📃 API Reference

Install

  • ESM only
  • Node.js 24 or later
  • viem is a peer dependency
npm install salt-sdk viem

Example

// An existing Salt organisation and account are needed for this transaction example
import { Salt } from 'salt-sdk';
import {
  createPublicClient,
  createWalletClient,
  http,
  parseEther,
  type Hex,
} from 'viem';
import { privateKeyToAccount } from 'viem/accounts';
import { arbitrumSepolia, sepolia } from 'viem/chains';

// Create an instance — TESTNET uses Arbitrum Sepolia as its Key Store Network
const salt = new Salt({ environment: 'TESTNET' });

// Set up a viem wallet client
const account = privateKeyToAccount(process.env.PRIVATE_KEY as Hex);
const walletClient = createWalletClient({
  account,
  chain: arbitrumSepolia,
  transport: http(),
});

// Authenticate with SIWE
await salt.authenticate(walletClient);

// Fetch your organisations and accounts
const orgs = await salt.getOrganisations();
const accounts = await salt.getAccounts(orgs[0].id);

// Start viem in order to submit a native ETH transfer to Sepolia
const publicClient = createPublicClient({
  chain: sepolia,
  transport: http(process.env.SEPOLIA_RPC_URL),
});

const ceremony = await salt.submitTx({
  accountId: accounts[0].id,
  to: '0x000000000000000000000000000000000000dEaD',
  value: parseEther('0.01'),
  chainId: 11155111,
  userAddress: account.address,
  walletClient,
  publicClient,
});

// Track progress: proposing → signing → broadcasting → confirming → success | unconfirmed | failure
ceremony.on('stateChanged', ({ stage }) => console.log('tx is now', stage));

// Wait for MPC signing + broadcast to complete
const { transaction } = await ceremony.wait();
console.dir(transaction);

Learn More: Salt constructor · authenticate · getOrganisations · getAccounts · submitTx

Full API reference and more examples at developer.salt.space/sdk/.

Terms of Service

By using the Salt SDK, you agree to the Terms of Service.