# ala-json2

> Information about the ALA blockchain in the JSON file format.

Latest version **2.0.2** (published 2019-12-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install ala-json2
pnpm add ala-json2
yarn add ala-json2
bun add ala-json2
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.2 |
| Published | 2019-12-17 |
| First published | 2019-12-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 16.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | aladinnetwork |
| Keywords | ALADIN, Blockchain |

## Links

- npm: https://www.npmjs.com/package/ala-json2
- Repository: https://github.com/ALADIN-Network/ala-json2
- Homepage: https://github.com/ALADIN-Network/ala-json2#readme
- Issues: https://github.com/ALADIN-Network/ala-json2/issues
- npm.io page: https://npm.io/package/ala-json2

## Recent versions

- 2.0.2 (latest) — 2019-12-17

## README

[![Build Status](https://travis-ci.org/ALAIO/ala-json2.svg?branch=master)](https://travis-ci.org/ALAIO/ala-json2)
[![NPM](https://img.shields.io/npm/v/ala-json2.svg)](https://www.npmjs.org/package/ala-json2)

# About

This repository contains information about the ALA blockchain in the JSON file format.  The JSON format is used to help keep this information parsable and available to other programming languages.

# API

[./api/v1/chain.json](./api/v1/chain.json)

Run [alad](https://github.com/ALADIN-Network/ala) or direct requests to a public node.

Usage:
```bash
curl http://127.0.0.1:8888/v1/chain/get_info
echo '{"block_num_or_id": 1}' | curl http://127.0.0.1:8888/v1/chain/get_block -d @-
```

# Operations

[./schema/generated.json](./schema/generated.json)

These operations update the blockchain.  Because these are signed and stored in
binary format a serialization and deserialization library is needed.

* [alafcbuffer20](https://github.com/ALADIN-Network/alafcbuffer20) - JavaScript

# Updating Generated Types

```bash
./update_types.sh
```

# Environment

JSON

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