asimov-near-module

0.0.0 • Public • Published

ASIMOV NEAR Module

License Package on Crates.io Package on PyPI Package on RubyGems Package on NPM

ASIMOV module for data import from the NEAR Protocol blockchain network.

✨ Features

  • Imports structured data from NEAR Protocol blocks and transactions.
  • Supports both the mainnet and testnet environments.
  • Collects the raw JSON data via the edge-cached neardata.xyz API.
  • Constructs a semantic knowledge graph based on the KNOW ontology.
  • Supports plain JSON output as well as RDF output in the form of JSON-LD.
  • Distributed as a standalone static binary with zero runtime dependencies.

🛠️ Prerequisites

  • Rust 1.85+ (2024 edition) if building from source code

⬇️ Installation

Installation from PyPI

pip install -U asimov-near-module

Installation from RubyGems

gem install asimov-near-module

Installation from NPM

npm install -g asimov-near-module

Installation from Source Code

cargo install asimov-near-module

👉 Examples

Fetching Testnet Blocks

asimov-near-fetcher near://testnet/100000000

Fetching Mainnet Blocks

asimov-near-fetcher near://mainnet/100000000

📚 Reference

Installed Binaries

  • asimov-near-fetcher: collects JSON data from the neardata.xyz API
  • asimov-near-importer: collects and transforms JSON into JSON-LD (TBD)

👨‍💻 Development

git clone https://github.com/asimov-modules/asimov-near-module.git

Share on X Share on Reddit Share on Hacker News Share on Facebook Share on LinkedIn

Readme

Keywords

Package Sidebar

Install

npm i asimov-near-module

Weekly Downloads

3

Version

0.0.0

License

Unlicense

Unpacked Size

5.91 kB

Total Files

7

Last publish

Collaborators

  • asimov-modules