For the best experience, please view this page on a desktop device.

dApp
Tutorial
Learn how to implement a basic on-chain voting system on the Aptos blockchain. Allow users to create proposals, stake governance tokens, and vote on proposals using their staked tokens.
Author: Brian

This Move module implements a basic on-chain voting system on the Aptos blockchain. The voting contract allows users to create proposals, stake governance tokens, and vote on proposals using their staked tokens. The contract also includes functionality for users to unstake their tokens, with certain restrictions to prevent unstaking during live proposals.