Pages:
Author

Topic: [ANN] [Phantomx] coin -> online currency [PNX] | Pow/PoS X11 Masternode - page 35. (Read 52479 times)

member
Activity: 140
Merit: 10
Hello

I'va updated the wallet but my MN reward id still 25 coin, does someone recieves 50 coins reward?

I delited the old wallet and launched the new one. What I did wrong? please help me to resolve this

Thanx
newbie
Activity: 5
Merit: 0
i dont get it how to setup a linux vps node with my windows wallet :/ there is no masternode.conf file on windows..

Can some1 explain how to do this?

Thank you very much!
full member
Activity: 203
Merit: 101
"error: could not allocate vin for collateraladdress" is the reason for this error, is there anybody who can help?
full member
Activity: 203
Merit: 101
How can I run masternode in windows wallet?
full member
Activity: 281
Merit: 100
In the midst of all the info, i couldn't figure out how many tokens are required to set up a Masternode. Can someone tell me how many Tokens are required to setup a MN?
require 20000 PNX
full member
Activity: 126
Merit: 100
In the midst of all the info, i couldn't figure out how many tokens are required to set up a Masternode. Can someone tell me how many Tokens are required to setup a MN?
member
Activity: 224
Merit: 10
The project is interesting, but the idea is not new already. There were many such.
full member
Activity: 294
Merit: 100
Great project good luck dev i hope success full..  Wink
member
Activity: 208
Merit: 15
I’m looking for a setup to install more than one Masternode. Hot/cold on Linux VPS and windows pc.
member
Activity: 84
Merit: 10
Pool Phantomx


Fee 2%
No registration
Auto payments 30 min

TimeTeh.com
member
Activity: 160
Merit: 18
Thanks, your guide is very helpful with step by step for a complete newbie into linux like me.

I'm glad to help you!
full member
Activity: 140
Merit: 100
Soon will be more than 100 masternode!

Soon the developer will destroy some of his coins and the price will go up!

Are looking forward to!  Wink
full member
Activity: 653
Merit: 183
I know you guys can find a lot of guides like that on the Internet, but I will describe step-by-step for PNX:
 1 - HOW TO PREPARE THE LINUX ENVIRONMENT
 2 - HOW TO CREATE A WALLET ON LINUX
 3 - HOW TO CREATE A MASTERNODE ON LINUX UBUNTU

1 - HOW TO PREPARE THE LINUX ENVIRONMENT

I'm considering you know the basic linux command lines.
I'm using instances T2.MICRO on AWS (Amazon Web Services) - clear machine with Ubuntu 16.04
Why AWS? Because I never had problems and it always works 24h/7d

By the way...
================ Step 01 // Updates ================
>> updating the system and also the packages installed
Code:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

================ Step 02 // Virtual Memory ================
T2.MICRO has only 1Gb of RAM (on that case is Ok), but let's to increment the memory for swap.
Paging works by creating an area on your hard drive and using it for extra memory, this memory is much slower than normal memory however much more of it is available.
Code:
sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024
sudo /sbin/mkswap /var/swap.1
sudo chmod 600 /var/swap.1
sudo /sbin/swapon /var/swap.1

If you need more than 1024 then change that to something higher.
To enable it by default after reboot, add this line to /etc/fstab:

Code:
sudo vi /etc/fstab

On the end of file, add this line:
Code:
/var/swap.1   swap    swap    defaults        0   0

PS if you never has used the VIM Editor:
Quote
Press i to insert using VI. To save it, press ESC, after : + x + ENTER

================ Step 03 // Restarting the OS ================

If all steps are OK, just restart the machine:
Code:
sudo shutdown -r now


================ Step 04 // Blocking attempt of invasion  ================

This topic is small (minimal) of I will show!
On the AWS I recommend you block all ports and install also a firewall with good rules.
Again... this is not too much!

Let's install the DenyHosts
Code:
sudo apt-get install denyhosts

Now, you can configure the DenyHosts as you want (email, iptables, etc):
Code:
sudo vi /etc/denyhosts.conf

Restarting the DenyHosts
Code:
sudo /etc/init.d/denyhosts restart


I recommend you find more detail on the internet about DenyHosts



================ Step 05 // IPTables - small rules  ================
Again, find on the internet how to improve the safety of your VPS on the internet.
I like to use IPTABLES.

Blocking the PING
Code:
iptables -A INPUT -p icmp --icmp-type echo-request -j DROP

Releasing the PNX ports
Code:
# main port
iptables -A INPUT -p tcp --dport 9340 -j ACCEPT
# rpc port
iptables -A INPUT -p tcp --dport 9341 -j ACCEPT

Thanks, your guide is very helpful with step by step for a complete newbie into linux like me.
member
Activity: 160
Merit: 18
3 - HOW TO CREATE A MASTERNODE ON LINUX - UBUNTU

To create a PNX Masternode, you need to have 20.000 coins.

If you followed the instructions on step 1 and step 2, now, let use the alias command!
First of all, let's create the phantomx.conf file with all configuration on that.


================ Step 01 // Getting infos ================

Again, getting the wallet address:
Code:
pnx getaccountaddress 0

Get you private key - do not send for anyone:
Code:
pnx dumpprivkey 

Identifying your EXTERNAL IP Address
Code:
dig +short myip.opendns.com @resolver1.opendns.com

================ Step 02 // Configuring your wallet ================

Creating the CONFIG file
Code:
vi /wallets/phantomx/.wallet/phantomx.conf

Insert these lines in your phantomx.conf
Quote
rpcallowip=127.0.0.1
rpcuser=
rpcpassword=
staking=0
server=1
listen=1
port=9340
masternode=1
masternodeaddr=:9340
masternodeprivkey=


Quote
IF YOU NEED NODES, you can add these nodes in your phantomx.conf
addnode=54.218.118.59:9340
addnode=54.218.118.59:9341


You can change the PORT and RPCPORT, but do not forget to release them on the FIREWALL and AWS NETWORK CONSOLE

================ Step 03 // Restarting ================

Restart your wallet:
Code:
pnx stop
sleep 15
pnx -daemon -server

You also can check the log if there are errors:
more /wallets/phantomx/.wallet/debug.log

if you want to test if the remote wallet address is OK, use TELNET in your personal PC.
Do not use in your current PNX VPS
Code:
telnet  
telnet 9341


================ Step 04 // Sending PNX Coins ================

Send 20.000 PNX for your new address
Code:
pnx getaccountaddress 0

Waiting the TX be confirmed. You can accomplish it via:
Code:
pnx listtransactions

or checking your balance:
Code:
pnx getbalance


================ Step 05 // Starting your Masternode ================

If all steps are OK, now you can start your Masternode
Code:
pnx masternode start

If started very well, after some seconds, you can check your masternode online here:
pnx masternode list | grep


I hope it can be useful.
I'm not the Geday... I'm just one guy trying helping who needs.

Do not forget to encrypt your wallet and make a backup of the files
Quote
- wallet.dat
  - phantomx.conf
member
Activity: 160
Merit: 18
2 - HOW TO CREATE A WALLET ON LINUX

Let's install all packages/libraries to install the wallet (packages described on GitHub):
Code:
sudo apt-get install build-essential libssl-dev libboost-all-dev git libdb5.3++-dev libminiupnpc-dev screen

I like to create a wallet and wallet data in specific folder.
You do not need to follow these steps and install in your home folder.

================ Step 01 // Preparing the environment ================

First, let's create the folder
Code:
sudo mkdir /wallets

Giving permission for all (you can be more specific to be safety)
Code:
sudo chmod 777 /wallets

================ Step 02 // Getting the wallet ================

Let's download the Git Code:
Code:
cd /wallets
git clone https://github.com/phantomxdev/phantomx.git

Compiling the code:
Code:
cd /wallets/phantomx/src/leveldb
chmod +x build_detect_platform
cd ..
sudo make -f makefile.unix

Copying the bin for /wallet (main folder)
Code:
cp /wallets/phantomx/src/phantomxd /wallets/phantomx/


================ Step 03 // Personalizing the DATA FOLDER ================

All data about the PNX will be saved here (wallet, conf, bootstrap, etc):
Code:
mkdir /wallets/phantomx/.wallet

Starting the Wallet
Code:
/wallets/phantomx/phantomxd -datadir=/wallets/phantomx/.wallet -daemon -server

While the Wallet is being updated, you can view when it's done here:
PS: It will take long time running
Code:
tail -f /wallets/phantomx/.wallet/debug.log


================ Step 04 // Creating alias ================

ALIAS will help us to reduce the code when you write it on the prompt.
Code:
alias pnx="/wallets/phantomx/phantomxd -datadir=/wallets/phantomx/.wallet"

Now, type only:
Code:
pnx getinfo

instead of
Code:
/wallets/phantomx/phantomxd -datadir=/wallets/phantomx/.wallet getinfo

Let's save the alias on the profile to be used any moment you are logged:
Code:
cd ~
vi .bash_profile

If the file exists, ignore this step! If not, add this on the begin of the file .bash_profile:
Quote
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH

That's fine, let's add the ALIAS on the end of file:
Quote
alias pnx="/wallets/phantomx/phantomxd -datadir=/wallets/phantomx/.wallet"

Just save it and done.




================ Step 05 // Quick tips ================
Help:
Code:
pnx -?

To know the balance and POW / POS / Block
Code:
pnx getinfo

Get only balance
Code:
pnx getbalance

List of lasts of transactions
Code:
pnx listtransactions

Stop the wallet
Code:
pnx stop

Get your Wallet Address
Code:
pnx getaccountaddress 0


I hope it can help you!
Do not forget to check HOW TO ENCRYPT YOUR WALLET and also HOW TO BACKUP THE WALLET.DAT in a safety place.
member
Activity: 160
Merit: 18
I know you guys can find a lot of guides like that on the Internet, but I will describe step-by-step for PNX:
 1 - HOW TO PREPARE THE LINUX ENVIRONMENT
 2 - HOW TO CREATE A WALLET ON LINUX
 3 - HOW TO CREATE A MASTERNODE ON LINUX UBUNTU

1 - HOW TO PREPARE THE LINUX ENVIRONMENT

I'm considering you know the basic linux command lines.
I'm using instances T2.MICRO on AWS (Amazon Web Services) - clear machine with Ubuntu 16.04
Why AWS? Because I never had problems and it always works 24h/7d

By the way...
================ Step 01 // Updates ================
>> updating the system and also the packages installed
Code:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

================ Step 02 // Virtual Memory ================
T2.MICRO has only 1Gb of RAM (on that case is Ok), but let's to increment the memory for swap.
Paging works by creating an area on your hard drive and using it for extra memory, this memory is much slower than normal memory however much more of it is available.
Code:
sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024
sudo /sbin/mkswap /var/swap.1
sudo chmod 600 /var/swap.1
sudo /sbin/swapon /var/swap.1

If you need more than 1024 then change that to something higher.
To enable it by default after reboot, add this line to /etc/fstab:

Code:
sudo vi /etc/fstab

On the end of file, add this line:
Code:
/var/swap.1   swap    swap    defaults        0   0

PS if you never has used the VIM Editor:
Quote
Press i to insert using VI. To save it, press ESC, after : + x + ENTER

================ Step 03 // Restarting the OS ================

If all steps are OK, just restart the machine:
Code:
sudo shutdown -r now


================ Step 04 // Blocking attempt of invasion  ================

This topic is small (minimal) of I will show!
On the AWS I recommend you block all ports and install also a firewall with good rules.
Again... this is not too much!

Let's install the DenyHosts
Code:
sudo apt-get install denyhosts

Now, you can configure the DenyHosts as you want (email, iptables, etc):
Code:
sudo vi /etc/denyhosts.conf

Restarting the DenyHosts
Code:
sudo /etc/init.d/denyhosts restart


I recommend you find more detail on the internet about DenyHosts



================ Step 05 // IPTables - small rules  ================
Again, find on the internet how to improve the safety of your VPS on the internet.
I like to use IPTABLES.

Blocking the PING
Code:
iptables -A INPUT -p icmp --icmp-type echo-request -j DROP

Releasing the PNX ports
Code:
# main port
iptables -A INPUT -p tcp --dport 9340 -j ACCEPT
# rpc port
iptables -A INPUT -p tcp --dport 9341 -j ACCEPT
newbie
Activity: 4
Merit: 0
Aside from being a coin to exist, what does Phantomx do?
member
Activity: 235
Merit: 10
Wo0t! First masternode running smoothly!
Pages:
Jump to: