You could start by implementing basic income as a direct replacement for minimum wage, so only people who are working would be eligible. Then you could slowly absorb other social services like welfare/etc. I'm not sure if that would be feasible or beneficial at all though.