Votemak - Tokemak Vote Bribing
API: https://votemak-api.vercel.app/api/user?address=0x0000000000000000000000000000000000000000
VotemakBribe: 0x77158da68347f087c7fbee065249cf4867a2e7d3
MultiMerkleDistributor: 0x639d20f70bcc01a25355720ef6590beab6e4a0e7
Multisig: 0x8CA6E5e53928e8E94a72F8c1Fb494Afda23D7C61
yarn install
yarn compile
Create a .env
file similar to .env.example
and add any required environment variables there
Required environment variables: ETH_RPC_URL
, POLYGON_RPC_URL
yarn snapshot
Must be run after yarn snapshot
yarn snapshot-reactors
Must be run after yarn snapshot
yarn generate
Must be run after yarn snapshot
and yarn generate
yarn validate
yarn test
Required environment variables: MNEMONIC
, INFURA_API_KEY
yarn deploy --network mainnet
Required environment variables: ETHERSCAN
yarn verify --network mainnet
yarn start
Open localhost:3000 to see the API
yarn lint
yarn clean