Polypuls3 SDK Demo

Testing @polypuls3/sdk integration

Example Poll

This demonstrates the PollWidget component from the SDK. Connect your wallet to vote!

Error loading poll: Poll not found

SDK Usage Example:

<PollWidget
  pollId={1n}
  onVoteSuccess={() => alert('Vote successful!')}
  onVoteError={(error) => alert(error.message)}
/>