From c82463cbef4688424310786e3fdc19786b0bcc79 Mon Sep 17 00:00:00 2001 From: smeb y <48400087+a3165458@users.noreply.github.com> Date: Wed, 10 Jul 2024 09:00:55 +0800 Subject: [PATCH] Update Artela.sh --- Artela.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Artela.sh b/Artela.sh index 2a54425..c0fe752 100644 --- a/Artela.sh +++ b/Artela.sh @@ -86,12 +86,24 @@ function install_node() { cd artela git checkout v0.4.7-rc7-fix-execution make install + + cd $HOME + wget https://github.com/artela-network/artela/releases/download/v0.4.7-rc7-fix-execution/artelad_0.4.7_rc7_fix_execution_Linux_amd64.tar.gz + tar -xvf artelad_0.4.7_rc7_fix_execution_Linux_amd64.tar.gz + mkdir libs + mv $HOME/libaspect_wasm_instrument.so $HOME/libs/ + mv $HOME/artelad /usr/local/bin/ + echo 'export LD_LIBRARY_PATH=$HOME/libs:$LD_LIBRARY_PATH' >> ~/.bashrc + source ~/.bashrc + # 配置artelad artelad config chain-id artela_11822-1 artelad init "$NODE_MONIKER" --chain-id artela_11822-1 artelad config node tcp://localhost:3457 + + # 获取初始文件和地址簿 curl -L https://snapshots.dadunode.com/artela/genesis.json > $HOME/.artelad/config/genesis.json curl -L https://snapshots.dadunode.com/artela/addrbook.json > $HOME/.artelad/config/addrbook.json