{가상화폐에대하여} 한국에서는 관심이 없는 PEERPLAYS란-2탄

in #kr9 years ago (edited)

1탄에 이어서 제빠르게 2탄으로 돌아온 @callihappiness입니다. 1탄에서도 간략히 설명했듯이 PEERPLAYS는 도박과 관련 있는 코인으로 스포츠 베팅,  다이스 게임, 로또 같은 것을 bitshares기반으로 지원합니다. 2탄에서는 이런 PEERPLAYS에서 도박 하우스 관리자인 증인이 되기 위해서는 어떻게 해야되는지에 대해 알아보겠습니다.  


LET'S START!

계정이 아직 없다면 텔레 그램에 계정을 얻기 위해 물어 봐야 합니다!

텔레그램 링크 :  https://telegram.me/PeerplaysWitness 

계정이 있으면 Linux 서버를 가져와야합니다. Ubuntu 16.04.를 사용하는 것이 좋습니다. 현재 PeerPlays는 낮은 요구 사항을 가지고 있으므로 1-2GB RAM 서버 만 있으면됩니다 (그러나 더 커지면 더 많은 RAM에 투자해야 할 수 있습니다).

서버를 가져옵시다

 Linux server가 온라인이면 Docker를 실행하면 됩니다. 이것은 두문장이면 됩니다.

 sudo apt update && sudo apt install curl git curl

https://get.docker.com | sh 

 If you're using a normal user, make sure to add that user to the docker group, e.g. if your user is called ubuntu 

너가 보통의 유저라면 너를 docker그룹에 추가하는 것을 확실시 해라 만약 너의 이름이 ubuntu라면 아래와 같이 치면 된다.

   sudo usermod -aG docker ubuntu 

Once you've installed Docker, download my PeerPlays-in-a-box system: 

Docker를 실행했다면 PeerPlays 박스 시스템을 다운로드 하세요

 git clone https://github.com/Someguy123/peerplays-docker.git cd peerplays-docker 

 Now, change to the peerplays-docker folder, and let's install and start peerplays (this may take a minute) 

이제, peerplays-docker 폴더로 바꾸고 peerplays가 실행되고 시작되게 하세요.(몇분 걸릴 수 있습니다.)

 ./run.sh install 

./run.sh start 

 For the next part, you'll need to have a PeerPlays account. Since the account faucet isn't online yet, you'll need to ask in the Telegram for an account: https://telegram.me/PeerplaysWitness 

다음 부분을 위해서는 PeerPlays 계좌가 필요할 수 있습니다. account faucet가 온라인이 아니기 때문에 너는 텔레그램에 계좌를 물어 봐야한다 : https://telegram.me/PeerplaysWitness 

 Once you have an account, we can continue setting up the witness:

계좌가 있다면 계속 증인 준비를 합시다.

./run.sh wallet

 You should see a prompt like this:

너는 아래와 같은 prompt를 봐야한다 :

new >>>

Set a wallet password (this is unrelated to your account password, it's similar to a bitcoin wallet password)

지갑의 비밀번호를 설정하라(이것은 너의 계좌 비밀번호랑 관계없는 것이다. 이것은 비트코인 월렛 비밀번호랑 비슷하다)

set_password "some_secure_password"

unlock "some_secure_password"

Now, get your private keys based on your password (if you already have your keys, skip this step)

이제, 너의 비밀번호를 기반으로 개인키를 받아라(이미 키를 가지고 있다면 이번 스텝은 건너 뛰어라)

unlocked >>> get_private_key_from_password USERNAME active PASSWORD 

[ 'PPYxxx', 'xxxx' ]

unlocked >>> get_private_key_from_password USERNAME owner PASSWORD

[ 'PPYxxx', 'xxxx' ]

Import your owner and active key into the wallet

너의 개인, 활성화키를 지갑에 가져오세요

unlocked >>> import_key "USERNAME" xxxx 

unlocked >>> import_key "USERNAME" xxxx

You need to "upgrade your account". You may need to ask someone to send you some PPY tokens on the Telegram before you can do this.

너는 계좌 업그레이드를 해야합니다. 너는 이것을 하기전에 다른이에게 PPY토큰을 텔레그렘에다가 보내달라고 부탁해야된다.

unlocked >>> upgrade_account USERNAME true 

Once you've successfully upgraded, you can now create a witness:

너가 성공적으로 업그레이드 됐으면 너는 새로운 증인을 만든 것이다.

create_witness USERNAME "url" true

You should see something like this:

너는 이와 같은 것을 봐야한다

{

 "ref_block_num": 6936,

 "ref_block_prefix": 4050013610,

 "expiration": "2017-06-06T21:48:12",

 "operations": [[

     20,{

       "fee": {

         "amount": 800000,

         "asset_id": "1.3.0"

       },

       "witness_account": "1.2.8892",

       "url": "",

       "block_signing_key": "PPY5ipyg232HNHTCGR52EZtR6wyCdZPYJoMVmcpfiPRrEyMFUxeJG",

       "initial_secret": ""

     }

}

Make a note of the block_signing_key, it's important!Now, do this following to get your private block signing key

block_signing_key에 대해서는 노트를 해라. 매우 중요하다  개인 블록  signing 키를 갖기 위해 다음을 따라해라

get_private_key THE_BLOCK_SIGNING_KEY_WHICH_IS_ABOVE

You should see a private key, beginning with 5. Note this down somewhere with your public block signing key.Now, get your witness ID:

너는 5로 시작하는 개인 키를 봐야한다. 공개 키와 함꼐 이것을 따른데다가 써놓아라. 이제 witness ID를 가져보자

get_witness USERNAME

Make note of the "id" (make sure to not copy the wrong ID)

id에 대해 기록해놓아라 (이상한 id를 복사하지 않도록 주의해라)

{

.....

"id": "1.6.x"

.....

}

Now. Press CTRL-D to exit the wallet.We'll now update the config for the server:

이제 CTRL-D를 눌러 지갑에서 나가라.  우리는 서버를 위해 환경을 업데이트 할것이다:

nano data/witness_node_data_dir/config.ini

Comment out the line starting with p2p-endpoint (i.e. put a # in front of it)

p2p-endpoint로 시작하는 문장을 코멘트 아웃하세요(i.e #을 그 앞에다가 붙이세요)

#p2p-endpoint = 0.0.0.0:7777

Put these shortly after the seed nodes:

seed nodes 다음에 이것을 짧게 붙여라

# the witness ID you got earlier

witness-id = "1.6.x"

# the block keys you were supposed to note down earlier! public and then private

private-keys = ["P...","5..."]



# now save the file! if nano, press CTRL-X and type yes to save

Finally, we restart the server:

마지막으로 서버를 다시 시작해라 :

./run.sh restart

Now hopefully you should have a witness :)Check the logs to make sure it's working:

너는 이제 증인을 가지고 있을 것이다. 확실 시 하기 위해 로고를 확인해라.

./run.sh logs

You should see something like this:

너는 이와 같은 것을 봐야한다.

336001ms th_a       witness.cpp:201               block_production_loo ] Not producing block because it isn't my turn

336159ms th_a       application.cpp:506           handle_block         ] Got block: #7273 time: 2017-06-06T22:05:36 latency: 157 ms from: billbutler-witness  irreversible: 7260 (-13)

337001ms th_a       witness.cpp:204               block_production_loo ] Not producing block because slot has not yet arrived

338001ms th_a       witness.cpp:204               block_production_loo ] Not producing block because slot has not yet arrived

If you see that, you're probably set up :) - remember you can ask people on the Telegram for help if you're stuck. Join our witness Telegram: https://telegram.me/PeerplaysWitness

이것을 보면 너는 제대로 세팅한 것이다. 문제가 생기면 텔레그램에 있는 사람들에게 물어볼 수 있는 것을 기억하라 우리의 witness 텔레그램에 참가하라 : https://telegram.me/PeerplaysWitness

위는 PEERPLAYS에서 witness가 되기 위한 것의 방법을 자세히 기록해 놓은 것 입니다.

아래는 위 내용과 함께 보시면 간략하게 보실 수 잇을 겁니다.

Step 1

Docker 다운로 for windows or mac
https://store.docker.com/editions/community/docker-ce-desktop-windows
https://store.docker.com/editions/community/docker-ce-desktop-mac

Step 2

Load Kitematic from the start menu

kitematic을 시작 메뉴에서 로드해라

Step3

Click +New and type Peerplays into the search box and download the dockerfile that  put up upside

 
+ 새로 만들기를 클릭하고 Peerplays를 검색 상자에 입력하고  상단의 내용에 있는 도커 파일을 다운로드하십시오 

Step 4

Click on the Volumes to make a persistent state on your computer.

 
볼륨을 클릭하여 컴퓨터에서 영구 상태로 만드세요. 

THIS STEP IS CRITICAL OR YOUR CHANGES WILL NOT BE SAVED AND YOU WILL LOSE YOUR WALLET!!!!! 

이번 절차는 매우 중요해서 제대로 안하면 너의 지갑이 날라갈 것입니다.


Step 5

Edit your Config.ini, it's in your Documents/Kitematic/peerplays/witness_node_data_dir folder and uncomment the "RPC-Endpoint =" , enter 127.0.0.1:8090

Config.ini를 편집하는데 그것은 Documents/Kitematic/peerplays/witness_node_data_dir 폴더에 있고 "RPC-Endpoint ="의 내용을 없애고 127.0.0.1:8090를 입력하세요


You will need to restart the dock anytime you make changes to ini file, if your already in the powershell you can issue a "ps" command and then kill the node, or just hit the cycle button on the kinematic app.

 
ini 파일을 변경할 때마다 도크를 다시 시작해야합니다. 이미 powershell 상태라면 "ps"명령을 내린 다음 노드를 죽이거나  단순히 kinematic 앱의 순환 버튼을 누르십시오. 

Step 6

Click on the Exec icon to start a powershell to the virtual machine, type cli_wallet

Exec 아이콘을 클릭하여 가상 시스템에 대한 PowerShell을 시작하고 cli_wallet을 입력하십시오

Step 7

type set_password and a password to get your wallet started, now type unlock and you password

set_password와 암호를 지갑을 시작하기 위해 입력하고 그리고  unlock과 비밀번호를 입력하십시오.

 

Step 8

type import_key "bts-your bitshare account" privkey to import from Bitshares if you had a balance before Sept 2016. If you do not have that you will need a faucet to make your account for you. You can also create a brain key by using suggest_brain_key, and using that in create_account_from_brain_key to create a PPY address. You can then type import_balance yourname ["ICO privkey","ICO privkey 2"] true true to import ICO funds to that account or your bts-accountname accountYou can find faucets in the PeerplaysWitness telegram room, you will need to supply your wanted username, and two public keys. Peerplays public keys start with PPY. To quickly generate your owner and active keys issue the suggest_brain_key twice and make sure to write down the brain and the private keys. Then write them down again somewhere else, because if you lose your keys you lose your money.
 
2020 년 9 월 이전에 잔액이 있다면 Bitshares에서 가져올 import_key "bts-your bitshare account"에 개인 키를 입력하십시오. 계정이 없으면 계정을 만들기 위해 facuet이 필요합니다. 또한 suggest_brain_key를 사용하여 두뇌 키를 생성하고 create_account_from_brain_key에서 이를 사용하여 PPY 주소를 생성 할 수 있습니다. 그런 다음 import_balance yourname [ "ICO privkey", "ICO privkey 2"] true를 입력하면 해당 계정 또는 bts-accountname 계정으로 ICO 자금을 가져올 수 있습니다. Peerplays Witness 텔레그램에서 facuet을 찾을 수 있습니다. 원하는 사용자 이름 그리고 두 개의 공개 키와 이름을 제공해야 합니다. Peerplays 공개 키는 PPY로 시작합니다. 소유자와 활성 키를 빠르게 생성하려면 suggest_brain_key를 두 번 실행하고 brain과 개인 키를 적어 두십시오. 그런 다음 열쇠를 잃어 버리면 돈을 잃어 버리기 때문에 다른 곳에 다시 적으십시오. 

이와 같은 절차를 통해서 보다 효과적으로  Peerplays에 다가가셨으면 좋겟습니다. 증인이 되기 위한 방법을 포스팅 하는 것 만으로도 양이 많아서 2탄은 여기서 마치겠습니다 . 3차에 더 유익한 내용으로 돌아 오겠습니다!

출처 

글이 마음에 드셨다면 포팅 그리고 리스팀 부탁드립니다~★

1탄은 여기에 있습니당~ https://steemit.com/kr/@callihappiness/peerplays-1

Sort:  

Thank you very useful)

어휴 @callihappiness님이 정성들여 포스팅하셨는데 저는 읽어봐도 도통 뭐가 뭔지 모르겠습니다.
딱 하나 이곳에 BTS가 사용된다는 말씀이죠? ^^

넵 그렇습니다! ㅋㅋㅋ 읽으려 노력해주셔서 감사합니다~ㅎ

내기 기반의 코인은 정말 많이 나오는군요
뭐 당연한 얘기이긴 하지만

좋은 정보 감사합니다. 직접해볼 엄두는 쉽게 나지 않는군요...!!

Coin Marketplace

STEEM 0.05
TRX 0.33
JST 0.078
BTC 63144.83
ETH 1685.61
USDT 1.00
SBD 0.39