The 'Wild West' of smart contracts is about to get a little wilder.
Following the first-ever public demo of enterprise blockchain company Chain's in-house smart contracts language this week, the venture-backed startup is now preparing to release the technology to the public.
However, in an exclusive demo of the technology with CoinDesk, the person in charge of developing the language gave a sneak peek at the company's latest creation, explaining, too, what he envisions as its ideal application.
Product architect Dan Robinson told CoinDesk:
Ivy is currently in its R&D phase and is being implemented primarily for internal applications, though he said the expectation is it will eventually be opened to other developers.
Compiled to the Chain Virtual Machine (its stack machine that translates the code and performs operations), Ivy is described on its website as a declarative language in that its control-flow isn't specified, compared to ethereum's Solidity language (which is object oriented with higher organization).
Pulling from the prototypical smart contract example first used by developer Nick Szabo, Robinson said early smart contracts the company developed using the language are functionally similar to a vending machine.
Specifically, he gave the example of a smart contract that would run on a "relatively decentralized exchange" where users can make offers and bids on a multi-asset network. Users could either purchase an underlying asset or a seller could revoke the offer in this paradigm.
Robinson compared it to a vending machine in which a user can unlock a secured asset (such as a bottle of water) in exchange for a few tokens, but only the owner would have direct access to the product prior to its sale and the key to withdraw the received funds:
Speaking smart contract
While the earliest examples of smart contracts written with the language are bound to be rather simplistic, the release comes into a competitive ecosystem.
Ivy is just the latest in a growing blockchain ecosystem that has seen no shortage of competing in smart contract languages.
Going into the new year, a series of challenges (including ensuring contract counterparty confidentiality and contract accuracy) are among the top priorities by a number of parties.
However, Robinson described Chain's language as unique, given that it is designed for a future when digital assets (not just distributed ledgers) will be widely used by financial firms.
Ivy image via Shutterstock
The leader in news and information on cryptocurrency, digital assets and the future of money, CoinDesk is a media outlet that strives for the highest journalistic standards and abides by a strict set of editorial policies. CoinDesk is an independent operating subsidiary of Digital Currency Group, which invests in cryptocurrencies and blockchain startups. As part of their compensation, certain CoinDesk employees, including editorial employees, may receive exposure to DCG equity in the form of stock appreciation rights, which vest over a multi-year period. CoinDesk journalists are not allowed to purchase stock outright in DCG.
Learn more about Consensus 2023, CoinDesk’s longest-running and most influential event that brings together all sides of crypto, blockchain and Web3. Head to consensus.coindesk.com to register and buy your pass now.