  A general and local reactive boundary condition (RBC) for studying
first-order equilibrium reactions using the lattice Boltzmann method (LBM) is
presented. Its main characteristics are accurate reproduction of wall
diffusion, invariance to the wall and grid orientation, and absence of
nonphysical artefacts. The scheme is successfully tested for different
benchmark cases considering diffusion, advection, and reactions of fluids at
solid-liquid interfaces. Unlike other comparable RBCs from the literature, the
novel scheme is valid for a large range of P\'eclet and Damk\"ohler numbers,
and shows realistic pattern formation during precipitation. In addition,
quantitative results are in good accordance with analytical solutions and
values from literature. Combining the new RBC with the rest fraction method,
P\'eclet-Reynolds ratios of up to 1000 can be achieved. Overall, the novel RBC
accurately models first-order reactions, is applicable for complex geometries,
and allows efficiently simulating dissolution and precipitation phenomena in
fluids at the pore scale.
