Default instructions macro attribute should add this instruction to the program's instructions & IDL
buffalojoec opened this issue · 0 comments
buffalojoec commented
When you add default instructions to your struct, like so:
#[derive(nautilus::Table)]
#[default_instructions(
Create, Delete, Update
)]
struct Person {}
these instructions should automatically be written to the generated tokens & IDL