solXEN Mining User Guide (Rust/Nodejs) 2024.06.07

Document maintained by xen_artist

 

Install From Binaries

 

Download the package for your OS. Extract and run.

https://github.com/FairCrypto/sol-xen/releases/latest

 

Windows

 

MacOS

 

Linux (x86_64)

 

Linux (arm64)

 

Install From Source

 

1. Download Solana Wallet

 

Mac & Linux

Note: Changes made to a profile file may not apply until the next time you log into your computer. To apply the changes immediately, just run the shell commands directly or execute them from the profile using a command such as source $HOME/.profile.

Windows

Please use WSL (Windows Subsystem for Linux) on Windows 10 & 11 to execute all the Linux based instructions provided.

 

 

2. Create 4 new wallets

 

3. Recharge mining wallet

3.1 Get SOL airdrop for 4 wallets (XOLANA devnet ONLY)

If you plan to run the sol-xen mining program on the Xolana development network:

 

3.2 Fund SOL to mining wallets (Solana mainnet-beta ONLY)

If you plan to run the sol-xen mining program on the Solana mainnet-beta network:

 

4. Install Rust/Nodejs

 

Just choose one way to run the mining client, Rust or Nodejs.

No need to install both of them.

 

4.1 Install rustc, cargo (if you run rust mining client)

 

4.2 Install nodejs (if you run nodejs mining client)

or

which should output nvm if the installation was successful. Please note that which nvm will not work, since nvm is a sourced shell function, not an executable binary.

Note: On Linux, after running the install script, if you get nvm: command not found or see no feedback from your terminal after you type command -v nvm, simply close your current terminal, open a new terminal, and try verifying again.

Output as following:

 

 

5. Get solXEN Miner code

5.1 For XOLANA devnet (epsilon branch)

5.2 For Solana mainnet-beta (master branch)

 

6. Config .env file

 

6.1 Add/Edit the .env file

or

6.2.1 For XOLANA devnet

6.2.2 For Solana mainnet-beta

** make sure you have the right user wallet path (where you keypairs are) **

 

7. Run miners

 

7.1 Nodejs miner - 4-in-1 box

Please remember to replace the to your ETH format address for further receiving XN airdrop purposes. (Self-Custody Crypto Wallet)

 

7.2 Rust miner - Run 4 miners one by one

Please remember to replace the to your ETH format address for further receiving XN airdrop purposes. (Self-Custody Crypto Wallet)

 

 

8. Mint Token (solXEN)

 

8.1 Nodejs client Mint Token

 

8.2 Rust client Mint Token

Please remember to replace the example to your ETH format address for further receiving XN airdrop purposes. (Self-Custody Crypto Wallet)

 

 

9. Check minted Token Balance