-
Notifications
You must be signed in to change notification settings - Fork 64
Description
There is still a lot to explore here so this issue mainly offer a space to discuss this in more detail before committing to this.
The idea here is to describe bundles of instructions that are typically used together to create more complex operations.
For instance createAccount from the System program and initializeMint from the Token program could both be part of a createMint bundle which would link to these two instructions and provide a mapping regarding the accounts and arguments that refer to the same reference on both instructions. For instance, the created account on the createAccount instruction would also match the mint account of the initializeMint instruction.
By describing these instruction bundles, we allow renderers to offer helper methods for these, CLIs to offer more useful commands and documentation to provide more useful examples.