Join our
Discord!
LogoLogo
SupraScan ExplorerStarKey WalletDiscord
MoveVM
  • Network
  • Oracles
  • Automation
  • SupraNova
  • AI Agents
MoveVM
  • Overview
  • Getting Started
    • Introduction to Docker
    • Setup Supra CLI
    • Create a Supra Account
    • Create a Move Package
      • Write a Module
      • Compile and Publish
      • Interact with a Package
    • Create a dApp with StarKey
  • Network Information
  • Token Standards
  • Learn Move 101
    • Getting Started with Move
    • Unsigned Integers in Move
    • Math Operations in Move
    • Using Vectors in Move
    • Reading Resource Data with borrow_global
    • Passing Data in Move: Value vs. Reference
    • Adding Elements with vector::push_back
    • Emitting Events with event::emit
  • Move Book
    • Getting Started
      • Modules and Scripts
      • Move Tutorial
    • Primitive Types
      • Integers
      • Bool
      • Address
      • Vector
      • Signer
      • References
      • Tuples and Unit
    • Basic Concepts
      • Local Variables and Scope
      • Equality
      • Abort and Assert
      • Conditionals
      • While, For, and Loop
      • Functions
      • Structs and Resources
      • Constants
      • Generics
      • Type Abilities
      • Uses and Aliases
      • Friends
      • Packages
      • Package Upgrades
      • Unit Tests
    • Global Storage
      • Structure
      • Operators
    • Reference
      • Standard Library
      • Coding Conventions
  • Aptos to Supra Cheatsheet
  • Ethereum to Supra Move Cheatsheet
  • TypeScript SDK
    • Guides
      • Create Supra Accounts
      • Publish a Package
    • Documentation
    • Repository
  • Rest API
    • Mainnet
      • Accounts
      • Faucet
      • Transactions
      • Block
      • View
      • Consensus
      • Events
      • Tables
    • Testnet
      • Accounts
      • Faucet
      • Transactions
      • Block
      • View
      • Events
      • Tables
  • Supra Multisig Guide
  • Binary Canonical Serialization (BCS) Standard Guide
  • Developer Resources
    • Supra Dapp Templates
    • Supra Move VS Code Extension
  • Native Oracles
    • Data Feeds (Push)
    • dVRF (Randomness)
    • Automation
    • SupraNova Bridge
Powered by GitBook

Links

  • Whitepapers
  • Bug Bounty
  • Security Audits

‎

  • Supra Dev Hub
  • Supra Labs Github
  • Entropy Foundation Github
On this page
  • Generate a new key/profile
  • Or Import an existing key/profile
  • Additional Commands
Edit on GitHub
  1. Getting Started

Create a Supra Account

Generate a key profile and view the public/private keys for use by the Supra CLI.

On May 2nd, 2025 a new version of the CLI was released. The new image (v9.0.12) introduced an improved profile feature which deprecated the key command of the previous version (v6.3.0) along with an update to the key file structure. If you have just upgraded, you must execute the following command to migrate your key files to the new version: supra profile migrate After migration, you must modify the profiles as shown in step 3.

1

Generate a new key/profile

Execute the following command to generate a new profile/set of keys.

execute me!
supra profile new accountA --network testnet
2

Or Import an existing key/profile

If you already have a private key on hand that you wish to use, you can opt to import it rather than generating a new one. To import an existing private key, use the following command:

Profile names must be unique. If you attempt to generate or import a profile using a name that has already been taken, the CLI will throw an error.

supra profile new accountA <PRIVATE_KEY> --network testnet

Additional Commands

Modify the profile: supra profile modify

The new version of profiles contain the rpc_url, faucet_url, and chain_id associated with the profile. CLI commands will use the stored values of the calling profile for the respective command parameters unless manually overwritten. The above commands to create a new profile or import an existing profile will set the initial values to that of the testnet. If you wish to use the profile on mainnet, you must modify the profile with the mainnet values. To modify a profile, use the following command with the desired network:

supra profile modify accountA --network <localnet/testnet/mainnet/custom>
Change the active profile: supra profile activate

CLI commands will be executed from the active profile.

To activate another profile, use the following command:

supra profile activate accountA
View stored profile public keys: supra profile -l

The active profile will be displayed with a (*) by the profile name.

If you wish to view existing keys within your current directory, use the following command:

supra profile -l
View stored profile private keys: supra profile -l -r

This will print the private keys of all profiles to your terminal. Make sure you are not live streaming, recording, screensharing, etc. before executing this command to prevent compromising your keys.

If you wish to view the private key of your profile(s), use the following command:

supra profile -l -r
PreviousSetup Supra CLINextCreate a Move Package

Last updated 22 days ago