ASIMOV Dataset Command-Line Interface (CLI)
🚧 We are building in public. This is presently under heavy construction.
✨ Features
- 100% free and unencumbered public domain software.
🛠️ Prerequisites
- Rust 1.81+
⬇️ Installation
Installation from Source Code
Installation via Cargo
Installation using Package Manager
Scoop
First things first, you need to add our custom scoop bucket. This needs to be done only once, so that scoop knows where to find our packages.
Now, installing ASIMOV CLI is as easy as running:
Setup
NEAR Account
If you don't have a NEAR account yet, you can create one using NEAR CLI:
Follow the prompts to complete the account creation process.
Signing transactions
To publish datasets to the ASIMOV network, you need to sign transactions with your NEAR account. The CLI supports two methods:
1. Use system keychain
If your system keychain already contains your credentials you don't need to do anything further. You will be prompted to allow access to the the signer account's private key when publishing.
Otherwise if you have a NEAR account which is not in your system keychain, you can import it to your system keychain:
Then follow the prompts and select Store the access key in my keychain when asked.
2. Use Environment Variable
If you prefer not to store your credentials in the system keychain or you're having trouble authenticating with the keychain, you can provide your private key via an environment variable:
# Get your private key if you don't have it yet
# Set the environment variable with your private key
# Run the command (no additional authentication needed)
You can also specify a different signing account using the --signer option or NEAR_SIGNER environment variable:
👉 Examples
# publish RDF data in data1.ttl and data2.nt to an on-chain repository at your-repo.testnet
📚 Reference
TBD
👨💻 Development