Use these instructions to mine for selacoins.
Open your Sela wallet, and make sure your wallet is connected with a node using the addnode=%some ip% in the coin app data /selacoin/selacoin.conf file
You will know your wallet is connected when you see the icon in the lower corner of your wallet.
The message “Synchronizing with network…” will disappear once you mine your first block on the selacoin network.
Close your wallet and create the file selacoin.conf in the folder “%APPDATA%\selacoin\”.
Paste the following text into selacoin.conf and save the file. or you can download the selacoin.conf file from here – download
rpcuser=rpc_selacoin
rpcpassword=2519d4ef50064515486153139
rpcallowip=127.0.0.1
rpcport=25521
listen=1
server=1
Download cpuminer from here and extract the zip file.
Create a .bat file named mine.bat and paste the following text into mine.bat.
minerd --url=http://127.0.0.1:25521--userpass=rpc_selacoin:2519d4ef50064515486153139
Save the file inside the extracted cpuminer folder.
Open your wallet and execute mine.bat to start mining your first Sela block.
Use the following instructions to mine a SleaCoin block if you are using macos (apple).
The message “Synchronizing with network…” will disappear once you mine your first block.
2. Close your wallet and create the file selacoin.conf in the folder “$HOME/Library/Application Support/SelaCoin/”.
3. Paste the following text into selacoin.conf and save the file.
rpcuser=rpc_selacoin
rpcpassword=2519d4ef50064515486153139
rpcallowip=127.0.0.1
rpcport=25521
listen=1
server=1
4. Re-Open your SelaCoin wallet and let it sync, leave it open.
5. Download cpuminer for macOS from here and extract the zip file.
6. Click the Finder icon in your dock.
Click Go.
Click Utilities.
Double-click Terminal.
Go to the directory where you extracted cpuminer.
For example if you downloaded it to the downloads directory, then you’d cd in to the the Downloads folder by pasting this in the terminal :
cd Downloads
7. Execute the following command in Terminal to start mining your first block.
./minerd --url=http://127.0.0.1:25521 --userpass=rpc_selacoin:2519d4ef50064515486153139
This can happpen in all crypto currrencies aspecially at first when there are fewer nodes.
the solution doesnt require any thing from you as the error will dissapear when another block is mined .
1) Close your wallet.
2) Open the folder “%APPDATA%\selacoin\”.
3) Copy the file “wallet.dat” to a safe location, as that is the most important file and holds all of your funds .
4)It is highly recoomended to perform this action at least once a day or when ever the wallet recieves new funds
1) Open the console of your Selacoin wallet.
2) Unlocking your wallet is only required when you encrypted your wallet with a password/ parraphrase.
Unlock your wallet using the following command:
walletpassphrase mypassword 600
Replace the text “mypassword” with the password you used to encrypt your wallet.
The number 600 is the amount of seconds your wallet will remain unlocked.
Example:
walletpassphrase topsecretpassword 600
3) Export your private key using the following command:
dumpprivkey mywalletaddress
Replace the text “mywalletaddress” with an actual wallet address that can be obtained from “recieve” menu in the maiin selacoin wallet gui.
Example:
dumpprivkey S678777gmDvi7CQVqdktP4dghghhytr5fg
Example output:
VZt9WMWuJF5zbTCJSuX9cwZdtuMzPhz7EkAZUFBxsvak33wg8Kvr
copy the output, and save it somewhere safe as that is your private key!!
1) Open the console of your wallet.
2) This step is only required if you encrypted your wallet with a password/parrphrase.
First you will need to unlock your wallet using the following command:
walletpassphrase mypassword 600
Replace the text “mypassword” with the password you used to encrypt your wallet.
The number 600 is the amount of seconds your wallet will remain unlocked.
Example:
walletpassphrase mytopsecretpassword 600
3) Import your private key using the following command:
importprivkey myprivatekey
Replace the text “myprivatekey” with your private key you exported in the previos step.
Example:
importprivkey
1) Open the console of your wallet.
2) Unlocking your wallet is only required when you encrypted your wallet with a password.
Unlock your wallet using the following command:
walletpassphrase mypassword 600
Replace the text “mypassword” with the password you used used to encrypt your wallet.
The number 60 is the amount of seconds your wallet is unlocked.
Example:
walletpassphrase topsecretpassword 600
3) Import your private key using the following command:
importprivkey myprivatekey
Replace the text “myprivatekey” with your private key.
Example:
importprivkey VZt9WMWuJF5zbTCJSuX9cwZdtuMzPhz7EkAZUFBxsvak33wg8Kvr
UFBxsvak33wg8Kvr
1) Close your SelaCoin wallet.
2) Open the folder “%APPDATA%\selacoin\”.
3) Make an (extra) backup of the file “wallet.dat”.
4) Copy the file “wallet.dat” from your original backup you made back to the folder “%APPDATA%\selacoin\”.
5) Make sure to keep things organized, because if you accidently delete a backup wallet.dat file there will be no way to recover the funds that were in that file – so make sure to backup to several safe locations!
Use the following instructions to start your wallet on Raspbian Stretch.
Update your Raspberry Pi.
sudo apt-get update
sudo apt-get upgrade
Install the required dependencies.
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils python3
sudo apt-get install
libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libboost-all-dev libboost-program-options-dev
sudo apt-get install libminiupnpc-dev libzmq3-dev libprotobuf-dev protobuf-compiler unzip software-properties-common
Install Berkeley DB from source code.
wget https://download.oracle.com/berkeley-db/db-4.8.30.zip
unzip db-4.8.30.zip
cd db-4.8.30
cd build_unix/
../dist/configure --prefix=/usr/local --enable-cxx
make
sudo make install
Configure environment variable.
export LD_LIBRARY_PATH="/usr/local/lib"
The error message saying “You need to rebuild the database using -reindex to change -txindex.” is caused by the setting “txindex=1” in your selacoin .conf file.
Use these instructions to fix it.
1) Close your SelaCoin wallet.
2) Make a backup of the entire folder “%APPDATA%\selacoin\”.
3) Remove everything in the folder “%APPDATA%\selacoin\” except wallet.dat and selacoin.conf files.
4) Start your wallet Again.
Close your wallet and create the file selacoin.conf in the folder “%APPDATA%\selacoin\”.
Paste the following text into selacoin.conf and save the file.
addnode=REPLACE_WITH_YOUR_IP_OR_HOSTNAME
Replace the text “REPLACE_WITH_YOUR_IP_OR_HOSTNAME” with an IP
address or hostname.
these are just some of the public nodes we have so far:
161.35.253.52
167.172.3.171
addnode=167.172.3.171
addnode=161.35.253.52
Install Ubuntu Server 18.04 on a VPS – i recommend using digital ocean
here is a promo code giving you 100$ to start your own node with digital ocean
https://m.do.co/c/7474750982e8
Update your Ubuntu machine.
sudo apt-get update
sudo apt-get upgrade
Install the required dependencies.
sudo apt-get install libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libdb-dev libdb++-dev libminiupnpc-dev
wget "https://sela-coin.com/download/tools/selacoin-daemon-linux.tar.gz" -O selacoin-daemon-linux.tar.gz
Extract the tar file.
tar -xzvf selacoin-daemon-linux.tar.gz
Install the daemon.
sudo mv selacoind /usr/bin/
Create the config file.
mkdir $HOME/.selacoin
nano $HOME/.selacoin/selacoin.conf
Paste the following lines in selacoin.conf.
rpcuser=rpc_selacoin
rpcpassword=69c863e3356d3dae95df454a1
rpcallowip=127.0.0.1
listen=1
server=1
txindex=1
staking=0
daemon=1
Start your node with the following command.
selacoind
make note of the ipv4 adress to the server /droplet – that is your node address
Update your CentOS machine.
yum update -y
Install the EPEL repository.
yum install -y epel-release
Install the required dependencies.
yum install -y gcc-c++ boost-devel libdb4-cxx libdb4-cxx-devel openssl-devel miniupnpc-devel wget unzip
Install Berkeley DB from source code.
cd $HOME
wget https://download.oracle.com/berkeley-db/db-4.8.30.zip
unzip db-4.8.30.zip
cd db-4.8.30
cd build_unix/
../dist/configure --prefix=/usr/local --enable-cxx
make
make install
Create a directory for the source code.
cd $HOME
mkdir source_code
cd source_code
wget "https://sela-coin.com/download/tools/selacoin-source.tar.gz" -O selacoin-source.tar.gz
Extract the tar file.
tar -xzvf selacoin-source.tar.gz
Execute the following commands to compile the daemon.
cd src/
make -f makefile.unix RELEASE=1
The compiling will take about 60 minutes depending on your system.
Install the daemon.
cp selacoind /usr/bin/
Create the config file.
mkdir $HOME/.selacoin
nano $HOME/.selacoin/selacoin.conf
Paste the following lines in selacoin.conf.
rpcuser=rpc_selacoin
rpcpassword=69c863e3356d3dae95df454a1
rpcallowip=127.0.0.1
listen=1
server=1
txindex=1
staking=0
daemon=1
Start your node with the following command.
selacoind
Use the following instructions to cross-compile the selacoin wallet for Windows using Ubuntu Server 18.04.
1) Update your Ubuntu machine.
sudo apt-get update
sudo apt-get upgrade
2) Install the required dependencies for MXE.
sudo apt-get install p7zip-full autoconf automake autopoint bash bison
sudo apt-get install bzip2 cmake flex gettext git g++ gperf libgtk2.0-dev ntltool libffi-dev libtool libtool-bin
sudo apt-get install libltdl-dev libssl-dev libxml-parser-perl make openssl patch perl pkg-config python ruby scons sed unzip wget xz-utils lzip python-pip g++-multilib libc6-dev-i386
3) Clone the MXE repository
cd /mnt
sudo git clone https://github.com/mxe/mxe.git
4) Compile Boost
cd /mnt/mxe
sudo make MXE_TARGETS="i686-w64-mingw32.static" boost
5) Compile QT5
cd /mnt/mxe
sudo make MXE_TARGETS="i686-w64-mingw32.static" qttools
6) Download and unpack Berkeley DB.
cd /mnt
sudo wget https://download.oracle.com/berkeley-db/db-4.8.30.tar.gz
sudo tar zxvf db-4.8.30.tar.gz
7) Create bash script to install Berkeley DB.
cd /mnt/db-4.8.30
sudo touch compile-db.sh
sudo chmod ugo+x compile-db.sh
8) Edit the newly created bash file compile-db.sh.
sudo nano compile-db.sh
9) Paste the following in the file compile-db.sh
#!/bin/bash
MXE_PATH=/mnt/mxe
sed -i "s/WinIoCtl.h/winioctl.h/g" src/dbinc/win_db.h
mkdir build_mxe
cd build_mxe
CC=$MXE_PATH/usr/bin/i686-w64-mingw32.static-gcc \
CXX=$MXE_PATH/usr/bin/i686-w64-mingw32.static-g++ \
../dist/configure \
--disable-replication \
--enable-mingw \
--enable-cxx \
--host x86 \
--prefix=$MXE_PATH/usr/i686-w64-mingw32.static
make
make install
10) Compile Berkeley DB.
sudo ./compile-db.sh
11) Download and unpack miniupnp.
cd /mnt
sudo wget http://miniupnp.free.fr/files/miniupnpc-1.9.tar.gz
sudo tar zxvf miniupnpc-1.9.tar.gz
12) Create bash script to install miniupnp.
cd /mnt/miniupnpc-1.9
sudo touch compile-upnp.sh
sudo chmod ugo+x compile-upnp.sh
13) Edit the file compile-upnp.sh.
sudo nano compile-upnp.sh
14) Paste the following in the file compile-upnp.sh
#!/bin/bash
MXE_PATH=/mnt/mxe
CC=$MXE_PATH/usr/bin/i686-w64-mingw32.static-gcc \
AR=$MXE_PATH/usr/bin/i686-w64-mingw32.static-ar \
CFLAGS="-DSTATICLIB -I$MXE_PATH/usr/i686-w64-mingw32.static/include" \
LDFLAGS="-L$MXE_PATH/usr/i686-w64-mingw32.static/lib" \
make libminiupnpc.a
mkdir $MXE_PATH/usr/i686-w64-mingw32.static/include/miniupnpc
cp *.h $MXE_PATH/usr/i686-w64-mingw32.static/include/miniupnpc
cp libminiupnpc.a $MXE_PATH/usr/i686-w64-mingw32.static/lib
15) Compile miniupnp.
sudo ./compile-upnp.sh
16) Install OpenSSL.
cd /mnt/mxe
sudo make openssl1.0 MXE_PLUGIN_DIRS=plugins/selas/openssl1.0/
17) Create a directory for the selacoin source code.
cd ~/
mkdir source_code
cd source_code
wget "https://sela-coin.com/download/tools/selacoin-source.tar.gz" -O selacoin-source.tar.gz
17) Extract the tar file.
tar -xzvf selacoin-source.tar.gz
18) Create bash script to compile your windows wallet.
touch compile-blockchain.sh
chmod ugo+x compile-blockchain.sh
19) Edit the file compile-blockchain.sh.
sudo nano compile-blockchain.sh
20) Paste the following in the file compile-blockchain.sh.
#!/bin/bash
export PATH=/mnt/mxe/usr/bin:$PATH
MXE_INCLUDE_PATH=/mnt/mxe/usr/i686-w64-mingw32.static/include
MXE_LIB_PATH=/mnt/mxe/usr/i686-w64-mingw32.static/lib
i686-w64-mingw32.static-qmake-qt5 \
RELEASE=1 \
BOOST_LIB_SUFFIX=-mt \
BOOST_THREAD_LIB_SUFFIX=_win32-mt \
BOOST_INCLUDE_PATH=$MXE_INCLUDE_PATH/boost \
BOOST_LIB_PATH=$MXE_LIB_PATH \
OPENSSL_INCLUDE_PATH=$MXE_INCLUDE_PATH/openssl \
OPENSSL_LIB_PATH=$MXE_LIB_PATH \
BDB_INCLUDE_PATH=$MXE_INCLUDE_PATH \
BDB_LIB_PATH=$MXE_LIB_PATH \
MINIUPNPC_INCLUDE_PATH=$MXE_INCLUDE_PATH \
MINIUPNPC_LIB_PATH=$MXE_LIB_PATH \
QMAKE_LRELEASE=/mnt/mxe/usr/i686-w64-mingw32.static/qt5/bin/lrelease SelaCoin-qt.pro
make -f Makefile.Release
21) Now Compile your SelaCoin Windows wallet using the following command :
./compile-blockchain.sh
**** The compiling will take about 60 minutes depending on your system hardware.*******
***** Your compiled wallet named selacoin-qt.exe can be found in the folder “release” when compiling is finished.******
addnode=161.97.185.151
addnode=167.172.3.171
rpcuser=rpc_selacoin
rpcpassword=2519d4ef50064515486153139
rpcallowip=127.0.0.1
rpcport=25521
listen=1
server=1
addnode=138.197.229.115
addnode=161.97.185.151
You can contact SelaCoin project development team at [email protected]
You can also contact SelaCoin project official team at [email protected]
Today we are happy to finally announce the launch of Selacoin.
— selacoin (@selacoin1) October 17, 2020
a quick info and history on on sela - sela was one of the first coins in history to be made purely out of nickel.
it was one of starting points for modern cash systems.https://t.co/2y8IxrCZbN