This repo contains a simple governed-token implementation on Starknet. It includes the following features:
- An ERC20 token implementation.
- Upgradable.
- Minting and burning of the governed-token using a
token_adminaccount role. - Blocklist - a list of addresses that are not allowed to get any updates of the token.
- Pause/Unpause functionality.
- Cairo dependencies such as Scarb and Starknet foundry - install using starkup.
Clone the repo and from within the projects root folder run:
curl --proto '=https' --tlsv1.2 -sSf https://sh.starkup.dev | shReach out to the maintainer at any of the following:
- GitHub Discussions
- Contact options listed on this GitHub profile
Build the contracts from the repo root:
scarb buildTo run the tests, execute:
scarb testStarknet Governed Token follows good practices of security, but 100% security cannot be assured. Starknet Governed Token is provided "as is" without any warranty. Use at your own risk.
For more information and to report security issues, please refer to our security documentation.