A man who committed a violent home invasion to steal cryptocurrency in 2024 has been sentenced to seven years in prison.