Sidkjr

Results 2 comments of Sidkjr

> All you need is to cast the `idl.json`'s type to the generated camelCased IDL type in `target/types`. For example: > > ```ts > import * as idl from "./idl/spl_staking.json";...

@acheroncrypto Yep. Got what I was doing wrong. > It's the same if it says missing `name` and `version` properties. You'd get this if you used `@coral-xyz/anchor 0.29.0` with a...