Skip to content

Installation Guide

Prerequisites

  • Rust (latest stable)
  • Python 3.8 or higher
  • Node.js 16 or higher

API-specific Installation

Choose the APIs you need for your project:

Autonomi Client

# Note: Package not yet published to npm
# Clone the repository and build from source
git clone https://github.com/dirvine/autonomi.git
cd autonomi
npm install
pip install autonomi
# Add to Cargo.toml:
[dependencies]
autonomi = "0.3.1"

Ant Node

pip install antnode
[dependencies]
ant-node = "0.3.2"

BLS Threshold Crypto

pip install blsttc
[dependencies]
blsttc = "8.0.2"

Self Encryption

pip install self-encryption
[dependencies]
self_encryption = "0.28.0"

Verifying Installation

Test your installation by running a simple client initialization:

import { Client } from 'autonomi';

const client = await Client.initReadOnly();
console.log('Client initialized successfully');
from autonomi import Client

client = Client.init_read_only()
print('Client initialized successfully')
use autonomi::Client;

let client = Client::new_local().await?;
println!("Client initialized successfully");

Next Steps