# @celo/connect

> Light Toolkit for connecting with the Celo network

Latest version **8.0.0** (published 2026-06-15) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @celo/connect
pnpm add @celo/connect
yarn add @celo/connect
bun add @celo/connect
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; no vulnerabilities; has provenance; high maintenance score; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 8.0.0 |
| Published | 2026-06-15 |
| First published | 2020-10-19 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=20 |
| Dependencies | 7 |
| Unpacked size | 113 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 44 |
| Author | Celo |
| Maintainers | app-tooling, jcortejoso, alvarof2, pahor |
| Keywords | celo, blockchain |

## Links

- npm: https://www.npmjs.com/package/@celo/connect
- Repository: https://github.com/celo-org/developer-tooling
- Homepage: https://docs.celo.org/developer/tools
- Issues: https://github.com/celo-org/developer-tooling/issues
- npm.io page: https://npm.io/package/@celo/connect

## Dependencies (7)

- [utf8](https://npm.io/package/utf8.md) 3.0.0
- [viem](https://npm.io/package/viem.md) ^2.33.2
- [debug](https://npm.io/package/debug.md) ^4.1.1
- [@celo/base](https://npm.io/package/@celo/base.md) ^7.0.3
- [@celo/utils](https://npm.io/package/@celo/utils.md) ^8.0.3
- [@types/utf8](https://npm.io/package/@types/utf8.md) ^2.1.6
- [@types/debug](https://npm.io/package/@types/debug.md) ^4.1.5

## Recent versions

- 8.0.0 (latest) — 2026-06-15
- 7.0.0-beta.1 (beta) — 2025-06-05
- 5.2.0-contracts-11-post-audit.0 (contracts-11-post-audit) — 2024-02-28
- 5.1.2-contracts-11-pre.0 (contracts-11-pre) — 2024-02-07
- 2.2.0-alpha.2 (alpha) — 2022-09-28
- 2.0.0-rc.3 (rc) — 2022-04-26
- 1.2.0 (c78ae096d114d88107cc206afcc5150d0f5b6671) — 2021-04-22
- 1.1.0-beta.1 (ced66240c06781fe305799c6eb6325a75e4cab4a) — 2021-03-06
- 1.0.2-beta-1 (9d0893f37d953f0a37c362e1c46257fd1a1b6912) — 2021-02-11
- 1.0.2-beta (cf26898f49ebfcd9ec669f7c466c57810565007d) — 2021-02-04
- 1.0.1 (d532d06f60999e0ed951839cc0cff9e0abf4d505) — 2021-01-21
- 1.0.0-beta4 (a08a4e5179745cf824b6d8410a272b8263d0a386) — 2021-01-11
- 1.0.0-beta (a640ba0daa8e644ea593c01b30f32943778cd0f6) — 2020-11-26
- 7.0.0 — 2025-07-10
- 7.0.0-beta.0 — 2025-04-24
- … 94 more at https://npm.io/package/@celo/connect/versions

## README

# @celo/connect

*Connect to the Celo Blockchain.*  `Connection` provides the core of what you need to interact with Celo blockchain. The Core Difference between it and ContractKit is that it provides zero Contract Wrappers, and therefore leaves out convenience methods for example for setting FeeCurrency, or getting configs.

## How we work

We are a GitHub-first team, which means we have a strong preference for communicating via GitHub. 
Please use GitHub to:

🐞 [File a bug report](https://github.com/celo-org/developer-tooling/issues/new/choose)

💬 [Ask a question](https://github.com/celo-org/developer-tooling/discussions)

✨ [Suggest a feature](https://github.com/celo-org/developer-tooling/issues/new/choose)

🧑‍💻 [Contribute!](/CONTRIBUTING.md)

🚔 [Report a security vulnerability](https://github.com/celo-org/developer-tooling/issues/new/choose)

> [!TIP]
> 
> Please avoid messaging us via Slack, Telegram, or email. We are more likely to respond to you on 
> GitHub than if you message us anywhere else. We actively monitor GitHub, and will get back to you shortly 🌟

## Examples

### Basic

```typescript
import { Connection } from '@celo/connect'

const connection = new Connection('YOUR_RPC_URL')
```

For a raw transaction:

```ts
import { parseEther } from 'viem'

const oneCelo = parseEther('1')

const tx = connection.sendTransaction({
  from: myAddress,
  to: someAddress,
  value: oneCelo,
})
const hash = await tx.getHash()
const receipt = await tx.waitReceipt()
```

---
_Source: https://npm.io/package/@celo/connect · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
