It would be unlikely that a contract that is completely in code and has no human intervention would be legally binding because the identity of the parties may not be easy to determine. Therefore, the smart contract will not satisfy the elements of the formation of a contract. However, simply because a contract is made electronically does not make it invalid. But there is a requirement that the contract is accessible in the future and that the parties consent to contract in this way.