I am sorry you lost your little fluffy friend, Edward.
Despite him not being yours officially, you really cared for him, and he knows that (if not then, he does now). And his end was peaceful and hopefully painless.
He came, he sniffed, and he kindled your love for dwarf hamsters. Edward shall forever live on in your heart and in your memories.
May he rest peacefully and enjoy playing by the Rainbow Bridge.