
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
@openzeppelin/contracts-ui-builder-utils
Advanced tools
Shared, framework-agnostic utility functions for the OpenZeppelin Contracts UI Builder.
This package provides a set of shared, framework-agnostic utility functions used across the entire UI Builder ecosystem.
The goal of this package is to centralize common logic that is not tied to any specific blockchain adapter or UI framework (like React). This prevents code duplication and ensures that core functionalities like logging, configuration management, and ID generation are consistent everywhere.
AppConfigService: A singleton service responsible for loading and providing runtime configuration. It can load settings from Vite environment variables (for the builder app) or a public/app.config.json file (for exported apps), allowing for flexible configuration of RPC URLs, API keys, and other parameters.logger: A pre-configured singleton logger for consistent, leveled logging across all packages. It can be enabled, disabled, or have its level changed globally.generateId: A utility for generating unique IDs, used for form fields and other components.cn: A utility (a wrapper around clsx and tailwind-merge) for conditionally joining CSS class names, essential for building dynamic and themeable UI components with Tailwind CSS.getDefaultValueForType.utils/
βββ src/
β βββ config/ # Configuration management
β βββ logger/ # Logging utilities
β βββ ui/ # UI utility functions
β βββ validation/ # Validation and type utilities
β βββ constants/ # Shared constants
β βββ index.ts # Main package exports
βββ package.json # Package configuration
βββ tsconfig.json # TypeScript configuration
βββ tsup.config.ts # Build configuration
βββ vitest.config.ts # Test configuration
βββ README.md # This documentation
This package is a core part of the monorepo and is automatically linked via pnpm workspaces. For external use, it would be installed from the project's package registry.
pnpm add @openzeppelin/contracts-ui-builder-utils
FAQs
Shared, framework-agnostic utility functions for the OpenZeppelin Contracts UI Builder.
We found that @openzeppelin/contracts-ui-builder-utils demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Β It has 9 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.