preloader logo

Smart contracts. Blockchain technology.

The origin: blockchain technology

Before starting to talk about smart contracts and the opportunity they represent for 21st-century businesses, it's worth explaining the technology on which they are based: blockchain. Simply put, a blockchain is a record of data (blocks) shared among different users of the same network (nodes). Like any physical record, it can be modified, with the difference that this is done simultaneously for users without a centralizing entity; in other words, it is a decentralized system. In a blockchain, authorized users share direct access to this record to create, modify, and view that data. Any action taken on it is stored as a "block," which is irreversibly added to the chain formed by all past actions. Therefore, blockchain technology offers several significant benefits for pursuing an essential purpose for business: trust. For example, through a blockchain network, real estate sales could be certified with the same guarantee as a notary, as they would be recorded on the network, preventing any third party from intervening in the modification of the registry. The same would apply to attesting any property rights, since this registry is immutable.

The parties granted, therefore, enjoy absolute equality with the same rights of direct access and modification without having to resort to a centralized authority. Each new block created is made public and, to be integrated into the chain, must be validated by the other parties; if they do not accept it, the attempt is recorded as such, but not the act. If the parties accept this new block, it is automatically integrated into the chain, which will be recorded in each party's shared registry. There is no turning back. Any modification, addition, or deletion of information is transparent and is recorded as information in itself. Think of it like a book whose pages cannot be separated: if the author dislikes a chapter already written, they can only indicate to their co-authors that they decided to continue the subsequent narrative without taking it into account, but they cannot tear out the corresponding pages. Hence the security this type of technology provides: even if someone were to unilaterally modify the blockchain, the disappearance of a few links would make the manipulation visible due to the lack of continuity in the chain. This technology opens up a wide range of opportunities, as in our case, smart contracts.

Advantages of smart contracts

Security in the fulfillment of agreements because it acts automatically. Speed ​​in the execution of the contract, because, for example, payment is automatic. Cost reduction, since, if properly articulated, it avoids lawsuits for misinterpretation of the contract.

Smart contracts use this technology to limit discrepancies that may arise in the execution of a contract. The parties agree on each aspect of a contract, which will take the form of negotiated computer code, accepted by all, and uploaded to a blockchain network. This code is immutable and encloses each agreed clause following a model of "if/then" chained conditions whose execution is carried out using blockchain technology. In other words, the parties foresee a series of events, and if/then they occur, a series of consequences are triggered. The mechanics are the same as those currently used when drafting a contract, anticipating and regulating the circumstances. However, in smart contracts, the effect is the automation of contract execution: if the information necessary for fulfilling a clause is entered into the registry, the program will directly trigger the previously established consequences. Both the uploaded information and the result generated by the code are added to the chain as new blocks, preventing rollback. Transactions are public, but their initiation can be restricted to certain users through a public/private key system to ensure the legitimacy of the action. The private key allows the user to create a block of data (such as receipt of goods, condition, number of products, etc.) and add their "signature," whose authenticity is verified with the public key communicated to everyone.

A priori, the scope of application of smart contracts is the same as a normal contract; however, their usefulness is more prominent in certain sectors. The internationalization of the financial and banking sector, whose regulation requires verification of the origin of capital movements, can be automated, lowering the cost of transactions and their control. For an insurer, creating a network with its insured allows for the collection of data and expert reports on a claim to automate the payment of compensation. In logistics, blockchain technology enables transparent product tracking, ensuring full traceability from production to delivery. Regarding this example, one can imagine a food supply chain from the producer to the receiving supermarket. That is, from the moment the seeds and agricultural materials necessary for production are purchased, to the harvesting, processing, processing, distribution, and purchase of the product by the consumer, everything is perfectly traced, with the blockchain providing information on how it was produced, by whom, where, who distributed it, how, and where. For example, supermarkets would upload their order to the blockchain, which would be automatically communicated to suppliers. Once delivered to the carriers, the GPS would report the real-time location of the products, as well as compliance with the cold chain through automatic temperature measurement. If this hygiene requirement is not met, supermarkets would be immediately informed of the affected goods and the corresponding compensation would be granted through the clauses established in the smart contract. Automatic executions. The same applies to agreed delivery periods. If the date and time uploaded by the carrier meet the deadline established in the code, the bank transfer of payment from the supermarket's account will be automatically granted. In the event of a delay, the code would detect it and execute a compensation clause, if one exists.

In theory, anyone can create a smart contract as long as they have the necessary computer programming skills, although there are already some that offer this possibility without being a technical expert. They are developed on freely accessible platforms that allow blockchain execution. The most widely used is Ethereum, but Hyperledger, Polkadot, and Tron can also be mentioned. Given the skills required to manage blockchain, some companies, such as Santander, with the help of the we.trade platform (IBM blockchain), developed a smart contract service for businesses.

Future and limits

Despite the numerous uses that can be (and already exist) for smart contracts, Spanish and European legislators are only just beginning to show interest. Currently, there are no national regulations for smart contracts, nor are there any EU or international lex cryptographia whose scope of application would be more appropriate to the characteristics of current commerce. Hence the current legal status quo for smart contracts. They continue to be governed by the Civil Code and EU legislation, which separate the binding force of the contract from its form (provided the validity criteria are met) and allow for remote execution.

The main problem with smart contracts stems from their greatest advantage: security, as the contract is enclosed within immutable code. On the one hand, all possible scenarios and the necessary response must be anticipated, since subsequent modification of the code is impossible. Therefore, there is no room for maneuver in the event of a legislative change, or any other event that would require modifying the contract, even if all parties agree. The rebus sic stantibus principle cannot even be conceived in a blockchain network. On the other hand, a computer code does not allow for the parties to renegotiate certain aspects with greater or lesser flexibility depending on the level of trust they have between them (something common in dealings with regular suppliers). The contract is either fulfilled as planned, or it is not: it does not consider the adaptability that commercial relationships may require. The design of the code precludes any stipulation that does not take the form of "if/then." This type of contract does not so much eliminate conflict due to its absolute predictability, but rather excludes any type of more subjective clause. Like any emerging technology, it will have to consolidate itself through know-how.

In 2019, the European Commission asked the European Blockchain Observatory for a report to clarify the challenges of this new technology and the role the European Union could play in its development and regulation. He highlighted several legal issues, almost all related to liability. To communicate with the offline world, the online blockchain requires a program capable of exchanging information: called the "oracle." How is it chosen? And, above all, who is responsible in the event of a computer error? The same applies to the code itself: who bears the consequences of an unforeseen bug? It is also unclear whether the automatically executing program should be considered a party or a representative. Furthermore, risks of violating the digital rights contained in the General Data Protection Regulation (GDPR) were identified. On the one hand, the encryption that protects access to the blockchain or even anonymizes its users makes it impossible to identify precisely who controls the data circulating on the network. On the other hand, the immutability of the blocks that enclose the data neutralizes each individual's right to be forgotten.

As expected, the Observatory's conclusions rule out regulation by individual countries, preferring the creation of a more efficient European legal framework. Without proposing a specific option, he makes it clear that the status quo cannot continue and that, at the very least, current legislation on contracts and obligations must be reformed. He recommends prioritizing regulation of sectors in which blockchain is well implemented and whose use could pose a risk to European interests: specifically, the financial sector and transaction control. In other cases, current legislation is sufficient to protect the still limited use of smart contracts, despite the need to build an appropriate legal framework. He invites us to observe how practices develop in each sector to avoid hasty regulation that would nip the use of this promising technology in the bud.

How to apply to an advertising agency

For the Client, the most important thing is to receive payment in a timely manner, and not at the Client's discretion, even if there is an obligation to pay within 60 days. In other words, the Agency should be paid automatically as the phases of a project are executed. And the phases are approved through the blockchain. Many of the conflicts between Agency and Client stem either from the lack of a contract, which operated, at best, with a purchase order, or from insufficiently documented delivery acceptances. Within this new framework, the Agency should begin to design its own smart contracts and anticipate potential scenarios. In any case, these types of contracts are much simpler than those required by the Client, since, as we mentioned, the most important thing for the Agency is to have guaranteed payment, the duration of the contract, and the intellectual property rights being transferred.

Regarding its suppliers, the Agency must focus primarily on the approval of project phases, delivery schedules, and the transfer of intellectual property rights. It is essential to be aligned with the Client's needs, and agencies are aware of this, because changes of mind or sudden decisions by the Client impose obligations on the Agency toward its suppliers. Therefore, and to the extent the Agency deems appropriate for the type of project, it would be very useful for all three parties—Client, Agency, and Supplier—to jointly participate in a smart contract.

Conclusions

Smart contracts are undoubtedly another blockchain-derived application with enormous opportunities. We are entering a new era of automation, and contractual obligations, as the backbone of our socioeconomic relations, cannot be excluded from this. The slowdowns and delays resulting from our bureaucratic systems, the collapse and saturation of many public agencies, which depend on human intervention to validate processes, can be carried out automatically, eliminating the need, for example, to wait months or years to collect compensation. Ultimately, this is all about automation, and that means speed, savings, security, transparency, and efficiency.

Riestra Abogados 2023

    1. Campus Blockchain, ¿Qué son los Smart Contracts? ¿Para qué sirven? [https://www.campusblockchain.es/que-son-los-smart-contracts-para-que-sirven]
    2. LÓPEZ RODRÍGUEZ, Ana Mercedes. “Ley aplicable a los smart contracts y Lex Cryptographia” en Cuadernos de Derecho Transnacional, vol.13, nº1, marzo 2021, pp.441-442 [https://doi.org/10.20318/cdt.2021.5966]
    3. FETSYAK, Ihor. “Contratos inteligentes: análisis jurídico desde el marco legal español” en REDUR, nº18, diciembre 2020, pp.202-203 [https://doi.org/10.18172/redur.4898]
    4. Ana Mercedes LÓPEZ RODRÍGUEZ, “Ley aplicable a los smart contracts y Lex Cryptographia” en Cuadernos de Derecho Transnacional, vol.13, nº1, Marzo 2021, p.446 [https://doi.org/10.20318/cdt.2021.5966]
    5. Real Decreto de 24 de julio de 1889 por el que se publica el Código Civil, última actualización publicada el 06/03/2022, Artículo 1278 [https://www.boe.es/eli/es/rd/1889/07/24/(1)/con]
    6. Ibid. Artículo 1262
    7. THE EUROPEAN UNION BLOCKCHAIN OBSERVATORY AND FORUM. Informe temático iniciado por la Comisión Europea, “Legal and regulatory framework of blockchains and smart contracts”, 27 de septiembre 2019 [https://www.eublockchainforum.eu/sites/default/files/reports/report_legal_v1.0.pdf?width=1024&height=800&iframe=true]
    8. Ibid. pp.23-25
    9. Ibid. pp.33-35
    10. Real Decreto Legislativo 1/1996, de 12 de abril, por el que se aprueba el texto refundido de la Ley de Propiedad Intelectual, regularizando, aclarando y armonizando las disposiciones legales vigentes sobre la materia. https://www.boe.es/buscar/act.php?id=BOE-A-1996-8930
    11. SAP Navarra, nº201/2014, FJ 2
    12. Ibid. FJ 4
    13. CJEU, 1 December 2011, C-145/10, Painer. Ruling §2
    14. Ley 17/2001, de 7 de diciembre, de Marcas. Artículo 6. Marcas anteriores.
1. No podrán registrarse como marcas los signos: a) Que sean idénticos a una marca anterior que designe productos o servicios idénticos. b) Que, por ser idénticos o semejantes a una marca anterior y por ser idénticos o similares los productos o servicios que designan, exista un riesgo de confusión en el público; el riesgo de confusión incluye el riesgo de asociación con la marca anterior.
    15. Italia bloquea el uso de ChatGPT por incumplir la normativa de protección de datos. https://elpais.com/tecnologia/2023-03-31/italia-bloquea-el-uso-de-chatgpt-por-incumplir-la-normativa-de-proteccion-de-datos.html
    16. Ley Orgánica 1/1982, de 5 de mayo. Artículo séptimo. Tendrán la consideración de intromisiones ilegítimas en el ámbito de protección delimitado por el artículo segundo de esta Ley: Artículo 7.6. La utilización del nombre, de la voz o de la imagen de una persona para fines publicitarios, comerciales o de naturaleza análoga


Programa Kit Digital, iniciativa del Gobierno de España. Cofinanciado por los Fondos Next Generation EU del Mecanismo de Recuperación y Resiliencia. Kit Digital

Cookie settings

We use cookies to provide you with the best possible experience. They also allow us to analyze user behavior in order to constantly improve the website for you.