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

@cinaconnect/aa-sdk

v0.2.0

Published

CinaConnect Account Abstraction SDK — Smart accounts, paymaster, and bundler client

Readme

@cinaconnect/aa-sdk

Account Abstraction SDK for building ERC-4337 compatible smart accounts. Includes smart account management, factory deployment, paymaster integration, and bundler client.

Installation

npm install @cinaconnect/aa-sdk

Usage

Smart Account

import { SmartAccount } from '@cinaconnect/aa-sdk';

const account = await SmartAccount.create({
  owner: '0x...',
  entryPoint: '0x0000000071727De22E5E9d8BAf0edAc6f37da032',
  factoryAddress: '0x...',
  chainId: 1,
  rpcUrl: 'https://eth.rpc',
});

// Execute a transaction
const result = await account.execute('0xRecipient', 100n, '0x');

// Execute batch transactions
const batchResult = await account.executeBatch([
  { to: '0xAddr1', value: 100n, data: '0x...' },
  { to: '0xAddr2', value: 200n, data: '0x...' },
]);

Factory

import { SmartAccountFactory } from '@cinaconnect/aa-sdk';

const factory = new SmartAccountFactory({
  address: '0x...',
  entryPoint: '0x...',
  saltNonce: 0n,
});

const { address, hash } = await factory.deploy('0xOwner');

Paymaster

import { PaymasterClient } from '@cinaconnect/aa-sdk';

const paymaster = new PaymasterClient({
  url: 'https://paymaster.example.com',
  sponsorType: 'gasless',
});

const sponsored = await paymaster.sponsor({
  userOperation: userOp,
  entryPoint: '0x...',
  chainId: 1,
});

Bundler

import { BundlerClient } from '@cinaconnect/aa-sdk';

const bundler = new BundlerClient({
  url: 'https://bundler.example.com',
});

const { userOpHash } = await bundler.sendUserOperation(userOp);

API

SmartAccount

| Method | Description | |--------|-------------| | create(config) | Create a new smart account | | getAddress() | Get the account address | | getState() | Get account state | | execute(to, value, data) | Execute a single transaction | | executeBatch(transactions) | Execute batch transactions | | sign(userOp) | Sign a UserOperation | | buildUserOperation(txs) | Build a UserOperation | | getNonce() | Get the current nonce |

SmartAccountFactory

| Method | Description | |--------|-------------| | computeAddress(owner, salt?) | Compute account address | | deploy(owner, salt?) | Deploy a new account | | isDeployed(address) | Check if deployed |

PaymasterClient

| Method | Description | |--------|-------------| | sponsor(request) | Sponsor a user operation | | getGasLimits(userOp) | Get gas limits | | getBalance() | Get paymaster balance | | canSponsor(request) | Check if can sponsor |

BundlerClient

| Method | Description | |--------|-------------| | sendUserOperation(userOp) | Send user op to bundler | | estimateUserOperationGas(userOp) | Estimate gas | | getUserOperationStatus(hash) | Get op status | | getSupportedEntryPoints() | Get supported entry points | | fillUserOperationDefaults(userOp) | Fill default values |

License

MIT