# @arkecosystem/crypto-networks

> Network configurations for the ARK Blockchain. Developed for TypeScript.

Latest version **2.0.2** (published 2026-08-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install @arkecosystem/crypto-networks
pnpm add @arkecosystem/crypto-networks
yarn add @arkecosystem/crypto-networks
bun add @arkecosystem/crypto-networks
```

## Health

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

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

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 2.0.2 |
| Published | 2026-08-19 |
| First published | 2020-10-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.1 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 0 |
| Maintainers | boldninja, itsanametwo |

## Links

- npm: https://www.npmjs.com/package/@arkecosystem/crypto-networks
- Repository: https://github.com/ArkEcosystem/typescript-crypto-networks
- Homepage: https://github.com/ArkEcosystem/typescript-crypto-networks#readme
- Issues: https://github.com/ArkEcosystem/typescript-crypto-networks/issues
- npm.io page: https://npm.io/package/@arkecosystem/crypto-networks

## Recent versions

- 2.0.2 (latest) — 2026-08-19
- 2.0.1 — 2026-08-18
- 2.0.0 — 2026-08-18
- 1.9.0 — 2026-08-17
- 1.8.2 — 2026-05-13
- 1.8.1 — 2026-05-12
- 1.8.0 — 2026-05-12
- 1.7.1 — 2026-05-06
- 1.7.0 — 2026-05-05
- 1.6.3 — 2025-05-15
- 1.6.2 — 2025-05-06
- 1.6.1 — 2023-02-01
- 1.6.0 — 2023-01-31
- 1.5.0 — 2023-01-17
- 1.4.0 — 2022-11-18
- … 6 more at https://npm.io/package/@arkecosystem/crypto-networks/versions

## README

# ARK TypeScript Crypto - Network Configurations

<p align="center">
    <img src="./banner.png" />
</p>

> Network Configurations for the ARK Blockchain. Developed for TypeScript.

## Installation

```bash
npm install @arkecosystem/crypto-networks
```

## Usage

Each network exposes its `exceptions`, `genesisBlock`, `milestones` and `network` configuration.

```ts
import { devnet, mainnet, testnet } from "@arkecosystem/crypto-networks";

mainnet.network.client.symbol; // "Ѧ"
mainnet.milestones[0].height; // 1
```

## Development

The toolchain version is pinned in [.nvmrc](.nvmrc) and used by CI.

```bash
npm ci        # install dependencies
npm run build # compile src to dist
npm run lint  # check formatting
npm run format # apply formatting
```

Network configuration lives in [src/](src/) as plain JSON; each network's `index.ts` only re-exports it.

## Releasing

Publishing is automated by [.github/workflows/publish.yml](.github/workflows/publish.yml), which runs
when a commit whose message starts with `release:` lands on `master`:

```bash
npm version 2.0.0 --no-git-tag-version   # updates package.json and package-lock.json
git commit -am "release: 2.0.0"
git push origin master
```

The workflow builds and runs `npm publish --access public`, using the `NPM_TOKEN` repository secret.
Every release publishes to the `latest` dist-tag.

## Security

If you discover a security vulnerability within this package, please send an e-mail to security@ark.io. All security vulnerabilities will be promptly addressed.

## Credits

This project exists thanks to all the people who [contribute](../../../../contributors).

## License

[MIT](LICENSE) © [ARK Ecosystem](https://ark.io)

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