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

@teamgosh/bee-sdk

v3.1.0

Published

[![npm](https://img.shields.io/npm/v/@teamgosh/bee-sdk?color=cb3837&logo=npm)](https://www.npmjs.com/package/@teamgosh/bee-sdk)

Readme

@teamgosh/bee-sdk

npm

WebAssembly SDK for Acki Nacki — drive multifactor wallets, mining, wallet-connect sessions, and flat-multisig deploy straight from the browser. Compiled from the bee-engine Rust workspace with wasm-pack (web target), fully typed.

Features

  • Multifactor wallets — deploy, query, manage factors, zk-login.
  • Mining — resolve miner addresses, set mining keys, drive a miner.
  • Wallet-connect — shared-key sessions, challenge/response, profile resolve.
  • Flat multisig — fully client-side giver-funded deploy + ECC balance reads.
  • Typed end-to-end — complete .d.ts ships with the package.

Runtime: browser / WebAssembly (built wasm-pack --target web). Not a Node package — it relies on the browser WebAssembly + fetch APIs.

Install

npm i @teamgosh/bee-sdk

Initialize

WebAssembly must be initialized once before any other call. The package ships the bee_sdk_bg.wasm binary; point init at it so your bundler emits and serves it. Pick the snippet for your setup:

Vite

import init from "@teamgosh/bee-sdk";
import wasmUrl from "@teamgosh/bee-sdk/bee_sdk_bg.wasm?url";

await init({ module_or_path: wasmUrl });

webpack 5 / Next.js

import init from "@teamgosh/bee-sdk";

const wasmUrl = new URL("@teamgosh/bee-sdk/bee_sdk_bg.wasm", import.meta.url);
await init({ module_or_path: wasmUrl });

Any setup (host the file yourself)

Copy node_modules/@teamgosh/bee-sdk/bee_sdk_bg.wasm into your static/public assets, then pass its served URL:

import init from "@teamgosh/bee-sdk";

await init({ module_or_path: "/assets/bee_sdk_bg.wasm" });

Call init once at startup; everything below assumes it has resolved.

Usage

Flat multisig deploy (shellnet, fully client-side)

Funds a fresh multisig address from the default shellnet giver, then deploys it. Always returns the owner keypair — persist secret. All amounts are strings (u64 / ECC values exceed 2^53 and would lose precision as JS numbers).

import init, { deploy_multisig_via_giver, multisig_balances } from "@teamgosh/bee-sdk";

await init();

const res = await deploy_multisig_via_giver({
  endpoints: ["https://shellnet.ackinacki.org"],
  // keys?            — owner keypair; generated when omitted, always returned
  // owners_pubkey?   — custodians ["0x…"] (uint256[]), default [owner]
  // req_confirms?, req_confirms_data?  — default 1
  // giver_value?     — SHELL (ECC[2]) gas top-up, default "10000000000"
  // giver_ecc?       — extra ECC, { currency_id: "amount" }
  // wait_for_active? — wait until Active, default true
});

console.log(res.address);     // 0x… canonical <dapp>::<account>
saveSecretSomewhere(res.secret);

// ECC balances of any account by address → { currency_id: raw_amount_string }
const balances = await multisig_balances({
  endpoints: ["https://shellnet.ackinacki.org"],
  address: res.address,
});
// e.g. { "2": "10000000000" }  (1 = NACKL, 2 = SHELL, 3 = USDC)

Multifactor wallet

import init, { Wallet } from "@teamgosh/bee-sdk";

await init();

const wallet = new Wallet(
  ["https://shellnet.ackinacki.org"],          // endpoints
  null,                                         // archive endpoints (optional)
  "https://app-backend.ackinacki.org/api",      // bee-infra backend
  "0x0000000000000000000000000000000000000000000000000000000000000000", // app id
);

Wallet-connect & mining

import init, { BeeConnect, get_miner_address_by_wallet_name } from "@teamgosh/bee-sdk";

await init();

const connect = new BeeConnect();
const session = connect.create_shared_key_session(appId, 300, null);
// → present session.deep_link to the wallet app, then connect.wait_wallet_hello(...)

const minerAddress = await get_miner_address_by_wallet_name({
  client_config: { network: { endpoints: ["https://shellnet.ackinacki.org"] } },
  wallet_name: "my-wallet",
});

Notes

  • Account addresses come back in canonical dApp-scoped form <dapp>::<account>.
  • The giver-funded multisig deploy is shellnet-only (the default giver lives only on shellnet) — gate it by network on your side.
  • See bee_sdk.d.ts for the full, authoritative type surface.

License

LicenseRef-Acki-Nacki-Node-License (see license in package.json).