0

We can create accounts from contract code: https://github.com/angelol/smart_account_creator and we can query things about accounts: https://github.com/nsjames/Account-Has-Code

is there a way to deploy a contract to a newly created account from within a contract action?

2
  • 1
    I'd suggest seeing if deploying contracts from another contract is within best practices, what use case would you have for deploying another contract from another? Chances are a better solution would be to have a contract made which everyone can share, similar to eosio.token where people can make thousands of tokens all based off one contract. Apr 19, 2019 at 0:24
  • Thanks @JohnWilliamson! That makes a lot of sense.
    – Utgarda
    Apr 19, 2019 at 7:31

0

Browse other questions tagged or ask your own question.