Skip to content

mosaraza/mesh-staking

 
 

Repository files navigation

Staking Program

This program is deployed on Solana and supports the staking of $MESH and $indexMESH tokens. Users can stake these two SPL tokens and collect rewards in SOL, which accumulate per second and are distributed proportionally among all stakers.

Requirements

  • Anchor 0.29.0
  • Solana 1.18.1
  • Rust 1.75.0

Setup

Install Anchor using instructions found here.

Set up a valid Solana keypair at the path specified in the wallet in Anchor.toml and replace the pubkey of DEPLOYER with that account key in state.rs.

To do local testing with anchor test flows.

Addresses

Account Pubkey
Mainnet
Program pn2DE57M7smCc98A71DMV4jMQ7NdL7cs7azn9iPgN97
MESH MESHwqmXvAmKpDYSgRZkm9D5H8xYSCVixeyZoePHn4G
indexMESH iMESHdxK4fgZLU3FDTsT4tYatHXBbodQVParussnFMy
Devnet
Program HcgqAqH5MwpTACy2PXA91ecu98hr1Ewt7YAf5mHeT7zY
MESH MESHwqmXvAmKpDYSgRZkm9D5H8xYSCVixeyZoePHn4G
indexMESH iMESHdxK4fgZLU3FDTsT4tYatHXBbodQVParussnFMy

About

SPL token staking program.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 58.3%
  • Rust 41.7%