Expand description
Place the mint id that you want to target with your transfer hook program. Any other mint will fail to initialize, protecting the transfer hook program from rogue mints trying to get access to accounts.
There are many situations where it’s reasonable to support multiple mints with one transfer-hook program, but because it’s easy to make something unsafe, this simple example implementation only allows for one mint.
Constants§
- ID
- The const program ID.