Create Contracts from inside Contracts (Proxy contracts) in sophia

Greetings everyone,

Is it possible to create contracts from inside contracts in Sophia Programming Language? Please point me to docs as well.

Thanks.

1 Like

I am also thinking about this problem, please remember to @me if there is a solution

1 Like

This is not possible in the current version. But it is one of the things that is being worked on. It would simplify some use cases for Hyperchains.

It is being discussed here: Create contracts from other contracts · Issue #197 · aeternity/aesophia · GitHub and some early draft opcodes are here: Add CREATE, CLONE and BYTECODE_HASH opcodes. Add bytecode typerep and datatype by radrow · Pull Request #94 · aeternity/aebytecode · GitHub

4 Likes

Thanks @hanssv.chain for sharing it.

it would be of great use once done for the decentralized insurance project that I started for the hackathon.

2 Likes