Skip to content

@armada/sdk / storage / StorageNamespace

Interface: StorageNamespace ​

Defined in: src/storage/index.ts:9

Namespace key. Every store is scoped by this tuple; on open, a mismatch with the configured PoolConfig triggers a targeted reset of chain-derived state (merkle, TXOs, scan checkpoints) while preserving wallet-identity records — deletes the "stale DB after redeploy" pitfall.

Properties ​

schemaVersion ​

readonly schemaVersion: number

Defined in: src/storage/index.ts:10


chainId ​

readonly chainId: number

Defined in: src/storage/index.ts:11


poolAddress ​

readonly poolAddress: `0x${string}`

Defined in: src/storage/index.ts:12


deployBlock ​

readonly deployBlock: number

Defined in: src/storage/index.ts:13