One half of Shylock's property will go to the person against whom Shylock plotted to take his life and the rest will be handed over to the private treasury of the state.
Shylock's life depended on the Duke's mercy. Yes, Shylock deserves the punishment, as you sow so shall you reap. He had dug a ditch for Antonio but it seems he himself fell into it.