Fun

AI-powered smart contracts could be ‘transformative’ — Ava Labs founder

News Feed - 2024-05-08 10:05:00

Andrew Singer10 hours agoAI-powered smart contracts could be ‘transformative’ — Ava Labs founderImagine if ordinary people could write smart contracts in their native language. It could bring in “billions of new [blockchain] users.”636 Total views4 Total sharesListen to article 0:00Follow upOwn this piece of crypto historyCollect this article as NFTJoin us on social networks“Smart contract programming is hard,” said Emin Gün Sirer, founder of Ava Labs, which built the Avalanche blockchain. Capturing “intent” is difficult. Coding is tricky. Verification remains a challenge. 


“This is the main problem that is keeping smart contracts from flourishing,” added Sirer, speaking at the recent Cornell Blockchain Conference in New York City.


But imagine if artificial intelligence (AI) “agents” like ChatGPT or Llama could do all that smart contract coding for you. Lawyers, as opposed to coders, might soon become the dominant writers of smart contracts.


Even more interesting, everyday people would be able to write smart contracts in their native language — peer-to-peer — almost as easily as they write bank checks today.


That is the future, suggested Sirer at the April 26 event held at Cornell Tech’s stunning Roosevelt Island campus in New York City, further explaining:


“All of you are familiar with writing checks, right? That’s the maximum complexity instrument that my retail bank offers to me. At present, you have few options. You can write a check to ‘John’ that essentially says ‘I hereby transfer to John $5,000’ — and that’s about it.”


But suppose that you could do the same thing but add additional instructions, Sirer continued, for example:“‘I hereby give John $5,000 if and only if he can collect $5 million by the end of September to film a movie. And if he can’t do it, then I want my money back.’ I can just write this.”


Sirer said the scenario he envisions is still five to 10 years away, but if and when it does come, it will be “transformative.”


We would “be able to onboard billions of new [blockchain] users.”


At present, most smart contracts are written in Solidity, a computer language that remains obscure even among programmers.


But Avalanche has begun building a new virtual machine at the intersection of AI and blockchains, Sirer said, which is “programmed in a natural language. You write your programs in English, German, French, Tagalog, Chinese [...] a natural language that your mother taught you in your mother’s tongue.”Questions remain


But is all this just pie in the sky? Many issues need to be resolved before these “coin-operated agents,” as Sirer calls them, can be widely deployed.


Legalities need to be worked out. Keywords and terms will have to be defined unambiguously. A word like “software,” for instance, might have to be very carefully defined before it can be used in smart contracts involving software licenses. All this could take some time.


Recent: EU crypto regulations undermined by lack of enforcement, say observers


Then, too, AI “agents” may not be quite ready to write legally binding documents. Large language models (LLMs) can “hallucinate,” after all.


“Everybody has seen [AI-generated] pictures of seven-fingered people,” Sirer noted.


But there are short-term solutions for some of these problems. One could submit transactions to both ChatGPT 3.5 and Llama, for example, requiring both agents to agree before a smart contract solution is accepted. “So that way, at least, you get two trusted executors, and you are taking the intersection of their actions.”“Plain English instructions” for smart contracts


Others suggest that smart contracts that can handle “natural” language are already here — or at least close at hand.


“The capability to allow every individual to be their own programmer exists in the world today,” Sam Friedman, principal solutions architect at Chainlink Labs, told Cointelegraph.


Friedman cited Council, the AI agent framework developed by ChainML, a project in the Chainlink BUILD program, that “enables developers to provide plain English instructions immediately converted into executable code. Today, that code is mostly Python or SQL. But enabling smart contracts is an upgrade away.”


He also mentioned Chainlink Developer Hub’s “Ask AI,” which can return a fully formed smart contract when a user submits a request in plain English, something on the order of: “Show me an example smart contract that enables a user to request a random number between one and ten. It should use Chainlink VRF.”


Today’s offerings probably don’t have the full functionality that Sirer envisions, however, and Friedman told Cointelegraph that a lot of work lies ahead.


“While AI agents writing smart contracts are already here, this isn’t their final form,” he said. They will still need to improve in terms of quality and complexity. “AI models need to be trained with ever-newer content for this to happen.”


Still, Friedman can imagine use cases where multiple AI “agents” with distinct roles collaborate to complete the lifecycle management of a smart contract. For instance:“One agent helps define the requirements, another writes the smart contract, another performs quality and security testing, another deploys the contracts, and the last one performs ongoing maintenance or tuning of the parameters or global variables in the contract after it’s deployed.”


There are still “big unknowns,” Sirer acknowledged at the Cornell Tech conference, and moving the needle forward will require guidance from all sorts of individuals, “people with both a technology and an ethics and a humanities background.”A place for lawyers, too?


In a question period following his presentation, Sirer was asked who would write smart contracts if Solidity was no longer required and coding could be done in ASCII text.Source: SV


“Who are going to be the best programmers for this?” At first glance, software programmers would seem to have the edge. They are already skilled in defining and specifying conditions in precise language, after all.


Recent: Where to store your crypto: Wallets provide diverse options for holders


“But the people who know how to use regular language for specifying contracts are the lawyers. So they are going to be the kings and queens of that universe […] the ones who really figure out how to flourish in this system.”


And average users? “I think they are quite capable of specifying basic transactions,” Sirer said. Indeed, he foresees these new capabilities being built on “democratic, open platforms” that “anyone can use on an equal footing.”


Overall, this new approach to smart contracts is so interesting and full of promise “that we can’t just leave it on the table,” Sirer concluded.# Blockchain# Smart Contracts# AI# AvalancheAdd reaction

News Feed

Tesla CEO Elon Musk Shares Dogecoin Video — Says It ‘Explains Everything’
Tesla CEO Elon Musk Shares Dogecoin Video — Says It "Explains Everything" Tesla CEO Elon Musk has shared a dogecoin video on Twitter in a conversation about bitcoin mining on Apr
BitYard Integrates 80+ Chainlink Price Feeds for Enhanced Price Accuracy and Stability
BitYard Integrates 80+ Chainlink Price Feeds for Enhanced Price Accuracy and Stability press release PRESS RELEASE. BitYard is delighted to announce our integration of 80+ Chainlink
Crypto’s Dotcom Era Begins as Handshake Launches Decentralized Domains
Crypto’s Dotcom Era Begins as Handshake Launches Decentralized Domains Handshake, one of the more original crypto projects to have spawned during the ICO era, has completed its
Cryptography startup Fabric raises $33M for new data privacy chip
Ana Paula Pereira2 hours agoCryptography startup Fabric raises $33M for new data privacy chipBlockchain Capital and 1kx co-led the Series A round that will back the development of a new computing chip focused on data pri
Ezra Reguerra22 minutes agoMatter Labs CEO vehemently denies copy-pasting code from Polygon ZeroMatter Labs CEO Alex Gluchowski said that the allegations were unfounded, misleading and disappointing.95 Total views1 Total
Miami Heat star, ‘Bitboy’ agree to cough up $340K to settle Binance promo suit
Jesse Coghlan6 hours agoMiami Heat star, ‘Bitboy’ agree to cough up $340K to settle Binance promo suitPro basketballer Jimmy Butler and crypto influencer Ben Armstrong are looking to settle claims in a Binance-relate
Forex Shortages Force Nigerian Corporates to Turn to Parallel Market
Forex Shortages Force Nigerian Corporates to Turn to Parallel Market Nigeria’s ongoing shortage of foreign exchange is forcing corporates and businesses to
David Attlee1 hour agoRoblox integrates XRP as payment methodXsolla and BitPay now support Ripple’s digital currency for in-game purchases.987 Total views63 Total sharesListen to article 0:00NewsJoin us on social netwo
Montenegrin court rejects Do Kwon’s appeal to stop extradition to South Korea
Turner Wright8 hours agoMontenegrin court rejects Do Kwon’s appeal to stop extradition to South KoreaBoth the United States and South Korea have filed competing requests for extraditing the Terraform Labs co-founder si
Cross-Chain Bridge Nomad Loses $190 Million Making It 2022’s Third-Largest Crypto Heist
Cross-Chain Bridge Nomad Loses $190 Million Making It 2022"s Third-Largest Crypto Heist On Monday, the cross-chain token bridge Nomad was attacked and hackers managed to siphon $19
Zhiyuan Sun8 hours agoImmutable delays $67M token vesting by another year125 million IMX tokens allocated for developer rewards will be vested monthly starting July 2024.825 Total views8 Total sharesListen to article 0:0
BlackRock ETF close to overtaking Grayscale, despite second-lowest daily inflows
Zoltan Vardai12 hours agoBlackRock ETF close to overtaking Grayscale, despite second-lowest daily inflowsBlackRock"s IBIT ETF could soon flip Grayscale"s GBTC, to become the largest ETF by Bitcoin holdings.1898 Total vie