Install Multichain blockchain explorer to explore assets and transactions available in blockchain.
Setup 1 : Follow the setups to download and install explorer on mutichain server.
Setup 2 : Configure MultiChain.conf
root@mutichain-instance-1:/usr/local/bin# cd ~/.multichain/chain1/
root@mutichain-instance-1:~/.multichain/chain1# cat multichain.conf
rpcuser=multichainrpc
rpcpassword=2j16roR9psS5BBe46gpVRM8gQX2bKF8JW76jWeQQZDiG
root@mutichain-instance-1:~/.multichain/chain1# cd ~/.multichain/chain1/
root@mutichain-instance-1:~/.multichain/chain1# grep rpc params.dat
default-rpc-port = 9742 # Default TCP/IP port for incoming JSON-RPC API requests.
root@mutichain-instance-1:~/.multichain/chain1# echo "rpcport=1234" >> multichain.conf
root@mutichain-instance-1:~/.multichain/chain1# cd multichain-explorer
bash: cd: multichain-explorer: No such file or directory
root@mutichain-instance-1:~/.multichain/chain1# cd ..
root@mutichain-instance-1:~/.multichain# ls
chain1 multichain.conf
root@mutichain-instance-1:~/.multichain#
Setup 3: Configure the Explorer
cd multichain-explorer
python -m Mce.abe --config chain1.conf
It would take some time to put previous block in the database.
Setup 4: Configure the Explorer
By default, the explorer will be listening for web requests on port 2750, unless you changed it in the Explorer’s configuration file. In your browser visit:
Reset the Explorer.
To start over with new chain data for a chain of the same name, simply:
- Stop the explorer.
- Delete the explorer database file
chain1.explorer.sqlite
(set inconnect-args
parameter inchain1.conf
). - Launch the explorer as above.
Conclusion
one has explored the way to install multichain explorer with it’s configurations.