Quick Start Guide
This section will help you get started on your Autonomi adventure as quickly as possible. It will walk you through setting up your development environment and writing a simple Autonomi app.
My first App
Add Autonomi as a Dependency
cargo add autonomi
# Tokio is used for the async runtime, but other ones can be used as well.
cargo add tokio# uv is used to create the virtual environment, but other ones can be used as well.
uv venv
uv pip install autonomi-clientnpm install @withautonomi/autonomiSetup a Client
use autonomi::Client;
#[tokio::main]
async fn main() {
let client = Client::init()
.await
.expect("Could not initialize the client");
}from autonomi_client import Client
import asyncio
async def main():
client = await Client.init()
asyncio.run(main())import { Client } from '@withautonomi/autonomi'
const client = await Client.init()Download a Dog Picture
Last updated