LoginSignup
0
0

More than 5 years have passed since last update.

litecore-nodeの導入方法

Last updated at Posted at 2017-04-07

litecore-nodeの導入方法(ブロックエクスプローラーinsightの導入方法)

litecore-node

  • litecore-node v3.1.7を対象にしています

litecore-nodeとは?

litecoin版のbitcore-node

事前準備

動作環境

bitcoreとおなじ

ubuntu14.04LTS事前用意

apt-get install build-essential libtool autotools-dev automake autoconf pkg-config libssl-dev git
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash
nvm install v0.12

centos7事前用意

zeromqのインストール
yum install -y zeromq3-devel

install

npm install -g litecore-node

ブロックチェーンディレクトリを作成

litecore-node create mynode

プラグインインストール(任意)

cd mynode
litecore-node install insight-lite-api insight-lite-ui

起動

cd mynode
litecore-node start --daemon

※ブロックチェーンの同期には時間がかかります

同期の確認

tail -f mynode/data/debug.log

自動再起動スクリプト

centos7

/etc/systemd/system/litecore-node.service
[Unit]
Description=litecore-node
After=syslog.target network.target

[Service]
Type=simple
ExecStart=/bin/litecore-node start -c /home/centos/litecore/mynode/litecore-node.json
WorkingDirectory=/home/centos/litecore/mynode
KillMode=process
Restart=always
User=centos
Group=centos

[Install]
WantedBy=multi-user.target

おまけ insight 導入サイト

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0