parlaychain / parlay

parlay chain source
Other
1 stars 6 forks source link

Parlay

https://parlaychain.io

What is Parlay?

Local GUI wallet

PrimeNode guide

Digital ocean ubuntu VPS video guide

Primenode video guide

User-data script

Vultr ubuntu VPS menual guide

Requirements

Step 1 : Local wallet setup

1. Download & Run local wallet (Window, Mac)
2. Create new address at Receive tab
3. Send exactly 2500 PARs to the created address
4. Wait for 10 confirmation of transaction
5. Open debug console from toolbar menu

primenode genkey

7. Get txhash/index of 2500 PARs transaction

type below command to debug console.

primenode outputs

primenode output structure -> { "txhash of 2500 PARs transaction" : "output index" }

8. Create new Primenode at Primenode tap in local wallet

In order to fill complete primenode conf, you should have VPS ip address

  • Alias : your_masternode_name
  • Address : your VPS address and port is 9000
  • PrivKey : private key from Step 6
  • TxHash : txhash of 2500 PARs from Step 7
  • Output Index : output index from Step 7
  • Reward Address: optional
  • Reward % : optional
  • ex)

Step 2 : VPS setup (vultr.com)

1. Deploy Ubuntu 16.04 server ($5/mo is sufficient)
2. Access the server with SSH connection

wget -O - https://github.com/parlaychain/parlay/releases/download/v1.0.0/parlay.sh | bash

This command installs lots of modules, take like 20~30 mins

4. Add alias command to VPS

Type below command to add alias commands

source ~/.bashrc

5. Parlay daemon intialize

Type below command to initialize wallet and parlay config

parlayd

5. Enter the Primenode info step by step

Type below command and enter your primenode info (RPCUSER and RPCPASSWORD must not be same)

python3 conf.py

  Please enter RPCUSER : your_username_you_want
  Please enter RPCPASSWORD : your_password_you_want
  Please enter masternode private key : private key get from Step 1-6
  Please enter VPS Ip address : your vps ip address
6. Start VPS Primenode daemon

Type below command to run VPS Parlay daemon

parlayd

Step 3 : VPS setup (vultr.com)

1. Press start button at Primenode tab in local wallet
2. If you see the message primenode started successfully, it is all DONE! Congraturation!
3. Press update button to check primenode is running

License