Yüksek verime, düşük gecikme süresine ve Move programlama dili tarafından desteklenen varlık odaklı bir programlama modeline sahip yeni nesil akıllı sözleşme platformu olan Sui'nin Devnet Node kurulumuna hoş geldiniz! İhtiyacınız olan her şeyi Sui Geliştirici Kılavuzlarında bulabilirsiniz. | |
Bu kurulum Docker ile yapılacaktır. |
apt update && sudo apt upgrade -y
apt install curl wget ca-certificates gnupg lsb-release make clang pkg-config libssl-dev build-essential git jq ncdu bsdmainutils htop -y < "/dev/null"
apt update && apt install jq -y
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
VER=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep tag_name | cut -d '"' -f 4)
curl -L "https://github.com/docker/compose/releases/download/"$VER"/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
docker-compose --version
cd $HOME && rm -rf sui
mkdir sui && cd sui
wget -q https://github.com/MystenLabs/sui/raw/main/crates/sui-config/data/fullnode-template.yaml
wget -q https://github.com/MystenLabs/sui-genesis/raw/main/devnet/genesis.blob
wget -q https://raw.githubusercontent.com/MystenLabs/sui/main/docker/fullnode/docker-compose.yaml
sed -i 's/127.0.0.1/0.0.0.0/' fullnode-template.yaml
docker-compose up -d
#📋node-ip-application
kanalında node ip'nizi şu şekilde paylaşınız; http://IP_ADRESINIZ:9000/
Node'u control etmek için bu adrese giderek ip adresinizi giriniz.
cd $HOME/sui
docker-compose down --volumes
rm genesis.blob
wget https://github.com/MystenLabs/sui-genesis/raw/main/devnet/genesis.blob
docker-compose up -d
docker-compose -f $HOME/sui/docker-compose.yaml logs -f --tail 10
sudo systemctl stop suid
sudo systemctl disable suid
sudo rm -rf ~/sui /var/sui/
sudo rm /etc/systemd/system/suid.service
service docker status
sudo systemctl restart suid
sudo systemctl stop suid