Skip to content

A collection of libraries and tools for building software around the Internet Computer, in Rust.

License

Notifications You must be signed in to change notification settings

dfinity/agent-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a96022b · Jan 21, 2025
Jan 15, 2025
Sep 19, 2022
Dec 20, 2024
Sep 14, 2023
Oct 17, 2024
Oct 17, 2024
Jan 15, 2025
Oct 17, 2024
Jan 15, 2025
Dec 30, 2024
Jul 23, 2024
May 12, 2023
Nov 21, 2022
Aug 18, 2020
Jan 21, 2025
Jan 21, 2025
Jan 21, 2025
Oct 28, 2024
Nov 15, 2021
Dec 20, 2024

Repository files navigation

DFINITY's Rust Agent Repository

GitHub Workflow Status

Contributing

Please follow the guidelines in the CONTRIBUTING.md document.

Building

We use cargo to build this repo. Make sure you have rust stable installed. To build the repo:

cargo build

Testing

There are two suites of tests that can be executed from this repo; the regular cargo tests and the ic-ref tests. In order to run the ic-ref tests, you will need a running local reference server. If you do not have one, those tests will be ignored.

Release

To release, increase the version number in all crates and run cargo build to update the lock file.

Packages

This repo has multiple packages in its Cargo workspace.

Package Name Links Description
ic-agent README DOC The ic-agent is a library to talk directly to the Replica.
ic-utils README DOC A library of utilities for managing calls and canisters.
icx README A command line utility to use the agent. Not meant to be published, only available in this repo for tests.
ref-tests A package that only exists to run the ic-ref tests with the ic-agent as the connection.