mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-26 14:32:01 +00:00
Pascal Precht
e4b8814bfa
feat(Communities): allow for creating community permissions
This commit is the first of implementing community permissions. **It is not implementing the complete feature**, rather does it introduce the first pieces, such that we can get code reviewed and merged before it grows too big. To review these features, please make sure to 1. Enable wallet (Settings -> Advanced -> Wallet toggle) 2. Enable community permissions (Settings -> Advanced -> Community Permissions toggle) You'll have to restart the app after doing so. The commit introduces the following: **UI, API calls and view models to CRUD community permissions** After creating a community, the user can go to the community settings and create new token permissions. The user can also update and delete existing permissions. **Asset and collectible view models** To create community token permissions, users have to select the token criteria. This commit introduces the `assetsModel` for ERC20 tokens and `collectiblesModel` for `ERC721` tokens. The latter only supports custom minted community tokens at this point. **This commit requires:** https://github.com/status-im/status-go/pull/3207
Status-desktop
Desktop client for the Status Network built with Nim and Qt
Dev Docs: https://hackmd.io/@status-desktop/B1naRjxh_/https%3A%2F%2Fhackmd.io%2F%40status-desktop%2FB1eOaf-nd
Description
Languages
QML
38.7%
JavaScript
29.9%
Nim
18.7%
Python
5.7%
C++
5.3%
Other
1.6%