An open API service indexing awesome lists of open source software.

https://github.com/meomundep/magma

Auto stake, unstake, connect wallet.
https://github.com/meomundep/magma

abi airdrop airdrop-claim-bot airdrop-farm airdrop-free airdrops-bot airdrops-tools contract magma meomundep monad smart testnet web3

Last synced: 2 months ago
JSON representation

Auto stake, unstake, connect wallet.

Awesome Lists containing this project

README

          

# πŸš€ Bot Setup Instructions

Welcome to the bot setup guide! Follow the steps below to install and configure the bot correctly.
This guide is designed to be **beginner-friendly**, with clear explanations for each step.

> πŸ“± [Termux guide (for mobile users)](https://github.com/MeoMunDep/Guides-for-using-my-script-on-termux)

---

## πŸ“˜ Table of Contents

1. [Prerequisites](#prerequisites)
2. [Installation Steps](#installation-steps)
3. [Configuration Files](#configuration-files)
4. [Running the Bot](#running-the-bot)
5. [Contact and Support](#contact-and-support)

---

🧰 1. Prerequisites

Before running the bot, make sure you have the following installed:

- **Node.js** (Version: `22.11.0`)
- **npm** (Version: `10.9.0`)

πŸ“¦ Download Node.js and npm here: [Download Link](https://t.me/KeoAirDropFreeNe/257/1462)

> πŸͺŸ On **Windows**, double-click `run.bat`
> 🐧 On **Linux/macOS**, use `run.sh`
> ⚠️ Make sure to fill in all the configuration files before running the bot.

---

βš™οΈ 2. Installation Steps

### 1️⃣ Download and Extract the Bot Files

Extract the bot package into a folder on your computer.

---

### 2️⃣ Install Dependencies

Open your terminal or command prompt, navigate to the folder containing the bot files, and run:

```bash
npm install --force user-agents axios meo-forkcy-colors meo-forkcy-utils meo-forkcy-proxy meo-forkcy-logger ethers
```

#### πŸͺŸ If You See Execution Policy Errors (Windows)

```bash
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
```

Then run the npm install command again.

#### 🐧 If You Face Permission Errors (Linux/macOS)

```bash
sudo npm install --force user-agents axios meo-forkcy-colors meo-forkcy-utils meo-forkcy-proxy meo-forkcy-logger ethers
```

---

### 3️⃣ Prepare Configuration Files

Ensure all configuration files (`configs.json`, `privateKeys.txt`, and `proxies.txt`) are properly filled out before running the bot.

---

🧾 3. Configuration Files

πŸ“œ 1. configs.json – Bot Settings

This file defines how the bot behaves and interacts with the staking system.

#### 🧩 Example Configuration:

```json
{
"skipInvalidProxy": false,
"delayEachAccount": [1, 1],
"timeToRestartAllAccounts": 86400,
"howManyAccountsRunInOneTime": 1,

"unstake": {
"enable": true,
"amount": [0.001, 0.002]
},

"stake": {
"enable": true,
"amount": [0.001, 0.002]
}
}
```

---

#### βš™οΈ Main Fields

| Field | Type | Description |
| ----------------------------- | ------------------ | ---------------------------------------------------- |
| `skipInvalidProxy` | `boolean` | Skip invalid proxies instead of stopping the bot. |
| `delayEachAccount` | `[number, number]` | Random delay (seconds) between running each account. |
| `timeToRestartAllAccounts` | `number` | Restart all accounts after this many seconds. |
| `howManyAccountsRunInOneTime` | `number` | Number of accounts to process concurrently. |

---

#### πŸ’Ž `stake` Configuration

| Field | Type | Description |
| -------- | ------------------ | -------------------------------------------- |
| `enable` | `boolean` | Enable or disable staking. |
| `amount` | `[number, number]` | Random range of tokens to stake per account. |

🧠 Example: `[0.001, 0.002]` β†’ stakes random values like `0.0014`, `0.0018`, etc.

---

#### πŸ”“ `unstake` Configuration

| Field | Type | Description |
| -------- | ------------------ | ---------------------------------------------- |
| `enable` | `boolean` | Enable or disable unstaking. |
| `amount` | `[number, number]` | Random range of tokens to unstake per account. |

🧠 Example: `[0.001, 0.002]` β†’ unstake random values in that range.

---

πŸ’‘ **Recommended Setup:**

- **Stake only:**

```json
"stake": { "enable": true },
"unstake": { "enable": false }
```

- **Unstake then restake automatically:**

```json
"unstake": { "enable": true },
"stake": { "enable": true, "restakeAfterUnstake": true }
```

---

πŸ—‚οΈ 2. privateKeys.txt – Wallet Data

Each line should contain one **EVM private key**:

```txt
evm_privatekey_1
evm_privatekey_2
evm_privatekey_3
```

πŸ“¦ Wallet generator: [Create wallets easily here](https://github.com/MeoMunDep/Automatic-Ultimate-Create-Wallets-for-Airdrop)

---

🌐 3. proxies.txt – Proxy List (Optional)

If you’re using proxies, add them here (one per line).
If not, leave the file empty.

Supported formats:

```txt
http://host:port
https://host:port
socks4://host:port
socks5://host:port
http://user:password@host:port
socks5://user:password@host:port
```

πŸ”— [Get free proxies here](https://www.webshare.io/?referral_code=4l5kb3glsce7)

---

▢️ 4. Running the Bot

1️⃣ Navigate to the bot folder:

```bash
cd /path/to/magma
```

2️⃣ Run the bot:

```bash
node meomundep.js
```

> πŸ’‘ Tip: Keep the terminal open β€” the bot automatically handles staking and unstaking for all wallets in rotation.

---

πŸ’¬ 5. Contact and Support

- 🌐 **Magma Website:** [Visit here](https://www.magmastaking.xyz/?invitedBy=hX5MPe)
- πŸ’Έ **Buy me a Telegram Account:** [Option 1](https://t.me/KeoAirDropFreeNe/312/27801) or [Option 2](https://github.com/MeoMunDep/MeoMunDep)
- πŸ§‘β€πŸ’» **Contact Me:** [Telegram](https://t.me/MeoMunDep)
- πŸ‘₯ **Join the Group:** [Community Chat](https://t.me/KeoAirDropFreeNe)
- πŸ“’ **Channel Updates:** [Follow Here](https://t.me/KeoAirDropFreeNee)

🐱 _Your support is greatly appreciated β€” it keeps development going!_

---

βœ… **Enjoy using the bot!**
If this guide helped you, don’t forget to ⭐ the project on GitHub!