Expand description

CLI for creating Aptos resource accounts.

Note: this CLI will be changed in the near future, since resource accounts are still being developed in aptos-core.

Setup

To use this CLI, you may install this crate via Cargo:

cargo install aptos-create-resource-account

You should also have an Aptos CLI configuration file, which can be created using:

aptos init

Usage

Run the following command to create a new resource account:

aptos-create-resource-account my-account

This will create a profile in your .aptos/config.yaml with the name my-account. You can then use this profile to publish modules, run scripts, etc.

Structs

An individual profile

Command to create a new account on-chain

An individual profile

Constants

Module address of the deployer.

Functions

Gets the address of a resource account.