On-chain anchoring
Every DigStore store is a singleton on Chia mainnet. There is no offline mode: init mints the singleton and commit anchors each new deployment root on-chain. Both operations block until the transaction is confirmed and spend real XCH.
Wallet seed setup
Before you can create or update a project you need a funded wallet seed.
Import or generate
# Import an existing BIP-39 mnemonic (prompted if --mnemonic is omitted)
digstore seed import
digstore seed import --mnemonic "word1 word2 … word24"
# Generate a fresh mnemonic (shown once — back it up)
digstore seed generate # 24 words by default
digstore seed generate --words 12 # or 12 | 15 | 18 | 21 | 24
The seed is encrypted with Argon2id + AES-256-GCM and written to ~/.dig/seed.enc.
Unlock session and TTL
Importing or generating a seed unlocks it for the current session. Subsequent commands reuse the cached unlock until the TTL expires. The TTL is set in ~/.dig/config.toml (unlock_ttl). To lock early:
digstore lock
Non-interactive passphrase
Set DIGSTORE_PASSPHRASE in the environment to supply the passphrase without a prompt — useful in CI or scripts:
DIGSTORE_PASSPHRASE=hunter2 digstore commit -m "release"