Example Poll
This demonstrates the PollWidget component from the SDK. Connect your wallet to vote!
SDK Usage Example:
<PollWidget
pollId={1n}
onVoteSuccess={() => alert('Vote successful!')}
onVoteError={(error) => alert(error.message)}
/>Testing @polypuls3/sdk integration
This demonstrates the PollWidget component from the SDK. Connect your wallet to vote!
<PollWidget
pollId={1n}
onVoteSuccess={() => alert('Vote successful!')}
onVoteError={(error) => alert(error.message)}
/>