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

@bloxchain/contracts

v1.0.0

Published

Library engine for building enterprise grade decentralized permissioned applications

Readme

@bloxchain/contracts

npm version License: MPL-2.0 Solidity

Bloxchain Protocol smart contracts – state abstraction and core components for building on the Bloxchain Protocol.

The core protocol (contracts/core/) has been independently audited by Nethermind. Report and scope: audits/nethermind on GitHub. Pre-mainnet today; mainnet deployment coming soon. Review release notes and pin an exact version before production use.

Requirements

  • Node.js: >= 18.0.0 (for tooling; Solidity has no runtime dependency)
  • Solidity: 0.8.x (0.8.34 recommended)
  • Compilers: Foundry, Hardhat, or Truffle

Installation

npm install @bloxchain/contracts

Usage

Import contracts in your Solidity files. All contracts live under @bloxchain/contracts/core/:

import "@bloxchain/contracts/core/base/BaseStateMachine.sol";
import "@bloxchain/contracts/core/security/SecureOwnable.sol";
import "@bloxchain/contracts/core/access/RuntimeRBAC.sol";
import "@bloxchain/contracts/core/execution/GuardController.sol";
import "@bloxchain/contracts/core/lib/utils/SharedValidation.sol";
import "@bloxchain/contracts/core/lib/interfaces/IDefinition.sol";

Foundry: No remapping needed; the package exposes core/ at root (lib, base, access, execution, security live inside it).
Hardhat / Truffle: Resolve @bloxchain/contracts from node_modules as usual.

Contracts

Core contracts

| Contract | Description | |----------|-------------| | BaseStateMachine | Foundation state machine for all blox contracts | | SecureOwnable | Multi-role security with time-locked operations | | RuntimeRBAC | Dynamic role-based access control | | GuardController | Execution workflows and time-locked transactions |

Templates and examples

Templates (e.g. AccountBlox, CopyBlox) and example applications (SimpleVault, SimpleRWA20) live in the main repository under contracts/examples/. They are not included in this npm package. See the main repo for full documentation and examples.

Dependencies

This package declares:

  • @openzeppelin/contracts: 5.6.1
  • @openzeppelin/contracts-upgradeable: 5.6.1

Install them in your project if your tooling does not resolve transitive dependencies.

Versioning and stability

This package follows Semantic Versioning. Stable releases publish to npm latest; see CHANGELOG.md. Pin the exact version in production and review release notes before upgrading.

Security

  • Vulnerability reporting: Do not open public GitHub issues for security vulnerabilities. See the Security Policy for reporting instructions (e.g. [email protected]).
  • Audit status: Core protocol (contracts/core/) audited by Nethermind (PDF). This npm package does not include the PDF; verify the audited commit in the engagement README. Follow your own deployment, upgrade, and operational review before production use.

Support and links

Repository

Part of Bloxchain Protocol. For full documentation, architecture, and examples, see the main repository.

License

MPL-2.0 (Mozilla Public License 2.0). See the LICENSE file in the main repository.