sei-chain
sei-chain copied to clipboard
[FEATURE] MsgInstantiateContract2 support
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!
Thanks @Nova-Ratio ! This is an interesting feature. We'll add it to our backlog
sei1q0v3unn5c856s5g4zcw8dck7wjr95yz0wmazx6