Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decide how to manage "payments" when GNOT will be locked #3081

Closed
moul opened this issue Nov 6, 2024 · 3 comments
Closed

Decide how to manage "payments" when GNOT will be locked #3081

moul opened this issue Nov 6, 2024 · 3 comments

Comments

@moul
Copy link
Member

moul commented Nov 6, 2024

Currently, we have some contracts, such as r/demo/users, that are requesting payments for actions (https://gno.land/r/demo/users/users.gno).

However, we will lock GNOT tokens at launch (#2980), so we need to find an alternative.

Here are some options:

  1. Use gas
  2. Use another native std.Coin, but not GNOT
  3. Use a grc20, which could be a future token
  4. Disable these features until we enable token transfers
@thehowl
Copy link
Member

thehowl commented Nov 6, 2024

I'm tempted to say 4: Disable these features until we enable token transfers. The reason is that I don't think we should officially have and support 'gnot' future tokens, because if they're used by the core team they're likely to have as much validity as unlocking gnot directly.

I am thinking that maybe we can support an alternative token, depending on the realm, to perform the "payment". This token can be awarded with a faucet depending on the project, or be airdropped similarly to GNOT to mimick the real token distribution. Then we can have a way to permanently switch it, in the realms, to using gnot instead; but use the "playground" token for the meantime.

@moul
Copy link
Member Author

moul commented Nov 6, 2024

I'm also trying to avoid 3.

I'm considering a "reputation" GRC20 (or non-transferable) token that will have its own earning mechanism, such as contributions. We might not expect the token to serve as a payment method, but rather as a way to unlock features when you have "enough" reputation.

@Kouteki Kouteki moved this from Onbloc (unconfirmed) to Core in 🍜 Seoul triage Nov 18, 2024
@moul
Copy link
Member Author

moul commented Nov 18, 2024

Right now, we have identified two main patterns:

Preventing abuses and DDoS attacks by requiring specific actions to be whitelisted by a DAO, or by expecting more contracts to implement an invite system.

  • Implementing a "target whitelist" in the GNOT lock module, enabling payments but only for whitelisted realms.

We expect to use these two patterns to reduce spam while still allowing people to create fully permissionless systems.

We can close this issue as we have a solution. However, please feel free to open a new one to suggest additional ideas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Core
Development

No branches or pull requests

2 participants