0

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 2

0

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.

1
  • This is not the Solana vote account, stake, and delegation instruction though. This is a totally separate, unrelated voting scheme for people, no? Commented Aug 20, 2022 at 23:34
0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.