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

[Proposal] Distributing Additional Rewards to P-Chain Delegators Using a C-Chain Contract #3669

Open
toran777 opened this issue Jan 23, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@toran777
Copy link

I’m looking for a way to distribute extra rewards to users who delegate on the P-Chain. However, I want to handle both the collection and distribution of these rewards on the C-Chain for efficiency and flexibility.
A smart contract on the C-Chain holds these funds. Delegators can claim based on how much and how long they have staked on the P-Chain.

Questions

  1. How do I reliably map a P-Chain delegator to a specific C-Chain address for claiming rewards?
  2. How can I periodically calculate how much each delegator should get without incurring high gas fees?
  3. Are there recommended approaches to distribute rewards efficiently and transparently?
  4. I’d rather not send a separate P-Chain transaction to each delegator if possible. What’s the simplest strategy to keep everything on the C-Chain once the rewards are there?
@toran777 toran777 added the enhancement New feature or request label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant