how to mine?
Simple Guide to Set Up Longcoin Wallet and Mine Your First Block
1. Extract the Wallet Files- Open File Explorer and navigate to your Downloads directory.
- Extract the file
longcoin-qt-windows.zip to a folder.
2. Create the Configuration File- Open "Run" using
WinKey + R.
- Type
notepad and press
OK.
- Paste the following into Notepad:
rpcuser=rpc_longcoin
rpcpassword=dR2oBQ3K1zYMZQtJFZeAerhWxaJ5Lqeq9J2
rpcbind=127.0.0.1
rpcallowip=127.0.0.1
listen=1
server=1
addnode=77.105.161.236
- Click
File -> Save As....
- Choose
Save as type: All Files (*.*).
- Save the file as
longcoin.conf in:
%appdata%\Longcoin (create the "Longcoin" folder if it doesn’t exist).
3. Create the Mining Script- Open a new Notepad window (
Ctrl + N).
- Paste the following into Notepad:
@echo off
set SCRIPT_PATH=%cd%
cd %SCRIPT_PATH%
echo Press [CTRL+C] to stop mining.
:begin
for /f %%i in ('longcoin-cli.exe getnewaddress') do set WALLET_ADDRESS=%%i
longcoin-cli.exe generatetoaddress 1 %WALLET_ADDRESS%
goto begin
- Click
File -> Save As....
- Choose
Save as type: All Files (*.*).
- Save the file as
mine.bat in the folder where you extracted
longcoin-qt-windows.zip.
4. Start Mining- Open your Longcoin wallet.
- Run
mine.bat to start mining your first block.
You’re now set up to mine Longcoin. Enjoy your first steps into decentralized finance!