# Overview

The BitBadges SDK is a bundle of TypeScript libraries that provide all the tools and functions needed for you to build your own frontend or interact with the BitBadges API, blockchain, and indexer.

GitHub: <https://github.com/bitbadges/bitbadgesjs>

Full Documentation: <https://bitbadges.github.io/bitbadgesjs/>

```
npm install bitbadges
```

This library provides miscellaneous functionality to help you interact with BitBadges, such as types, API routes, managing metadata requests, logic with ID ranges and balances, etc.

> **Building a frontend?** Start with the [React & Next.js Quickstart](/for-developers/bitbadges-sdk/react-quickstart.md) — it walks through install → connect wallet → query a collection → sign and broadcast in one page.

## Address Conversion

The SDK includes address conversion utilities to convert between Ethereum addresses (0x-prefixed) and BitBadges addresses (bb-prefixed). See [Address Conversions](/for-developers/bitbadges-sdk/common-snippets/address-conversions.md) for more details.

```typescript
import { convertToBitBadgesAddress, convertToEthAddress } from 'bitbadges';

const bitbadgesAddress = convertToBitBadgesAddress(address);
const ethAddress = convertToEthAddress(bitbadgesAddress);
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bitbadges.io/for-developers/bitbadges-sdk/overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
