Placing and destroying blocks using Minecraft commands [duplicate]

If you are on PE the the command is: /give steve stone 1 0 {"can_place_on":{"blocks":["chest"]}} or if on Java /give steve stone 1 0 {CanPlaceOn:["chest"]}