ASIMOV NEAR Module
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