sei-chain icon indicating copy to clipboard operation
sei-chain copied to clipboard

[FEATURE] MsgInstantiateContract2 support

Open Nova-Ratio opened this issue 1 year ago • 2 comments

Search before asking

  • [X] I searched in the issues and found nothing similar.

Motivation

[MsgInstantiateContract2] (https://github.com/CosmWasm/wasmd/blob/v0.29.2/proto/cosmwasm/wasm/v1/tx.proto#L73-L96), or Instantiate2 for short, allows instantiating addresses at a predictable contract address. This is useful for off-chain services that can, e.g., create deposit addresses before instantiating a contract at that address. Now contracts get the ability to use Instantiate2. If you have a factory contract, you can now store the address of the newly created instance without the need for a reply call. Also, you can instantiate a contract and execute it right away. In that way, we can create more source-efficient structure for our dapps.

Solution

No response

Alternatives

No response

Anything else?

No response

Are you willing to submit a PR?

  • [ ] I'm willing to submit a PR!

Nova-Ratio avatar Jul 05 '23 11:07 Nova-Ratio

Thanks @Nova-Ratio ! This is an interesting feature. We'll add it to our backlog

philipsu522 avatar Jul 05 '23 21:07 philipsu522

sei1q0v3unn5c856s5g4zcw8dck7wjr95yz0wmazx6

1Sandoval avatar Jul 04 '24 19:07 1Sandoval