- Create a native contract that takes a data account and
- Initializes it
- Doubles the value inside it
- Halves the value inside it
- Create an anchor account that takes the
initialize and double instructions and forwards the request to the native contract using a CPI