Using OpenAI ChatGPT to create Smart Contracts

Writing Cardano smart contracts is not the easiest task, especially if you don’t know Haskell. But now we have a solution for that, AI!

image

Jokes aside, I don’t think the generated code does exactly what I wanted it to do. But it seems like the OpenAI ChatGPT model could very well be used to generate some code which can then be further refined. I’d be interested what some more experienced Plutus developers think about this.

4 Likes

Very interesting stuff. Ultimately using natural language to create smart contacts will be the standard where AI makes the agreement tight.
For example, 'create a contacts between Alice and Bob for one year for the house at 10 Hampshire view for $1,000 per month"
AI would then generate a suitable smart contract with multiple levels of integrity.

1 Like