Please open Telegram to view this post
VIEW IN TELEGRAM
👍1
InsideDropLabs
Please open Telegram to view this post
VIEW IN TELEGRAM
🫡1
InsideDropLabs
Please open Telegram to view this post
VIEW IN TELEGRAM
/request neutronwallet*neutron testnet ambil di wallet keplr
#Free
Please open Telegram to view this post
VIEW IN TELEGRAM
Telegram
Neutron Testnet Faucet (No incentives❗️)
To get some untrn on testnet (pion-1), type `/request address` using the address you want the coins to be sent
InsideDropLabs
Please open Telegram to view this post
VIEW IN TELEGRAM
#NotFree
Please open Telegram to view this post
VIEW IN TELEGRAM
app.sign.global
Sign Protocol
Sign Protocol is an omni-chain attestation protocol, enabling users to freely attest and verify any information on-chain.
Please open Telegram to view this post
VIEW IN TELEGRAM
InsideDropLabs
Please open Telegram to view this post
VIEW IN TELEGRAM
InsideDropLabs
Install :
screen -R daclient
sudo apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update
sudo apt install docker-ce
sudo systemctl status docker
sudo groupadd docker
sudo usermod -aG docker $USER
exit
cd $HOME
rm -rf 0g-da-client
git clone https://github.com/0glabs/0g-da-client.git
cd 0g-da-client
docker build -t 0g-da-client -f combined.Dockerfile .
nano envfile.env
Isikan file ini dalam file .env :
# envfile.env
COMBINED_SERVER_CHAIN_RPC=https://evmrpc-testnet.0g.ai
COMBINED_SERVER_PRIVATE_KEY=YOUR_PRIVATE_KEY
ENTRANCE_CONTRACT_ADDR=0x857C0A28A8634614BB2C96039Cf4a20AFF709Aa9
COMBINED_SERVER_RECEIPT_POLLING_ROUNDS=180
COMBINED_SERVER_RECEIPT_POLLING_INTERVAL=1s
COMBINED_SERVER_TX_GAS_LIMIT=2000000
COMBINED_SERVER_USE_MEMORY_DB=true
COMBINED_SERVER_KV_DB_PATH=/runtime/
COMBINED_SERVER_TimeToExpire=2592000
DISPERSER_SERVER_GRPC_PORT=51001
BATCHER_DASIGNERS_CONTRACT_ADDRESS=0x0000000000000000000000000000000000001000
BATCHER_FINALIZER_INTERVAL=20s
BATCHER_CONFIRMER_NUM=3
BATCHER_MAX_NUM_RETRIES_PER_BLOB=3
BATCHER_FINALIZED_BLOCK_COUNT=50
BATCHER_BATCH_SIZE_LIMIT=500
BATCHER_ENCODING_INTERVAL=3s
BATCHER_ENCODING_REQUEST_QUEUE_SIZE=1
BATCHER_PULL_INTERVAL=10s
BATCHER_SIGNING_INTERVAL=3s
BATCHER_SIGNED_PULL_INTERVAL=20s
BATCHER_EXPIRATION_POLL_INTERVAL=3600
BATCHER_ENCODER_ADDRESS=DA_ENCODER_SERVER
BATCHER_ENCODING_TIMEOUT=300s
BATCHER_SIGNING_TIMEOUT=60s
BATCHER_CHAIN_READ_TIMEOUT=12s
BATCHER_CHAIN_WRITE_TIMEOUT=13s
Di bagian "YOUR_PRIVATE_KEY" ganti dengan private key kalian.
Klik CTRL + X, Ketik Y lalu ENTER.
docker run -d --env-file envfile.env --name 0g-da-client --restart always -v ./run:/runtime -p 51001:51001 0g-da-client combined
Check Log
docker logs 0g-da-client -fn 100
Install :
screen -R storagenode
sudo apt-get update
sudo apt-get install clang cmake build-essential
cd $HOME && \
ver="1.22.0" && \
wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz" && \
sudo rm -rf /usr/local/go && \
sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz" && \
rm "go$ver.linux-amd64.tar.gz" && \
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bash_profile && \
source ~/.bash_profile && \
go version
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
. "$HOME/.cargo/env"
git clone https://github.com/0glabs/0g-storage-node.git
cd 0g-storage-node
git checkout v0.8.4
git submodule update --init
sudo apt install cargo
sudo apt update
sudo apt install -y pkg-config libssl-dev
cargo build --release
wget -O $HOME/0g-storage-node/run/config-testnet-turbo.toml https://josephtran.co/config-testnet-turbo.toml
printf '\033[34mEnter your private key: \033[0m' && read -s PRIVATE_KEY
Masukan Private KEY kalian
sed -i 's|^\s*#\?\s*miner_key\s*=.*|miner_key = "'"$PRIVATE_KEY"'"|' $HOME/0g-storage-node/run/config-testnet-turbo.toml && echo -e "\033[32mPrivate key has been successfully added to the config file.\033[0m"
grep -E "^(network_dir|network_enr_address|network_enr_tcp_port|network_enr_udp_port|network_libp2p_port|network_discovery_port|rpc_listen_address|rpc_enabled|db_dir|log_config_file|log_contract_address|mine_contract_address|reward_contract_address|log_sync_start_block_number|blockchain_rpc_endpoint|auto_sync_enabled|find_peer_timeout)" $HOME/0g-storage-node/run/config-testnet-turbo.toml
Please open Telegram to view this post
VIEW IN TELEGRAM
👍6❤2
InsideDropLabs
sudo apt-get update
sudo apt-get install wget lz4 aria2 pv -y
cd $HOME
rm storage_0gchain_snapshot.lz4
aria2c -x 16 -s 16 -k 1M https://josephtran.co/storage_0gchain_snapshot.lz4
rm -rf $HOME/0g-storage-node/run/db
lz4 -c -d storage_0gchain_snapshot.lz4 | pv | tar -x -C $HOME/0g-storage-node/run
sudo tee /etc/systemd/system/zgs.service > /dev/null <<EOF
[Unit]
Description=ZGS Node
After=network.target
[Service]
User=$USER
WorkingDirectory=$HOME/0g-storage-node/run
ExecStart=$HOME/0g-storage-node/target/release/zgs_node --config $HOME/0g-storage-node/run/config-testnet-turbo.toml
Restart=on-failure
RestartSec=10
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload && \
sudo systemctl enable zgs && \
sudo systemctl restart zgs && \
sudo systemctl status zgs
tail -f ~/0g-storage-node/run/log/zgs.log.$(date +%Y-%m-%d) | grep -v "discv5\|network\|router\|Peer"
Ctrl C
rm ~/storage_0gchain_snapshot.lz4
while true; do
response=$(curl -s -X POST http://localhost:5678 -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"zgs_getStatus","params":[],"id":1}')
logSyncHeight=$(echo $response | jq '.result.logSyncHeight')
connectedPeers=$(echo $response | jq '.result.connectedPeers')
echo -e "logSyncHeight: \033[32m$logSyncHeight\033[0m, connectedPeers: \033[34m$connectedPeers\033[0m"
sleep 5;
done
#NotFree
Please open Telegram to view this post
VIEW IN TELEGRAM
Discord
Join the 0G Discord Server!
Check out the 0G community on Discord - hang out with 650358 other members and enjoy free voice and text chat.
InsideDropLabs
sudo apt-get update sudo apt-get install wget lz4 aria2 pv -y cd $HOME rm storage_0gchain_snapshot.lz4 aria2c -x 16 -s 16 -k 1M https://josephtran.co/storage_0gchain_snapshot.lz4 rm -rf $HOME/0g-storage-node/run/db lz4 -c -d storage_0gchain_snapshot.lz4…
Please open Telegram to view this post
VIEW IN TELEGRAM
InsideDropLabs
Please open Telegram to view this post
VIEW IN TELEGRAM
InsideDropLabs
Please open Telegram to view this post
VIEW IN TELEGRAM
InsideDropLabs
Install :
screen -R danode
sudo apt update && sudo apt upgrade -y
sudo apt install curl git wget htop tmux build-essential jq make gcc tar clang pkg-config libssl-dev ncdu protobuf-compiler -y
cd $HOME
VER="1.22.0"
wget "https://golang.org/dl/go$VER.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$VER.linux-amd64.tar.gz"
rm "go$VER.linux-amd64.tar.gz"
[ ! -f ~/.bash_profile ] && touch ~/.bash_profile
echo "export PATH=$PATH:/usr/local/go/bin:~/go/bin" >> ~/.bash_profile
source $HOME/.bash_profile
[ ! -d ~/go/bin ] && mkdir -p ~/go/bin
go version
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
cd $HOME
rm -rf 0g-da-node
git clone https://github.com/0glabs/0g-da-node.git
cd 0g-da-node
git fetch --all --tag
git checkout v1.1.3
git submodule update --init
cargo build --release
./dev_support/download_params.sh
cargo run --bin key-gen
Simpan code yang di generate (BLS Code)
nano $HOME/0g-da-node/config.toml
Isi dengan config ini :
log_level = "info"
data_path = "./db/"
# path to downloaded params folder
encoder_params_dir = "params/"
# grpc server listen address
grpc_listen_address = "0.0.0.0:34000"
# chain eth rpc endpoint
eth_rpc_endpoint = "https://evmrpc-testnet.0g.ai"
# public grpc service socket address to register in DA contract
# ip:34000 (keep same port as the grpc listen address)
# or if you have dns, fill your dns
socket_address = "gantiipvps:34000"
# data availability contract to interact with
da_entrance_address = "0x857C0A28A8634614BB2C96039Cf4a20AFF709Aa9"
# deployed block number of da entrance contract
start_block_number = 940000
# signer BLS private key
signer_bls_private_key = " " Paste Private Key yang digunakan untuk stake
# signer eth account private key
signer_eth_private_key = " " Paste BLS code yang sudah disimpan diatas
# miner eth account private key, (could be the same as 'signer_eth_private_key', but not recommended)
miner_eth_private_key = " " Paste Private Key wallet untuk miner (Bisa buat baru)
# whether to enable data availability sampling
enable_das = "true"
Perhatikan beberapa point yang admin tandai, silahkan ganti sebelum di simpan.
sudo tee /etc/systemd/system/0gda.service > /dev/null <<EOF
[Unit]
Description=0G-DA Node
After=network.target
[Service]
User=$USER
WorkingDirectory=$HOME/0g-da-node
ExecStart=$HOME/0g-da-node/target/release/server --config $HOME/0g-da-node/config.toml
Restart=always
RestartSec=10
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable 0gda
sudo systemctl start 0gda
sudo journalctl -u 0gda -f -o cat
#NotFree
Please open Telegram to view this post
VIEW IN TELEGRAM
Discord
Join the 0G Discord Server!
Check out the 0G community on Discord - hang out with 650358 other members and enjoy free voice and text chat.
InsideDropLabs
*Cek di pojok kiri atas
#Free
Please open Telegram to view this post
VIEW IN TELEGRAM
👍2
InsideDropLabs
Please open Telegram to view this post
VIEW IN TELEGRAM
InsideDropLabs
Please open Telegram to view this post
VIEW IN TELEGRAM
InsideDropLabs
Please open Telegram to view this post
VIEW IN TELEGRAM