└── README.md /README.md: -------------------------------------------------------------------------------- 1 | # Drosera Node Kurulum Rehberi (SystemD) 2 | 3 | Bu rehber, sistem gereksinimi düşük olan @DroseraNetwork node'unu kolayca kurabilmeniz için hazırlanmıştır. Boşta duran VPS’lerinizde veya ücretsiz sunucularda çalıştırabilirsiniz. 4 | 5 | ## Sistem Gereksinimleri 6 | 7 | | Gereksinim | Detaylar | 8 | |------------------------|------------------------------------------| 9 | | RAM | En az 4 GB RAM | 10 | | Depolama | En az 20 GB SSD | 11 | | İşletim Sistemi | Ubuntu 20.04 veya üzeri | 12 | | Cüzdan Gereksinimi | Holesky ağı üzerinde ETH bulunan EVM cüzdan | 13 | 14 | ## Sunucu Önerileri 15 | 16 | **Ücretsiz:** 17 | - https://www.digitalocean.com/ → Kredi veriyor, kredi ile sunucu kiralayabilirsiniz. 18 | 19 | **Ücretli:** 20 | - https://contabo.com/en/vps/cloud-vps-4c/ → 6$ civarı, en ucuzunu seçebilirsiniz. 21 | 22 | ## Kurulum Öncesi Gereklilikler 23 | 24 | - Yeni bir MetaMask cüzdanı oluşturun. 25 | - Bu cüzdana Holesky ETH yükleyin. 26 | 27 | 📌 Faucet bağlantısı: https://www.alchemy.com/faucets 28 | 29 | ## 1- Sunucuya Bağlanma 30 | 31 | ```bash 32 | ssh root@[Sunucu_IP] 33 | ``` 34 | 35 | ## 2- Gerekli Güncellemeleri ve Araçları Yükleyin 36 | 37 | ```bash 38 | sudo apt-get update && sudo apt-get upgrade -y && sudo apt install curl ufw iptables build-essential git wget lz4 jq make gcc nano automake autoconf tmux htop nvme-cli libgbm1 pkg-config libssl-dev libleveldb-dev tar clang bsdmainutils ncdu unzip libleveldb-dev -y 39 | ``` 40 | 41 | ## 3- CLI Kurulumları 42 | 43 | ```bash 44 | curl -L https://app.drosera.io/install | bash 45 | source /root/.bashrc 46 | droseraup 47 | ``` 48 | ```bash 49 | curl -L https://foundry.paradigm.xyz | bash![Go18yj6WMAAHvfj](https://github.com/user-attachments/assets/11009cc2-4d78-46ec-b8d2-6f3d0caaf0c1) 50 | 51 | source /root/.bashrc 52 | foundryup 53 | ``` 54 | ```bash 55 | curl -fsSL https://bun.sh/install | bash 56 | ``` 57 | ```bash 58 | source /root/.bashrc 59 | ``` 60 | 61 | ## 4- Trap Oluşturma 62 | 63 | ```bash 64 | mkdir my-drosera-trap && cd my-drosera-trap 65 | ``` 66 | ```bash 67 | git config --global user.email "mail-adresini-gir" 68 | git config --global user.name "github-kullanici-adi" 69 | ``` 70 | - "mail-adresini-gir" kısmına githup mail adresinizi girin. 71 | - "github-kullanici-adi" kısmına githup kullanıcı adınızı girin. 72 | 73 | ## 5- Template'i Çekip Derleme 74 | 75 | ```bash 76 | forge init -t drosera-network/trap-foundry-template 77 | ``` 78 | ```bash 79 | curl -fsSL https://bun.sh/install | bash 80 | bun install 81 | ``` 82 | ```bash 83 | forge build 84 | ``` 85 | 86 | ## 6- Deploy Etme 87 | 88 | ```bash 89 | DROSERA_PRIVATE_KEY=kendi-privatekey drosera apply 90 | ``` 91 | - Yukarıdaki "kendi-privatekey" kısmına Holesky ETH bulunan MetaMask cüzdanınızın private key’ini girin. 92 | - Deploy sırasında sizden onay istenirse ofc yazıp Enter'a basın. 93 | 94 | ## 7- Kontrol Et ve Bloom Boost İşlemi 95 | 96 | - https://app.drosera.io adresine girin 97 | - Cüzdanınızı bağlayın 98 | - "Traps Owned" sekmesinden trap'e tıklayın 99 | - "Send Bloom Boost" butonuna basın ve bir miktar Holesky ETH yatırın 100 | 101 | ![image](https://github.com/user-attachments/assets/08d6f494-6b1e-47c7-aad7-f922fd48ea94) 102 | 103 | ## 8- Whitelist Ayarı 104 | 105 | ```bash 106 | cd ~/my-drosera-trap 107 | nano drosera.toml 108 | ``` 109 | 110 | ```toml 111 | private_trap = true 112 | whitelist = ["0xSeninPublicCuzdanAdresin"] 113 | ``` 114 | ⚠ Fazladan private ve whitelist'i silin. Örnekteki gibi olmalı. 115 | ![image](https://github.com/user-attachments/assets/1e83c016-12a3-48b5-b6d4-082e7ca695a7) 116 | 117 | ```bash 118 | DROSERA_PRIVATE_KEY=kendi-privatekeyin drosera apply 119 | ``` 120 | - Yukarıdaki "kendi-privatekeyin" kısmına Holesky ETH bulunan MetaMask cüzdanınızın private key’ini girin. 121 | 122 | ## 9- Operatör CLI Kurulumu 123 | 124 | ```bash 125 | cd ~ 126 | curl -LO https://github.com/drosera-network/releases/releases/download/v1.16.2/drosera-operator-v1.16.2-x86_64-unknown-linux-gnu.tar.gz 127 | tar -xvf drosera-operator-v1.16.2-x86_64-unknown-linux-gnu.tar.gz 128 | sudo cp drosera-operator /usr/bin 129 | drosera-operator --version 130 | ``` 131 | 132 | ## 10- Alchemy RPC Alma 133 | 134 | 1. https://dashboard.alchemy.com adresine git 135 | 2. Ethereum → Holesky ağı için bir uygulama oluştur 136 | 3. Uygulama sayfasından özel RPC linkini kopyala 137 | 138 | ![image](https://github.com/user-attachments/assets/759b1853-45d8-4f02-aace-c4fe812fc72b) 139 | 140 | ## 11- Portları Aç: 141 | 142 | ```bash 143 | sudo ufw allow ssh && \ 144 | sudo ufw allow 22 && \ 145 | sudo ufw allow 31313/tcp && \ 146 | sudo ufw allow 31314/tcp && \ 147 | sudo ufw --force enable 148 | ``` 149 | 150 | ## 12- SystemD Servisi Oluşturma 151 | 152 | ```bash 153 | sudo tee /etc/systemd/system/drosera.service > /dev/null <