EvenoR

Aligned Layer Node

May 15th, 2024
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.95 KB | None | 0 0
  1. --------------------------1------------------------------
  2. sudo apt update && sudo apt upgrade
  3.  
  4. --------------------------2------------------------------
  5. wget https://go.dev/dl/go1.22.1.linux-amd64.tar.gz && tar -C /usr/local -xzf go1.22.1.linux-amd64.tar.gz
  6.  
  7. --------------------------3------------------------------
  8. export PATH=$PATH:/usr/local/go/bin
  9.  
  10. --------------------------4------------------------------
  11. source ~/.bashrc
  12.  
  13. --------------------------5------------------------------
  14. sudo apt install make
  15.  
  16. --------------------------6------------------------------
  17. curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  18.  
  19. --------------------------7------------------------------
  20. source $HOME/.cargo/env
  21.  
  22. --------------------------8------------------------------
  23. sudo apt install build-essential
  24.  
  25. --------------------------9------------------------------
  26. sudo apt-get install jq
  27.  
  28. --------------------------10------------------------------
  29. curl https://get.ignite.com/cli! | bash
  30.  
  31. --------------------------11------------------------------
  32. vim .bashrc
  33.  
  34. --------------------------12------------------------------
  35. export PATH=$PATH:/root/go/bin
  36.  
  37. --------------------------13------------------------------
  38. source ~/.bashrc
  39.  
  40. --------------------------14------------------------------
  41. git clone https://github.com/yetanotherco/aligned_layer_tendermint.git
  42.  
  43. --------------------------15------------------------------
  44. cd aligned_layer_tendermint
  45.  
  46. --------------------------16------------------------------
  47. export PEER_ADDR=91.107.239.79,116.203.81.174,88.99.174.203,128.140.3.188
  48.  
  49. --------------------------17------------------------------
  50. git checkout v0.1.0
  51.  
  52. --------------------------18------------------------------
  53. export PATH=$PATH:/root/go/bin
  54.  
  55. --------------------------19------------------------------
  56. export PATH=$PATH:/root/aligned_layer_tendermint/cmd
  57.  
  58. --------------------------20------------------------------
  59. export PATH=$PATH:/root/go/bin:/root/aligned_layer_tendermint/cmd
  60.  
  61. --------------------------21------------------------------
  62. bash setup_node.sh <your-node-name>
  63.  
  64. --------------------------22------------------------------
  65. screen -S node_start
  66.  
  67. --------------------------23------------------------------
  68. alignedlayerd start
  69.  
  70. --------------------------24------------------------------
  71. curl -s localhost:26657/status |  jq '.result.sync_info.catching_up'
  72.  
  73. --------------------------25------------------------------
  74. alignedlayerd keys add <account-name>
  75.  
  76. --------------------------26------------------------------
  77. bash setup_validator.sh <account-name-or-address> 90000stake
  78.  
  79. --------------------------27------------------------------
  80. screen -r node_start
  81.  
  82. --------------------------28------------------------------
  83. alignedlayerd start
  84.  
  85. --------------------------29------------------------------
  86. alignedlayerd query tendermint-validator-set | grep $(alignedlayerd tendermint show-address)
Add Comment
Please, Sign In to add comment