Ckb Wallet SDK
  • What is Ckb Wallet SDK?
  • Getting Started
    • Installation
    • Launch your nervos local node
    • Instantiate a connection service
    • Instantiate your wallet service
    • Next steps
  • Examples
    • Introduction
    • How to run them
    • Examples code
      • Create wallet
      • Import wallet error
      • Import wallet
      • Wallet balance
      • Get transactions
      • Send transaction
      • Get DAO Statistics
      • Get DAO unlockable amounts
      • Deposit in DAO
      • Withdraw or unlock from DAO
      • Send Tokens
      • Issue Tokens
  • Usage
    • Introduction
    • Creating a connection for each network
    • Wallet loader
    • Use your wallet where necessary
  • Services Documentation
    • Preface
    • WalletService
      • Static methods
      • Common methods
      • CKB methods
      • DAO methods
      • Nft methods
      • Token methods
    • ConnectionService
    • Logger
Powered by GitBook
On this page
  1. Services Documentation
  2. WalletService

Static methods

The statics methods in the wallet service are to create a mnemonic and to validate the correctness of a mnemonic:

// Creates a new mnemonic
static createNewMnemonic(): string;

// Validates a mnemonic
static validateMnemonic(mnemo: string): boolean;
PreviousWalletServiceNextCommon methods

Last updated 3 years ago