
Security News
RubyGems Adds Cooldown Feature to Bundler for Newly Published Gems
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.
@ethernauta/core
Advanced tools
[](https://deno.bundlejs.com/?q=@ethernauta/core&treeshake=[*])
This module is the canonical home of the primitive Valibot schemas used everywhere else in the monorepo — addresses, fixed-width byte sequences, uintN sizes, the 32-byte hash type, and a few small protocol primitives. Every other package depends on it; nothing here depends on the rest of the library.
The shapes mirror the Ethereum execution-apis base types. A schema in @ethernauta/core is the single source of truth — feature packages compose these primitives instead of redeclaring regexes.
Every export pairs a xxxSchema Valibot schema with an Xxx type inferred via v.InferOutput. The idiom across the monorepo is:
import { parse } from "valibot"
import { addressSchema } from "@ethernauta/core"
function transfer(_to: string) {
const to = parse(addressSchema, _to) // validated `Address`
// …
}
import { type Address, addressSchema, addressesSchema } from "@ethernauta/core"
// `addressSchema` — single 0x-prefixed 20-byte address
// `addressesSchema` — array of addresses
import { type Hash32, hash32Schema } from "@ethernauta/core"
// `hash32Schema` — 0x-prefixed 32-byte hash (transaction / block / topic)
import {
type Byte, byteSchema,
type Bytes, bytesSchema,
type BytesMax32, bytesMax32Schema,
type Bytes4, bytes4Schema,
type Bytes8, bytes8Schema,
type Bytes32, bytes32Schema,
type Bytes48, bytes48Schema,
type Bytes64, bytes64Schema,
type Bytes65, bytes65Schema,
type Bytes256, bytes256Schema,
} from "@ethernauta/core"
// `byteSchema` — single 0x-prefixed byte
// `bytesSchema` — arbitrary 0x-prefixed byte string
// `bytesMax32Schema` — 0x-prefixed byte string ≤ 32 bytes
// `bytesNSchema` — fixed-width N-byte string (4, 8, 32, 48, 64, 65, 256)
import {
type Uint, uintSchema,
type Uint8, uint8Schema,
type Uint16, uint16Schema,
type Uint24, uint24Schema,
type Uint32, uint32Schema,
type Uint40, uint40Schema,
type Uint48, uint48Schema,
type Uint56, uint56Schema,
type Uint64, uint64Schema,
type Uint96, uint96Schema,
type Uint128, uint128Schema,
type Uint160, uint160Schema,
type Uint192, uint192Schema,
type Uint224, uint224Schema,
type Uint256, uint256Schema,
} from "@ethernauta/core"
// One schema per ABI uintN width. All accept 0x-prefixed
// quantities, validated against `2^N - 1`.
import { type Ratio, ratioSchema } from "@ethernauta/core"
// A 0x-prefixed fraction in [0, 1] (used by tip / cap ratios).
import { type NotFound, notFoundSchema } from "@ethernauta/core"
// The protocol's "absent" sentinel — `null` wrapped as a schema
// so JSON-RPC responses that may resolve to `null` (missing
// block, missing receipt) can be composed with `union([…, notFoundSchema])`.
FAQs
Primitive Valibot schemas for Ethernauta — addresses, bytes, hashes, uints, hex.
The npm package @ethernauta/core receives a total of 639 weekly downloads. As such, @ethernauta/core popularity was classified as not popular.
We found that @ethernauta/core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.