The IDL is generated from Rust which has different conventions compared to
JS/TS, e.g. instruction names in Rust are snake_case.
The conversion happens automatically for programs, however, if you are using
internals such as BorshInstructionCoder and you only have the original
(not camelCase) IDL, you might need to use this function.
Convert the given IDL to camelCase.
The IDL is generated from Rust which has different conventions compared to JS/TS, e.g. instruction names in Rust are snake_case.
The conversion happens automatically for programs, however, if you are using internals such as
BorshInstructionCoderand you only have the original (not camelCase) IDL, you might need to use this function.