Beginning with the Schrödinger equation for $N$ particles in one dimension interacting via a $\delta$-function potential
$$\left(-\sum_{i=1}^{N}\frac{\partial^2}{\partial x_i^2}+2c\sum_{<i,j>}\delta(x_i-x_j)\right)\psi=E\psi$$
Why the boundary condition equivalent to the $\delta$ function potential is
$$\left(\frac{\partial}{\partial x_j}-\frac{\partial}{\partial x_k}\right)\psi |_{x_j=x_{k+}}-\left(\frac{\partial}{\partial x_j}-\frac{\partial}{\partial x_k}\right)\psi |_{x_j=x_{k-}}=2c\psi |_{x_j=x_k}.$$