Blockchain is a technology whose propose is establishing trust in a distributed system. Problems of authentication, integrity, and nonrepudiation are solved by digital signatures. Digital signatures don't guarantee the time when the document was signed. For that reason, using blockchain in a financial transaction and other forms of the legal contract provides necessary security in the time. It is a perfect alternative to avoid cyber attacks and to guarantee the trust of any transaction, for example, bitcoin.