Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/udayj/starknet_token_distributor
https://github.com/udayj/starknet_token_distributor
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/udayj/starknet_token_distributor
- Owner: udayj
- Created: 2024-08-24T09:46:29.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-24T10:06:03.000Z (3 months ago)
- Last Synced: 2024-08-24T11:23:55.367Z (3 months ago)
- Language: Cairo
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
**Brief Project Summary**
This project has a rudimentary implementation of a locked token and token distribution mechanism.
Lets say, Project A wants to distribute its token TKT to its users but does not want them to immediately create sell pressure but rather unlock it after sometime.
They can issue a locked Token wTKT which is essentially an ERC20 without ability to approve / transfer / transfer_from. Users submit claim with signature which has been signed by a project approved oracle off-chain. The signature is verified and claimable amount of locked tokens are issued to the user. When swap period starts, users can transfer their locked tokens to the distributor contract and get back actual project tokens TKT.