Signing a document on the blockchain