asimov-near-module

Crates.ioasimov-near-module
lib.rsasimov-near-module
version0.0.2
created_at2025-05-29 16:16:57.283257+00
updated_at2025-06-19 17:33:32.575547+00
descriptionASIMOV module for data import from the NEAR Protocol blockchain network.
homepagehttps://github.com/asimov-modules
repositoryhttps://github.com/asimov-modules/asimov-near-module
max_upload_size
id1693964
size61,957
rust (github:asimov-modules:rust)

documentation

README

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

Commit count: 10

cargo fmt