Blog 📚Blog 📚 (opens in a new tab)Bulk Download 🤖Bulk Download 🤖 (opens in a new tab)
  • Welcome to GenLayer
  • Discover the Protocol
    • What Makes GenLayer Different?
    • Optimistic Democracy: How GenLayer Works
    • Typical Use Cases
    • Why We Are Building GenLayer?
    • Who is GenLayer for?
    • What Are Intelligent Contracts?
    • Core Concepts
      • Validators
      • GenVM
      • Optimistic Democracy
        • Equivalence Principle
        • Appeal Process
        • Finality
        • Staking
        • Slashing
        • Unstaking
      • Rollup Integration
      • Non-deterministic Operations
      • LLM Integration
      • Web Data Access
      • Transactions
        • Types of Transactions
        • Transaction Statuses
        • Transaction Execution
        • Transaction Encoding Serialization and Signing
      • Economic Model
      • Accounts and Addresses
  • Build on GenLayer
      • Introduction to Intelligent Contracts
        • Features
        • Storage
        • Error Handling
        • Upgradability
        • Balances
        • Interacting with Intelligent Contracts
        • Interacting with EVM Contracts
        • Vector Storage
        • Debugging
        • Special Methods
        • Random
        • Non-determinism
        • Calling LLMs
        • Web Access
      • Development Setup
      • Your First Contract
        • Address Type
        • Primitive Types
        • Collection Types
        • Dataclasses
      • Storage
      • Your First Intelligent Contract
      • Equivalence Principle
      • Debugging
      • Deploying
        • Deployment Methods
        • Network Configuration
        • CLI Deployment
        • Deploy Scripts
      • Prompt & Data Techniques
        • Prompt Injection
        • Storage
        • User Storage
        • LLM Hello World
        • LLM Hello World Non-Comparative
        • Wizard of Coin
        • Fetch Web Content
        • Fetch Github Profile
        • Github Profile Projects
        • Github Profile Summary
        • Football Prediction Market
        • Vector Store Log Indexer
        • GenLayer CLI
        • GenLayer Studio
          • Loading a Contract
          • Deploying a Contract
          • Reading the Contract State
          • Executing a Transaction
          • Monitoring Node Logs
          • Validators
          • Providers
          • Limitations
          • Reset the Studio
          • Troubleshooting
          • Development Tips
            • Adding Custom LLM Providers
      • Ideas
      • Architecture Overview
      • DApp Development Workflow
      • GenLayer JS
      • Querying a Transaction
      • Reading Data from Intelligent Contracts
      • Writing Data to Intelligent Contracts
      • Testing
      • Project Boilerplate
    • Staking Contract Guide
    • Setup Guide
    • Monitoring & Telemetry
    • System Requirements
    • GenVM Configuration
    • Upgrade Guide
    • Changelog
  • API References
    • GenLayer CLI
        • init
        • up
        • stop
        • new
        • update
          • update ollama
        • config
          • config get
          • config reset
          • config set
        • network
          • network info
          • network list
          • network set
        • deploy
        • call
        • write
        • schema
        • code
        • receipt
        • trace
        • appeal
        • appeal-bond
        • account
          • account create
          • account export
          • account import
          • account list
          • account lock
          • account remove
          • account send
          • account show
          • account unlock
          • account use
        • staking
          • staking active-validators
          • staking banned-validators
          • staking delegation-info
          • staking delegator-claim
          • staking delegator-exit
          • staking delegator-join
          • staking epoch-info
          • staking prime-all
          • staking quarantined-validators
          • staking set-identity
          • staking set-operator
          • staking validator-claim
          • staking validator-deposit
          • staking validator-exit
          • staking validator-history
          • staking validator-info
          • staking validator-join
          • staking validator-prime
          • staking validators
          • staking wizard
        • localnet
          • localnet validators
            • localnet validators count
            • localnet validators create
            • localnet validators create-random
            • localnet validators delete
            • localnet validators get
            • localnet validators update
      • genlayer Commands
    • GenLayerJS
      • Contracts
      • Transactions
      • Staking
    • GenLayerPY
      • API Reference
    • GenLayer Test
      • Integration Testing
      • Direct Mode
      • glsim
    • GenLayer Node API
        • gen_call
        • gen_getContractSchema
        • gen_getTransactionReceipt
        • gen_getContractState
        • gen_getContractCode
        • gen_dbg_ping
        • gen_dbg_trie
        • gen_dbg_traceTransaction
        • balance
        • health
        • metrics
    • GenVM Linter
    • GenVM SDK ↗ (opens in a new tab)
    • GenLayer Labs
    • Heurist
    • io.net
    • Comput3
    • Chutes
    • Morpheus
    • Libertai
  • FAQ

On This Page

  • Usage
  • Arguments
  • Options
Question? Give us feedback → (opens in a new tab)Edit this page
API References
GenLayer CLI
Accounts
account
account use

Set the active account

Usage

$ genlayer account use [options] <name>

Arguments

  • <name>

Options

ShortLongDescriptionRequiredDefault
-h--helpdisplay help for commandNo
account unlockstaking

GenLayer Documentation