Decrypted — AI-powered smart contract creation for non-programmers

ChronoLogic
ChronoLogicNetwork
Published in
4 min readJul 26, 2021

--

GPT-3, the newest and biggest OpenAI language model that understands the human language, is making headlines worldwide. It has been created by OpenAI, a research business co-founded by Elon Musk, and has been described as the most important and useful advance in AI for years. The software has been pre-trained on hundreds of billions of words, or essentially the entire Internet to understand how languages work.

In a nutshell, GPT-3 is a language prediction model, meaning that it takes a text input by the user and transforms it into poetry, music, social media comments— you name it. And one of the most surprising use cases people found was GPT-3’s ability to code following a natural language prompt. To direct GPT-3 to a specific task, you feed it a simple set of instructions in English of what you hope to achieve and it will ultimately translate it into lines of code.

Code vs. No-code

When writing code, software engineers and blockchain developers may encounter difficulties, for example, code duplication or oversight of specific pieces of the code. Utilizing coding tools controlled by AI technologies, developers can presently avoid making errors when coding. But these tools are much more than assisting with distinguishing basic coding hurdles.

More importantly, GPT-3 can generate whole code lines or even entire functions from plain English, which is the ultimate dream of non-programmers. It allows users to focus less on the coding aspect of their job and more on creativity and innovating in countless ways. No-code category of tools (e.g. WordPress, Wix, and Shopify) make it easier for anyone to build complex applications without programming and use tech otherwise out of their reach.

For its part, ChronoLogic decided to try its hand at developing a no-code software solution that would enable users to write and deploy Solidity contracts on their own rather than hire a blockchain developer. We wanted to democratize smart contract creation even more and put superintelligent AI tech in the hands of regular blockchain users.

Why should you care as a non-programmer? Because it has the potential to revolutionize smart contract creation and this type of tool will likely become available to all.

Decrypted

Decrypted was developed with the goal of blurring the line between creators and developers by making Solidity smart contracts creation as easy as pie.

Request access: https://decrypted-ai.chronologic.network

This very simple tool to use is actually a smart contract generator. All you need to do is write a short summary directly in the text box, click Submit, and watch your contract write itself in front of your eyes. In other words, you don’t have to be a blockchain developer anymore to create smart contracts. For example, if I say in the text box that I want to create an ERC-20 token, Decrypted will get the lines of code in Solidity that will make a smart contract for me to create the token. Or, if you want to immortalize your marriage on the blockchain in addition to a traditional wedding ceremony, Decrypted will create a smart contract for this in a matter of seconds.

In the demo below, you can see that the user types in what he wants his smart contract to be in simple English, and with the power of GPT-3, Decrypted was able to produce contracts that can be later deployed with a single click of a button.

Although we at Chronologic are still working on the tool’s economics, it is likely that DAY token payments will be required for users to gain access to Decrypted.

Limitations

It is undeniable neural networks such as GPT-3 are an important milestone that will open doors for the next steps towards AI. They will be able to tackle more complex tasks with each new upgrade.

However, GPT-3 is far from perfect. It does not understand when it should stop generating code which means it can generate too much (e.g. start writing another contract) or too little (unfinished code). If you make more complex inquiries, it won’t be able to capture the full depth of what you’re asking for. One may need to try many times and/or rephrase the input to get the desired output.

For these reasons we recommend having your smart contracts independently audited before subjecting them to any real funds, and we cannot guarantee the output of the AI.

Conclusion

With technology rapidly evolving, blockchain users could one day blur the line between basic programming and a no-code alternative. Although AI needs constant retraining with the latest code to keep up with the updates, changing standards, and best practices, — it gives millions of users the ability to develop things they couldn't create before.

With the tools like Decrypted becoming more accessible than ever, AI-generated smart contracts are closer than we think. In the long run, we believe that AI will turn into a prerequisite for any Ethereum user.

Request access: https://decrypted-ai.chronologic.network

Stay tuned to our blog, Telegram, and Twitter for more technical updates as we continue our work on Decrypted.

--

--