Just building out the governance view in OpenFPL where you can vote on proposals.
Using the SnsGovernanceCanister type in @dfinity/sns, if someone has added the frontend hotkeys, they can code in say “vote yes on all proposals” using registerVote. Then on page refresh, if you have their identity saved locally, you can submit the yes votes.
Like I’m coding click events on these thumb buttons:
But I could just put the same vote yes in onMount and they couldn’t stop them triggering…
And as the frontend isn’t added via proposal, seems like it’s an accident waiting to happen.
Am I missing something here? I’ll have the buttons working soon so will be able to check locally just wondered if there is some fundamental thing I haven’t understood.