Skip to content

asimov-modules/asimov-near-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

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

About

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

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •