Skip to main content

Aptos Rust SDK

Installing Rust SDK

Aptos provides an official Rust SDK in the Aptos-core GitHub repository. To use the Rust SDK, add the following dependency on the git repo directly, like this:

aptos-sdk = { git = "https://github.com/aptos-labs/aptos-core", branch = "devnet" }

The source code for the official Rust SDK is available in the aptos-core GitHub repository.

Using Rust SDK

See the Developer Tutorials for code examples showing how to use the Rust SDK.