Skip to content

metaplex-foundation/mpl-core-staking-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This repository provides a practical example of how to set up a staking program for your NFT collection using either Anchor or TypeScript. By utilizing the Attribute and Freeze Delegate plugins, it efficiently manages the entire staking process, from time calculations to asset state management (staking/unstaking). Instead of relying on the traditional Program Derived Address (PDA) method, this approach stores staking data directly on the asset itself.

Guides

About

Staking Example using On-chain Attributes for Core Assets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published