sui_auto

👉Join Channel Telegram

👉Deploy server vps anda dengan menggunakan link refferal kami dan dapatkan bonus 20€

Tutorial Testnet SUI dengan VPS by lukman (source code) (●'◡'●)

System Requirement

  • 2vCPU

  • 8GB RAM

  • Ubuntu 20.04

Install sui full nodes

Instalasi akan memakan waktu 10 menit anda akan membutuhkan screen atau bisa menunggu sampai selesai

wget -O sui_source.sh https://raw.githubusercontent.com/lukmanc405/testnet/main/sui/sui_source/sui_source.sh && chmod +x sui_source.sh && ./sui_source.sh

Cek node status

curl -s -X POST http://127.0.0.1:9000 -H 'Content-Type: application/json' -d '{ "jsonrpc":"2.0", "method":"rpc.discover","id":1}' | jq .result.info

Cek log

journalctl -u suid -f -o cat

Cek lima tx terakhir

curl --location --request POST 'http://127.0.0.1:9000/' --header 'Content-Type: application/json' \
--data-raw '{ "jsonrpc":"2.0", "id":1, "method":"sui_getRecentTransactions", "params":[5] }' | jq .

Dapatkan detail tx

curl --location --request POST 'http://127.0.0.1:9000/' --header 'Content-Type: application/json' \
--data-raw '{ "jsonrpc":"2.0", "id":1, "method":"sui_getTransaction", "params":["<RECENT_TXN_FROM_ABOVE>"] }' | jq .

JOIN DISCORD SUI https://discord.gg/UZFSc68qU9

Paste IP kalian disini

image

Buat wallet SUI

setelah melewati waktu yang ditentukan , kalian bisa gunakan command

echo -e "y\n" | sui client

ubah gateway wallet

sui client switch --gateway https://gateway.devnet.sui.io:443

cek address

sui client active-address

Backup

client.yaml , keystore Pakai SFTP

serta sui --help untuk command lainnya

Cara dapatkan faucet:

  • copy address anda

  • tempelkan kesini

image

Update versi SUI Fullnode

wget -qO update_source.sh https://raw.githubusercontent.com/lukmanc405/testnet/main/sui/tools/update_source.sh && chmod +x update_source.sh && ./update_source.sh

Cek kesehatan node

Masukkan node IP https://node.sui.zvalid.com/

Node yang sehat terlihat seperti ini:

Command lainnya

Stop node

systemctl stop suid
systemctl disable suid
rm -rf $HOME/{sui,.sui,sui_source.sh} /usr/bin/{sui,sui-node,sui-faucet} \
/etc/systemd/system/suid.service
systemctl daemon-reload

Kalau perintah sui --version tidak menunjukkan apapun

grep 'version =' /$HOME/sui/crates/sui/Cargo.toml -m 1

Last updated