Source: Cointelegraph
Translation: BitpushNews
Imagine if ordinary people could write smart contracts in their native language, it could bring "billions of new blockchain users."
Emin Gün Sirer, the founder of Ava Labs and the creator of the Avalanche blockchain, said, "Smart contract programming is difficult. Capturing 'intent' is hard, writing code is tricky, and verification remains a challenge."
Sirer stated at the recent Cornell Blockchain Conference in New York City, "This is the main problem hindering the flourishing of smart contracts."
But imagine if artificial intelligence (AI) like ChatGPT or Llama could help you with all the smart contract coding work, it would change the landscape. Lawyers may soon become the primary authors of smart contracts rather than programmers.
What's even more interesting is that ordinary people will be able to write smart contracts in their native language in a peer-to-peer manner, making it as simple as writing a bank check.
At the Cornell Blockchain Conference held in New York City on April 26, Sirer further elaborated on this future vision:
"You are all familiar with the process of writing a check, right? That is the most complex financial instrument our banks offer. Currently, our choices are quite limited. For example, I can write a check to 'John' stating 'I hereby transfer $5000 to John'—that's basically it."
But if we could perform the same operation and add additional conditions, Sirer continued to illustrate:
"I hereby offer $5000 to John, with the condition that he must raise $5 million by the end of September to shoot a movie. If he fails, I want my money back. I can write this directly."
Sirer stated that the scenario he envisions may take another 5 to 10 years to materialize, but if it does, it will be "transformative."
"We will be able to onboard billions of new (blockchain) users."
Currently, most smart contracts are written using the programming language Solidity, which is not widely known even among the programmer community.
However, Avalanche has already begun developing a new virtual machine in the field of integrating artificial intelligence with blockchain technology. Sirer stated that this virtual machine "supports programming in natural language. You can choose to use English, German, French, Tagalog, Chinese, or any natural language that your mother taught you."
Challenges Remain
But is this just a pipe dream? Before what Sirer calls "coin-operated agents" can be widely adopted, many issues need to be addressed.
First, legal issues must be addressed. Keywords and terms need to be precisely defined. For example, before using the term "software" in a smart contract, it may need to be defined in great detail. This work may take some time.
In addition, whether artificial intelligence "agents" are ready to draft legally binding documents is also a question. After all, large language models (LLMs) sometimes produce erroneous information, a phenomenon sometimes referred to as "hallucinations."
Sirer pointed out: "Everyone has definitely seen images of people with seven fingers [generated by artificial intelligence]."
However, some of these issues can be addressed in the short term. For example, transactions can be submitted to both ChatGPT 3.5 and Llama, requiring both agents to reach a consensus before the smart contract solution is adopted. "This way, at least you have two trusted executors, and you are taking the intersection of their actions."
"Instructions for writing smart contracts in plain English"
Some people have stated that smart contracts capable of handling "natural" language have already emerged—or are within reach.
Sam Friedman, Chief Solutions Architect at Chainlink Labs, told Cointelegraph: "In today's world, the ability for everyone to become their own programmer already exists."
Friedman mentioned a project in the Chainlink BUILD program, the Council artificial intelligence agent framework developed by ChainML, which "allows developers to provide simple English instructions and immediately convert them into executable code. Currently, these codes are mainly Python or SQL, but a single upgrade is all that is needed to achieve smart contract functionality."
He also mentioned the "Ask AI" feature in the Chainlink Developer Center, where the feature can return a complete smart contract when a user submits a request in simple English. For example, a user can request, "Please show me an example of a smart contract that allows a user to request a random number between 1 and 10, using Chainlink VRF (Verifiable Random Function)."
However, the current products may not fully realize all the features envisioned by Sirer. Friedman stated in an interview with Cointelegraph that there is still much work to be done in the future.
He said, "Although artificial intelligence agents for writing smart contracts have emerged, they have not yet reached their final form. They still need further improvement in terms of quality and complexity." To achieve this, artificial intelligence models need to be trained with continuously updated content.
Nevertheless, Friedman can still imagine some scenarios where multiple artificial intelligence "agents" playing different roles work together to manage the lifecycle of smart contracts. For example:
One agent helps define requirements;
Another agent is responsible for writing smart contracts;
Another agent performs quality and security testing;
Another agent is responsible for deploying contracts;
The last agent continuously maintains or adjusts parameters or global variables in the contract after deployment.
At the Cornell Blockchain Conference, Sirer acknowledged that there are still "huge unknowns" and that progress requires guidance from all sides, as well as the participation of those who have "both technical and ethical and humanistic backgrounds."
A Place for Lawyers?
During the Q&A session after the speech, someone asked Sirer if Solidity language is no longer needed and ASCII text can be used for coding, who will write smart contracts in the future?
"Then who would be the ideal programmer? At first glance, software programmers seem to have the upper hand. After all, they are already proficient in using precise language to define and specify conditions.
"But it is the lawyers who truly understand how to use formal language to draft contracts. Therefore, they will become the leaders in that field […] those who can truly thrive in this system."
As for ordinary users, what about their situation? "I think they are fully capable of defining basic transactions," Sirer said. In fact, he expects these new features to be built on a "democratic, open platform" that "anyone can use equally."
Overall, this new approach to smart contracts is very appealing and full of hope. "We cannot just set it aside," Sirer concluded.
免责声明:本文章仅代表作者个人观点,不代表本平台的立场和观点。本文章仅供信息分享,不构成对任何人的任何投资建议。用户与作者之间的任何争议,与本平台无关。如网页中刊载的文章或图片涉及侵权,请提供相关的权利证明和身份证明发送邮件到support@aicoin.com,本平台相关工作人员将会进行核查。