This guide will make you a sledge that is devasting. The focus of this build is on throwing and exploding the hammer like a [Glaive].
Currently I use this weapon with a strength duration [Chroma] with all 5 red archon shards set to melee crit damage and this thing shreds any content. (This is not required for the hammer to function its just additional cake to squeeze out more damage. You can use any damage buffing ability with this setup to great effect. For example Roar [Xata]'s Whisper Eclipse)
If you want to use a riven it should replace either [Fury] or [Voltaic Strike]. (Note that the ideal riven will have Crit chance Initial combo and then either attack speed or Elec % depending on which mod you are swapping out for it.) Although this weapon does not need a riven to be endgame functional.
I play on PC my IGN is MagmaLobster if you have any questions feel free to ask in the comments or even message me in game.