Staker Snapshot and Distribution Tooling #1
nothing0012
started this conversation in
Ideas
Replies: 1 comment
-
Experimental Staker Snapshot APIQuick and dirty staking snapshot API that's TTL cached every 12h. Alpha quality and can have breaking changes anytime. ImplementationRust: Onchain staking power calculationhttps://github.com/me-foundation/vetoken/blob/main/programs/vetoken/src/states.rs#L90-L139 Typescript: Offchain typescript code example |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Staker Snapshot and Distribution Tooling
Abstract
This MIP proposes the development of open-source tooling and infrastructure to enable easy access to Magic Eden staker snapshots and staking power calculations. The proposal aims to facilitate external communities and developers in distributing tokens, NFTs, or other assets to ME stakers based on their staking power.
Motivation
Currently, there is no standardized and easily accessible method for external projects to obtain snapshots of Magic Eden stakers and their respective staking power. This lack of accessibility hinders potential collaborations and community-driven initiatives that could benefit the Magic Eden ecosystem. By providing open sourced and transparent access to this data, we can foster innovation, encourage community engagement, and potentially increase the value proposition for ME stakers.
Specification
The proposed solution consists of two main components:
ME Foundation Website Staker Snapshot
Open-Source CLI Tool and Sample Code
Technical Details
Rationale
By providing official tools and infrastructure for staker snapshots, we ensure that all external projects use consistent and up-to-date data. This approach promotes fairness and transparency in any distribution events that leverage ME staker data. Additionally, by making the process open-source, we encourage community contributions and improvements to the tooling over time.
Backwards Compatibility
This proposal does not introduce any backwards incompatibilities as it is an additive feature to the existing ecosystem.
Spec
Staking Power Calculation: https://github.com/me-foundation/vetoken/blob/main/programs/vetoken/src/states.rs#L113-L139
Implementation
Security & Privacy Considerations
Beta Was this translation helpful? Give feedback.
All reactions