npm.io
2.0.2 • Published 6 years ago

ala-json2

Licence
MIT
Version
2.0.2
Deps
0
Size
17 kB
Vulns
0
Weekly
0

Build Status NPM

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

Run alad or direct requests to a public node.

Usage:

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

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

Updating Generated Types

./update_types.sh

Environment

JSON

Keywords