*Buat wallet baru, isi ETH base mainnet 1-3$, simpan private key.
screen -R ritual
sudo apt update && sudo apt upgrade -y
sudo apt -qy install curl git jq lz4 build-essential screen
sudo apt-get update
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg \
lsb-release
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-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
sudo curl -L "https://github.com/docker/compose/releases/download/v2.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker}
mkdir -p $DOCKER_CONFIG/cli-plugins
curl -SL https://github.com/docker/compose/releases/download/v2.20.2/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-composechmod +x $DOCKER_CONFIG/cli-plugins/docker-compose
sudo usermod -aG docker $USER
git clone https://github.com/ritual-net/infernet-container-starter
cd infernet-container-starter
project=hello-world make deploy-container
*Jika muncul error biarkan saja.
ctrl A+D
nano ~/infernet-container-starter/deploy/config.json
nano ~/infernet-container-starter/projects/hello-world/container/config.json
{
"log_path": "infernet_node.log",
"server": {
"port": 4000,
"rate_limit": {
"num_requests": 100,
"period": 100
}
},
"chain": {
"enabled": true,
"trail_head_blocks": 3,
"rpc_url": "https://mainnet.base.org/",
"registry_address": "0x3B1554f346DFe5c482Bb4BA31b880c1C18412170",
"wallet": {
"max_gas_limit": 4000000,
"private_key": "Masukan private key dengan awalan 0x",
"allowed_sim_errors": []
},
"snapshot_sync": {
"sleep": 3,
"batch_size": 10000,
"starting_sub_id": 210000,
"sync_period": 30
}
},
"startup_wait": 1.0,
"redis": {
"host": "redis",
"port": 6379
},
"forward_stats": true,
"containers": [
{
"id": "hello-world",
"image": "ritualnetwork/hello-world-infernet:latest",
"external": true,
"port": "3000",
"allowed_delegate_addresses": [],
"allowed_addresses": [],
"allowed_ips": [],
"command": "--bind=0.0.0.0:3000 --workers=2",
"env": {},
"volumes": [],
"accepted_payments": {},
"generates_proofs": false
}
]
}crtl X, Y, Enter
nano ~/infernet-container-starter/projects/hello-world/contracts/script/Deploy.s.sol
// SPDX-License-Identifier: BSD-3-Clause-Clear
pragma solidity ^0.8.13;
import {Script, console2} from "forge-std/Script.sol";
import {SaysGM} from "../src/SaysGM.sol";
contract Deploy is Script {
function run() public {
// Setup wallet
uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY");
vm.startBroadcast(deployerPrivateKey);
// Log address
address deployerAddress = vm.addr(deployerPrivateKey);
console2.log("Loaded deployer: ", deployerAddress);
address registry = 0x3B1554f346DFe5c482Bb4BA31b880c1C18412170;
// Create consumer
SaysGM saysGm = new SaysGM(registry);
console2.log("Deployed SaysHello: ", address(saysGm));
// Execute
vm.stopBroadcast();
vm.broadcast();
}
}
ctrl X, Y, Enter
Please open Telegram to view this post
VIEW IN TELEGRAM
nano ~/infernet-container-starter/projects/hello-world/contracts/Makefile
# phony targets are targets that don't actually create a file
.phony: deploy
# anvil's third default address
sender := Masukan private key dengan awalan 0x
RPC_URL := https://mainnet.base.org/
# deploying the contract
deploy:
@PRIVATE_KEY=$(sender) forge script script/Deploy.s.sol:Deploy --broadcast --rpc-url $(RPC_URL)
# calling sayGM()
call-contract:
@PRIVATE_KEY=$(sender) forge script script/CallContract.s.sol:CallContract --broadcast --rpc-url $(RPC_URL)
ctrl X, Y, Enter
nano ~/infernet-container-starter/deploy/docker-compose.yaml
image: ritualnetwork/infernet-node:1.3.1
image: ritualnetwork/infernet-node:1.4.0
ctrl X, Y, Enter
curl -L https://foundry.paradigm.xyz | bash
source ~/.bashrc
killall anvil
foundryup
cd ~/infernet-container-starter/projects/hello-world/contracts
rm -rf projects/hello-world/contracts/lib/forge-std
rm -rf projects/hello-world/contracts/lib/infernet-sdk
rm -rf lib/forge-std
rm -rf lib/infernet-sdk
forge install --no-commit foundry-rs/forge-std
forge install --no-commit ritual-net/infernet-sdk
screen -r ritual
cd ~/infernet-container-starter
project=hello-world make deploy-container
ctrl A+D
cd ~/infernet-container-starter
project=hello-world make deploy-contracts
##### base
✅ [Success] Hash: 0x70bda88b86a1d63ccda7de995d97bfeb1e31d43a75b02f96537773axxxxxx
Contract Address: 0x49c2EaFB05b32F47028eC3cED4dA9bCxxxxxx
Block: 28115xxxx
Paid: 0.00000296542539588 ETH (1213518 gas * 0.00244366 gwei)
nano ~/infernet-container-starter/projects/hello-world/contracts/script/CallContract.s.sol
// SPDX-License-Identifier: BSD-3-Clause-Clear
pragma solidity ^0.8.0;
import {Script, console2} from "forge-std/Script.sol";
import {SaysGM} from "../src/SaysGM.sol";
contract CallContract is Script {
function run() public {
// Setup wallet
uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY");
vm.startBroadcast(deployerPrivateKey);
SaysGM saysGm = SaysGM(Paste Contract Address Disini);
saysGm.sayGM();
vm.stopBroadcast();
}
}
crtl X, Y, Enter
project=hello-world make call-contract
##### base
✅ [Success] Hash: 0xe30d4faed4986541e9a650d98e289de5aaca7d1712e7xxxxxx
Block: 28115xxx
Paid: 0.000000365456706396 ETH (134977 gas * 0.002707548 gwei)
screen -r ritual
cd ..
docker compose -f infernet-container-starter/deploy/docker-compose.yaml up
#NotFree
Please open Telegram to view this post
VIEW IN TELEGRAM
Guild
Ritual
Home page for "Ritual" guild
InsideDropLabs
Please open Telegram to view this post
VIEW IN TELEGRAM
InsideDropLabs
nano ~/infernet-container-starter/projects/hello-world/contracts/Makefile ➡️ Hapus ini file, ubah dengan ini : # phony targets are targets that don't actually create a file .phony: deploy # anvil's third default address sender := Masukan private key dengan…
Please open Telegram to view this post
VIEW IN TELEGRAM
Base Explorer
Base (ETH) Blockchain Explorer
Base allows you to explore and search the Base Network for transactions, addresses, tokens, prices and other activities taking place on the Base Network
InsideDropLabs
Quiz 1 : K
Quiz 2 : Succinct
Quiz 3 : Succant
Quiz 4 : Answer
Quiz 5 : LEAN I LOVE LEAN
Quiz 6 : ALL OF THE ABOVE
Quiz 7 : Yes
Quiz 8 : Answer
Quiz 9 : Answer
Quiz 10 : Answer
Pick Pictures : 1 3 4 5 7 10
Please open Telegram to view this post
VIEW IN TELEGRAM
InsideDropLabs
cd 0g-storage-node/run/db
rm -r data_db
sudo systemctl daemon-reload && \
sudo systemctl enable zgs && \
sudo systemctl restart zgs && \
sudo systemctl status zgs
*Pastikan backup private key dan hapus folder/file 0g-storage-node sebelum menjalankan scripts
rm -r 0g-storage-node
git clone -b v0.8.6 https://github.com/0glabs/0g-storage-node.git
cd $HOME/0g-storage-node
git stash
git fetch --all --tags
git checkout 67a8241
git submodule update --init
cargo build --release
rm -rf $HOME/0g-storage-node/run/config.toml
curl -o $HOME/0g-storage-node/run/config.toml https://raw.githubusercontent.com/zstake-xyz/test/refs/heads/main/0g_storage_config.toml
nano $HOME/0g-storage-node/run/config.toml
Paste Private Key "miner_key"
CTRL X, Y, Enter
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.toml
Restart=on-failure
RestartSec=10
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload && sudo systemctl enable zgs && sudo systemctl start zgs
tail -f ~/0g-storage-node/run/log/zgs.log.$(TZ=UTC date +%Y-%m-%d)
https://evmrpc-testnet.0g.ai
https://evm-rpc.0g.testnet.node75.org
Atau kalian bisa mencari atau backtest sendiri RPC yang tersedia disini OriginStake
Untuk yang sudah menjalankan tipe turbo dan tidak ada masalah (TX Jalan) disarankan untuk hapus data_db saja sesuai step diatas tanpa perlu migrate ke standard, tapi kalau memang tidak ada TX sama sekali silahkan migrate dari turbo ke standard, versi ini lebih cocok untuk low spec tetapi boros di fee.
Dari artikel terbaru di official OGLabs, bisa di bilang untuk mainnet di undur dari Q1 ke Q2. artinya masih ada waktu 1-3 Bulan untuk push TX di node ataupun di Testnet.
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
👍1
InsideDropLabs
Please open Telegram to view this post
VIEW IN TELEGRAM
Google Docs
Closed Alpha Testing Phase #2 - Snapshot
InsideDropLabs
#Free
Please open Telegram to view this post
VIEW IN TELEGRAM
quest.somnia.network
Somnia Quest
Somnia - Quest
InsideDropLabs
Please open Telegram to view this post
VIEW IN TELEGRAM
👍1
5BT87#Free
Please open Telegram to view this post
VIEW IN TELEGRAM
Megaeth
MegaETH | Testnet
MegaETH is real-time Ethereum, streaming transactions at lightning speed: 10-millisecond latency and over 20,000 transactions per second.
InsideDropLabs
Quiz 1 : Application-specific circuits
Quiz 2 : Fully homomorphic encryption
Quiz 3 : zkVMs
Quiz 4 : Prover
Quiz 5 : Reusable rockets
Pick Pictures : 1 2 4 10 (70%)
Please open Telegram to view this post
VIEW IN TELEGRAM
InsideDropLabs
Phase 2 already ended, prepare for phase 3 and migrate on devnet4 :
sudo systemctl stop cortensor
Backup Isi File ini :
nano ~/.cortensor/.env
Masuk ke folder "installer"
git pull
./install-docker-ubuntu.sh
./install-docker-debian.sh
./install-ipfs-linux.sh
./install-linux.sh
ls -al /usr/local/bin/cortensord
ls -al /etc/systemd/system/cortensor.service
sudo su deploy
nano ~/.cortensor/.env
Ubah file ini :
HOST=https://xxx (Ganti menggunakan private RPC Arbitrum Sepolia jika tx error)
CHAINID=421614
HOST_MAINNET=https://xxx (Ganti menggunakan private RPC Ethereum)
## Node Key
NODE_PUBLIC_KEY=Ganti dengan Address Node yang sebelumnya disimpan
NODE_PRIVATE_KEY=Ganti dengan PK node yang sebelumnya disimpan
ctrl X,Y,Enter
./utils/use-devnet4.sh
sudo systemctl start cortensor
tail -f /var/log/cortensord.log
Please open Telegram to view this post
VIEW IN TELEGRAM
InsideDropLabs
Please open Telegram to view this post
VIEW IN TELEGRAM
Magic Eden
Magic Eden - NFT Marketplace
👍1
InsideDropLabs
Please open Telegram to view this post
VIEW IN TELEGRAM
QuickSwap
QuickSwap dApp — Swap, Liquidity, Farms & Perps
Trade, provide liquidity, earn with farms, and access perps on Polygon & Base with deep liquidity and low fees.
InsideDropLabs
Please open Telegram to view this post
VIEW IN TELEGRAM
InsideDropLabs
Please open Telegram to view this post
VIEW IN TELEGRAM
alpha.dyson.finance
Dyson Finance
Accessible & Profitable Dex for All