https://github.com/starkware-libs/sn-governed-token
https://github.com/starkware-libs/sn-governed-token
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/starkware-libs/sn-governed-token
- Owner: starkware-libs
- License: apache-2.0
- Created: 2025-07-17T08:37:33.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-09-04T17:07:19.000Z (10 months ago)
- Last Synced: 2026-02-17T21:41:14.232Z (4 months ago)
- Language: Cairo
- Size: 52.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: docs/CODE_OF_CONDUCT.md
- Security: docs/SECURITY.md
Awesome Lists containing this project
README

[](LICENSE)
# Starknet Governed Token
## Content
- [Overview](#overview)
- [Dependencies](#dependencies)
- [Installation](#installation)
- [Getting help](#getting-help)
- [Build and Test](#build-and-test)
- [Security](#security)
## Overview
This repo contains a simple governed-token implementation on Starknet.
It includes the following features:
1. An ERC20 token implementation.
2. Upgradable.
3. Minting and burning of the governed-token using a `token_admin` account role.
4. Blocklist - a list of addresses that are not allowed to get any updates of the token.
5. Pause/Unpause functionality.
## Dependencies
- Cairo dependencies such as [Scarb](https://docs.swmansion.com/scarb/) and [Starknet foundry](https://foundry-rs.github.io/starknet-foundry/index.html) - install using [starkup](https://github.com/software-mansion/starkup).
## Installation
Clone the repo and from within the projects root folder run:
```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.starkup.dev | sh
```
## Getting help
Reach out to the maintainer at any of the following:
- [GitHub Discussions](https://github.com/starkware-libs/sn-governed-token/discussions)
- Contact options listed on this [GitHub profile](https://github.com/starkware-libs)
## Build and Test
Build the contracts from the repo root:
```bash
scarb build
```
To run the tests, execute:
```bash
scarb test
```
## Security
Starknet 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](https://github.com/starkware-libs/sn-governed-token/blob/main/docs/SECURITY.md).