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

@chorus-one/monad

v1.0.3

Published

All-in-one toolkit for building staking dApps on monad network

Readme

Chorus One SDK: Monad

All-in-one toolkit for building staking dApps on Monad network.

Documentation

For detailed instructions on how to set up and use the Chorus One SDK for Monad staking, please visit our main documentation.

Installation

In the project's root directory, run the following command:

npm install @chorus-one/monad

Usage

Here is a basic example of how to use the Chorus One SDK to build, sign, and broadcast a staking transaction using Fireblocks as the signer.

// Configuration
// -------------

import { MonadStaker } from '@chorus-one/monad'

const staker = new MonadStaker({
  rpcUrl: 'https://testnet-rpc.monad.xyz'
})

await staker.init()

// Building the staking transaction
// ---------------------------------

const delegatorAddress = '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045'
const validatorId = 1 // Unique identifier for the validator
const amount = '1000' // Amount in MON

const { tx } = await staker.buildStakeTx({
  validatorId,
  amount
})

// Signing the transaction with Fireblocks
// ----------------------------------------

import { FireblocksSigner } from '@chorus-one/signer-fireblocks'

const signer = new FireblocksSigner({...})
await signer.init()

const { signedTx } = await staker.sign({
  signer,
  signerAddress: delegatorAddress,
  tx
})

// Broadcasting the transaction
// ----------------------------

const { txHash } = await staker.broadcast({ signedTx })

// Tracking the transaction
// ------------------------

const { status, receipt } = await staker.getTxStatus({ txHash })

console.log(status) // 'success'

Running Integration Tests

Integration tests make multiple RPC calls and may hit rate limits (HTTP 429 errors). To avoid this:

# Run tests one by one using .only
it.only('should stake and increase pending stake', async function () { ... })

Change describe.skip to describe in the test file, then add .only to individual tests to run them separately.

Important: Withdrawal ID Management

The withdrawalId must be unique across all withdrawal requests for a given delegator-validator pair.

If an unstake or withdraw test fails due to Error: Withdrawal request ID 1 already exists for this validator, you must update the withdrawalId before rerunning the test.

Example:

// If this fails after creating a withdrawal request
const withdrawalId = 1
const txHash = await testStaker.unstake(amount, withdrawalId)

// Update the withdrawalId before retrying
const withdrawalId = 2 // Use a different ID
const txHash = await testStaker.unstake(amount, withdrawalId)

This applies to both the unstake and withdraw operations in the integration tests.

License

The Chorus One SDK is licensed under the Apache 2.0 License. For more detailed information, please refer to the LICENSE file in the repository.