Skip to content

wx store

Offline operations require exclusive ownership; stop the daemon and official client first

wx store attach

Attach a supported stopped official profile in place

Argument or flagTakesWhat it does
--pathrequired, takes <PATH>Stopped official profile home or account folder to use in place
--source-stoppedrequired, switchConfirm the official client is stopped; wx cannot check this for you

wx store bind-identity

Bind an account to supported stopped profile identity files

Argument or flagTakesWhat it does
--format-key-filerequired, takes <FORMAT_KEY_FILE>Private file holding the 16-byte MMKV format key
--mmkv-storerequired, takes <MMKV_STORE>Official profile’s MMKV identity store file, inside the selected profile
--official-client-stoppedrequired, switchConfirm the official client is stopped; wx cannot check this for you

wx store bind-keys

Register a verified key file for the selected account

Argument or flagTakesWhat it does
--keys-filerequired, takes <KEYS_FILE>Private key file for this profile, such as one from wx profiles keys export

wx store create

Create an offline account slot

Argument or flagTakesWhat it does
<ID>position 1, requiredID for the new offline account slot

wx store derive-keys

Derive profile keys from an authorized password file

Argument or flagTakesWhat it does
--password-filerequired, takes <PASSWORD_FILE>Private file holding the account password as exactly 32 raw bytes
--profilerequired, takes <PROFILE>Stopped account folder, the one containing db_storage, to derive keys for
--source-stoppedrequired, switchConfirm the official client is stopped; wx cannot check this for you

wx store enable-writes

Enable supported official-profile writes for a stopped client

Argument or flagTakesWhat it does
--format-key-filerequired, takes <FORMAT_KEY_FILE>Private file holding the 16-byte MMKV format key
--mmkv-storerequired, takes <MMKV_STORE>Official profile’s MMKV identity store file, inside the selected profile
--official-client-stoppedrequired, switchConfirm the official client is stopped; wx cannot check this for you
--own-usernamerequired, takes <OWN_USERNAME>WeChat username of the account; it must match the logged-in account

wx store export

Copy an owned stopped profile to a new destination

Argument or flagTakesWhat it does
--allow-incompleteswitchCopy even when saved changes have not reached the official files; gaps are reported
--destinationrequired, takes <DESTINATION>New folder to copy the profile into; its parent must exist but it must not
--source-stoppedrequired, switchConfirm the official client is stopped; wx cannot check this for you

wx store import

Copy a supported stopped profile into the local store

Argument or flagTakesWhat it does
--sourcerequired, takes <SOURCE>Stopped official profile home or account folder to copy into the store
--source-stoppedrequired, switchConfirm the official client is stopped; wx cannot check this for you

wx store list

List accounts in the local daemon store

wx store recover-projection

Replay saved local profile writes without sending or downloading

wx store restore-credentials

Restore saved credentials from an authorized local file

Argument or flagTakesWhat it does
--cursor-filetakes <CURSOR_FILE>Private file with the raw sync cursor to restore along with the login state
--filerequired, takes <FILE>Private file with the saved login state to restore

wx store schema

Inspect the selected account’s official database schemas

wx store usage

Show the selected account’s sidecar size, largest record families and the unfinished work retention keeps whole