Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save manhlinhng/311d90c8b0e6be978351fbad507e4efd to your computer and use it in GitHub Desktop.
Save manhlinhng/311d90c8b0e6be978351fbad507e4efd to your computer and use it in GitHub Desktop.

sudo apt update && sudo apt upgrade -y && sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential git make ncdu -y && cd ~ && wget "https://go.dev/dl/go1.19.1.linux-amd64.tar.gz" && sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf "go1.19.1.linux-amd64.tar.gz"&& rm "go1.19.1.linux-amd64.tar.gz" && echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile && source $HOME/.bash_profile && go version && cd ~ && rm -rf celestia-node && git clone https://github.com/celestiaorg/celestia-node.git && cd celestia-node/ && git checkout tags/v0.5.0-rc5 && make install && make cel-key && celestia light init

  • Khởi tạo ví, nhớ copy lưu thông tin lại =>

cd ~/celestia-node/ && ./cel-key add my_celes_key --keyring-backend test --node.type light

  • Cài đặt Celestia node chạy ngầm 24/7

nano /etc/systemd/system/celestia-lightd.service

  • Paste đoạn sau sau đó nhấn Ctrl+X để lưu lại
[Unit]
Description=celestia-appd Cosmos daemon
After=network-online.target
[Service]
User=root
ExecStart=/usr/local/bin/celestia light start --core.ip https://limani.celestia-devops.dev --core.grpc.port 9090 --gateway --gateway.addr 127.0.0.1 --gateway.port 26659
Restart=on-failure
RestartSec=3
LimitNOFILE=4096
[Install]
WantedBy=multi-user.target
  • Khởi động lightd service

systemctl enable celestia-lightd && systemctl start celestia-lightd && systemctl status celestia-lightd

===> Thấy Actived màu xanh là OK nhé.

@manhlinhng
Copy link
Author

Active mạng Arabica Devnet trên ví Keplr truy cập link dưới:
https://docs.celestia.org/developers/keplr/

@manhlinhng
Copy link
Author

Link discord Celestia:
Celestia

Join Arabica Faucet để xin token testnet
$request <your_addr>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment