SegWit BIP84 Receive Address Workflow
BIP84 describes native SegWit account derivation for P2WPKH addresses. Receive addresses belong to the external derivation branch while change addresses belong to the internal branch.
Implementation approach
Maintain a monotonically advancing receive index, record the derivation path, and test address generation on testnet. Validate that the output address matches the intended network.
Engineering checks
Before treating the integration as complete, confirm that inputs are validated, errors are explicit, and all sensitive operations are restricted to authorized callers. Repeat the workflow on a clean test environment and inspect both successful and failed requests.
Safety and limitations
An address is not evidence of received funds; chain and mempool observations are separate.
Related reference
Continue with the [related Bitcoin reference](/wiki/bip84-native-segwit) for definitions and background.
