Core contracts for the a jetton voting platform. In-depth architecture doc can be found here.
The following assumes the use of node@>=18
yarn install
yarn blueprint build --all
yarn test
The user must create an .env
file from .env.example
and deploy.config.json
file from deploy.config.example.json
yarn blueprint run --mainnet --mnemonic deployRegister
Add your wallet address to the list of voters
yarn blueprint run --mainnet --mnemonic addMyself
Send positive votes:
yarn blueprint run --mainnet --mnemonic castPosVotes
Send negative votes:
yarn blueprint run --mainnet --mnemonic castPNegVotes
Call get method to data on register:
yarn blueprint run --mainnet --mnemonic getRegisterData
Call get method to check data on vote storage:
yarn blueprint run --mainnet --mnemonic getStorageData
Call get method to check data on vote status:
yarn blueprint run --mainnet --mnemonic getStatusData
MIT