Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] MsgInstantiateContract2 support #955

Open
1 of 2 tasks
Nova-Ratio opened this issue Jul 5, 2023 · 2 comments
Open
1 of 2 tasks

[FEATURE] MsgInstantiateContract2 support #955

Nova-Ratio opened this issue Jul 5, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@Nova-Ratio
Copy link

Search before asking

  • 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 Nova-Ratio added the enhancement New feature or request label Jul 5, 2023
@philipsu522
Copy link
Contributor

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

@1Sandoval
Copy link

sei1q0v3unn5c856s5g4zcw8dck7wjr95yz0wmazx6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants