The aim of this talk is to present a finite difference scheme associated with Hamilton-Jacobi equations with general junction conditions. On one hand, we prove its convergence towards the weak viscosity solution as the mech size tends to zero. On the other hand, we derive error estimates for junction conditions of optimal-control type.