Protocol support for signing and storing deposits (indyjo/bitwrk#96)