Greetings everyone,
Is it possible to create contracts from inside contracts in Sophia Programming Language? Please point me to docs as well.
Thanks.
Greetings everyone,
Is it possible to create contracts from inside contracts in Sophia Programming Language? Please point me to docs as well.
Thanks.
I am also thinking about this problem, please remember to @me if there is a solution
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
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.