Is there an idl.json file for voting? The purpose would be to compile instructions in languages like Golang to do staking and set up voting accounts.
2 Answers
You can find the anchor program for this example at examples.anchor-lang.
Just run anchor build
from the project directory and find the idl file in target/idl
folder.
-
This is not the Solana vote account, stake, and delegation instruction though. This is a totally separate, unrelated voting scheme for people, no? Aug 20, 2022 at 23:34
There might not be one since that program was written before Anchor, and IDLs.
You can clone the program and generate one though using Metaplex's shank.