---
title: "shared/primitives"
description: "Shared primitive types, Brotli helpers, bundle types, and Solidity bindings used across Base."
source: https://basehub.org/crates/shared/primitives/
---
import { LinkCard } from '@astrojs/starlight/components';

## Overview

The `shared/primitives` sub-crate (`base-primitives`) is part of the [shared crate group](/crates/shared/overview/).

It defines the workspace-wide primitive types and ships Brotli helpers, bundle types, and Solidity contract bindings used by tests and runtime code.

## Source

<LinkCard title="View source on GitHub" href="https://github.com/base/base/tree/main/crates/shared/primitives" />
