Solana Testnet Validator - Quickstart
स्थापना और वैलिडेटर लॉन्च
bash
curl -fsSL https://storage.slv.dev/slv/install | sh
slv validator init
slv validator deploycurl -fsSL https://storage.slv.dev/slv/install | sh
slv validator init
slv validator deployतैनाती Solana Testnet Firedancer Validator
A prerequisites
कृपया एक सर्वर तैयार करें Ubuntu 24.04 LTS स्वच्छ रूप से स्थापित।
The key of the key to the key to the key to the key to the key.
नए के लिए SLV फायरडांसर तैनाती, ** unstaked-keypair.json** हमेशा सुरक्षा के लिए शुरू में पहचान कुंजी के रूप में प्रयोग किया जाता है।
यह महत्वपूर्ण मुद्दों जैसे कि डबल मतदान को रोकने के लिए एक सर्वोत्तम अभ्यास है।
The state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the Deployment.
तैनाती के बाद, निम्नलिखित आदेशों के साथ अधिकृत पहचान कुंजी निर्धारित करना सुनिश्चित करें:
bash
slv v set:identity -n testnet --pubkey <name>slv v set:identity -n testnet --pubkey <name>Testnet के लिए एक Baremetal सर्वर तैयार करना
जबकि यह संभव है चलाने के लिए Solana VPS या आभासी मशीनों (VM) पर नोड्स, इष्टतम प्रदर्शन और स्थिरता प्राप्त करने के अभ्यास में चुनौतीपूर्ण है। Solana आधिकारिक तौर पर नंगे धातु सर्वर का उपयोग करने की सिफारिश करता है, जो आभासी वातावरण की तुलना में अधिक प्रदर्शन प्रदान करता है।
चूंकि परीक्षणनेट वातावरण में मेननेट की तुलना में कम भार होता है, इसलिए हमने 16 कोर Ryzen के साथ सर्वर का उपयोग करके स्थिर संचालन की पुष्टि की है। CPU 128GB RAM और 128GB RAM इस सर्वर कॉन्फ़िगरेशन का उपयोग करके परिचालन लागत को कम करने में मदद करता है, इसलिए इसकी सिफारिश की जाती है।
जब आप दौड़ते हैं
slv v init आदेश, आप अपने नंगे धातु सर्वर पहले से ही स्थापित किया गया है कि क्या कहा जाएगा:bash
➜ slv v init
? Select Solana Network (testnet) › testnet
? 🛡️ Do you have a Solana Node Compatible Server? (no)
❯ yes
no➜ slv v init
? Select Solana Network (testnet) › testnet
? 🛡️ Do you have a Solana Node Compatible Server? (no)
❯ yes
noयह ट्यूटोरियल आपको चुनने का फैसला करता है
yes.यदि आपने अभी तक अपने नंगे धातु सर्वर को तैयार नहीं किया है, तो कृपया देखें Baremetal सर्वर सेटअप गाइड सेटअप को पूरा करने के लिए।
इनपुट सर्वर का डिफ़ॉल्ट उपयोगकर्ता नाम
अधिकांश समय, डिफ़ॉल्ट उपयोगकर्ता नाम है
ubuntu or root.bash
? What's the user for the server? (ubuntu) › ubuntu? What's the user for the server? (ubuntu) › ubuntuइनपुट सर्वर IP पता
इनपुट IP सर्वर का पता
bash
? What's the IP address of the server? ›? What's the IP address of the server? ›SSH के लिए RSA कुंजी सेट करें
A squeer of the RSA key. The डिफ़ॉल्ट पथ है
~/.ssh/id_rsa.
वर्तमान में, केवल डिफ़ॉल्ट पथ समर्थित है, इसलिए कृपया इसे निर्धारित करें।bash
? What's the path to your RSA key? (~/.ssh/id_rsa) › ~/.ssh/id_rsa
🔍 Checking SSH connection...
✔︎ SSH connection succeeded? What's the path to your RSA key? (~/.ssh/id_rsa) › ~/.ssh/id_rsa
🔍 Checking SSH connection...
✔︎ SSH connection succeededफिर SLV यदि कनेक्शन सफल हो जाता है तो अगले कदम को प्रेरित किया जाएगा।
चयन Solana वैलिडेटर प्रकार
प्रकार का चयन करें Solana सत्यापनकर्ता
bash
? Select Validator Type (firedancer-jito)
agave
jito
jito-bam
firedancer-agave
❯ firedancer-jito? Select Validator Type (firedancer-jito)
agave
jito
jito-bam
firedancer-agave
❯ firedancer-jitoउत्पन्न करना या सेट करना Solana वैलिडेटर पहचान कुंजी
आप एक नई पहचान कुंजी उत्पन्न कर सकते हैं या एक मौजूदा पहचान कुंजी सेट कर सकते हैं।
यह उदाहरण दिखाता है कि "epics-test" नाम के साथ मौजूदा पहचान कुंजी कैसे सेट करें।
bash
? Do you want to create a new identity key now? (Y/n) › No
? Please Enter Your Identity Public Key › TKMNqvfwb7PKkc9KFEJJ8EaNK9s5XjNWgFS6oyqSLkp
? Enter Inventory Name (TKMNqvfwb7PKkc9KFEJJ8EaNK9s5XjNWgFS6oyqSLkp) › epics-test
⚠️ Please place your identity key in
~/.slv/keys/TKMNqvfwb7PKkc9KFEJJ8EaNK9s5XjNWgFS6oyqSLkp.json
.
.
✔︎ Success
✔ Inventory updated to ~/.slv/inventory.yml
✔ Successfully created solv user on x.x.x.x? Do you want to create a new identity key now? (Y/n) › No
? Please Enter Your Identity Public Key › TKMNqvfwb7PKkc9KFEJJ8EaNK9s5XjNWgFS6oyqSLkp
? Enter Inventory Name (TKMNqvfwb7PKkc9KFEJJ8EaNK9s5XjNWgFS6oyqSLkp) › epics-test
⚠️ Please place your identity key in
~/.slv/keys/TKMNqvfwb7PKkc9KFEJJ8EaNK9s5XjNWgFS6oyqSLkp.json
.
.
✔︎ Success
✔ Inventory updated to ~/.slv/inventory.yml
✔ Successfully created solv user on x.x.x.xकृपया अपनी पहचान कुंजी को इन करें
~/.slv/keys/<your-pubkey>.jsonफिर, SLV बनाना solv उपयोगकर्ता पासवर्ड का उपयोग करते हैं।स्वचालित क्षेत्र जांच
इसके बाद, सिस्टम आपके कॉन्फ़िगर किए गए नोड से प्रत्येक ब्लॉक इंजन को स्वचालित रूप से निकटतम क्षेत्र का पता लगाने के लिए पिंग करेगा। वास्तविक पिंग मूल्यों को मापने के द्वारा, आप इष्टतम क्षेत्र का चयन कर सकते हैं।
bash
📍 Measuring latencies from x.x.x.x to testnet regions...
Pinging Dallas (dallas.testnet.block-engine.jito.wtf)...
Pinging New York (ny.testnet.block-engine.jito.wtf)...
✅ New York: 74.341 ms
✅ Dallas: 114.722 ms
🎯 Nearest region: 🇺🇸 New York
Latency: 74.341 ms
Block Engine: https://ny.testnet.block-engine.jito.wtf
Shred Receiver: 64.130.35.224:1002
Relayer: http://ny.testnet.relayer.jito.wtf:8100
NTP Server: ntp.dallas.jito.wtf📍 Measuring latencies from x.x.x.x to testnet regions...
Pinging Dallas (dallas.testnet.block-engine.jito.wtf)...
Pinging New York (ny.testnet.block-engine.jito.wtf)...
✅ New York: 74.341 ms
✅ Dallas: 114.722 ms
🎯 Nearest region: 🇺🇸 New York
Latency: 74.341 ms
Block Engine: https://ny.testnet.block-engine.jito.wtf
Shred Receiver: 64.130.35.224:1002
Relayer: http://ny.testnet.relayer.jito.wtf:8100
NTP Server: ntp.dallas.jito.wtfउत्पन्न करना या सेट करना Solana वैलिडेटर वोट खाता कुंजी
आप एक नया वोट खाता कुंजी उत्पन्न कर सकते हैं या मौजूदा वोट खाता कुंजी सेट कर सकते हैं।
यह उदाहरण बताता है कि मौजूदा वोट खाता कुंजी कैसे निर्धारित की जाए।
bash
? Do you want to create a new vote account key now? (Y/n) › No
? Please Enter Your Vote Account Public Key > <your-vote-account>? Do you want to create a new vote account key now? (Y/n) › No
? Please Enter Your Vote Account Public Key > <your-vote-account>अब विन्यास को बचाया गया है
~/.slv/inventory.testnet.validators.yml.वैलिडेटर को तैनात करना
एक बार जब आप विन्यास की पुष्टि करते हैं, तो तैनाती शुरू हो जाएगी।
bash
slv v deploy -n testnetslv v deploy -n testnetपहले, कॉन्फ़िगरेशन पुष्टि प्रदर्शित की जाएगी।
हाँ जारी रखने के लिए चुनें।
bash
Your Testnet Validators Settings:
┌────────────────┬──────────────────────────────────────────────┐
│ Identity Key │ TKMNqvfwb7PKkc9KFEJJ8EaNK9s5XjNWgFS6oyqSLkp │
├────────────────┼──────────────────────────────────────────────┤
│ Vote Key │ 6XdQ6szHJjm1t3XbgahSS6WVEhsrs5fniZbLgfkN1QWn │
├────────────────┼──────────────────────────────────────────────┤
│ Authority Key │ authAccount │
├────────────────┼──────────────────────────────────────────────┤
│ IP │ x.x.x.x. │
├────────────────┼──────────────────────────────────────────────┤
│ Validator Type │ jito │
├────────────────┼──────────────────────────────────────────────┤
│ Version │ 3.0.7-jito │
└────────────────┴──────────────────────────────────────────────┘
? Do you want to continue? (Y/n) › YesYour Testnet Validators Settings:
┌────────────────┬──────────────────────────────────────────────┐
│ Identity Key │ TKMNqvfwb7PKkc9KFEJJ8EaNK9s5XjNWgFS6oyqSLkp │
├────────────────┼──────────────────────────────────────────────┤
│ Vote Key │ 6XdQ6szHJjm1t3XbgahSS6WVEhsrs5fniZbLgfkN1QWn │
├────────────────┼──────────────────────────────────────────────┤
│ Authority Key │ authAccount │
├────────────────┼──────────────────────────────────────────────┤
│ IP │ x.x.x.x. │
├────────────────┼──────────────────────────────────────────────┤
│ Validator Type │ jito │
├────────────────┼──────────────────────────────────────────────┤
│ Version │ 3.0.7-jito │
└────────────────┴──────────────────────────────────────────────┘
? Do you want to continue? (Y/n) › Yesयह किया गया है! Solana अब वैलिडेटर तैनात है। यह कुछ समय के साथ सिंक करने के लिए ले जाएगा Solana नेटवर्क
डीबगिंग और निगरानी
तैनाती के बाद, आप डीबग कर सकते हैं और मॉनिटर कर सकते हैं Solana RPC नोड।
आप की स्थिति की जांच कर सकते हैं Solana RPC निम्नलिखित कमांडों का उपयोग करके नोड:
bash
$ solv m$ solv msolv के लिए एक आलिया है agave-validator -l /mnt/ledger.
इस सेटिंग में जोड़ा गया है ~/.profile दौरान RPC नोड तैनाती।पहचान कुंजी बदलें
तैनाती के बाद, आपको अधिकृत पहचान कुंजी में अटैके की कुंजी बदलने की आवश्यकता है।
bash
slv v set:identity -n testnet --pubkey epics-testslv v set:identity -n testnet --pubkey epics-testयह कमांड आपके स्थानीय कंप्यूटर से पहचान कुंजी सेट करेगा:
~/.slv/keys/<name>.jsonRestart Firedancer
यदि आपके पास वैधानिक के साथ कोई समस्या है, तो आप निम्न कमांड के साथ फायरडांसर को पुनः प्राप्त कर सकते हैं।
The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The
--rm विकल्प सत्यापनकर्ता को रोक देगा, लेजर और स्नैपशॉट डायरेक्टरी को हटा देगा, स्नैपशॉट खोजकर्ता का उपयोग करके स्नैपशॉट डाउनलोड करें, और फिर सत्यापनकर्ता शुरू करें।bash
slv v restart -n testnet --pubkey <name> --rmslv v restart -n testnet --pubkey <name> --rmSLV वैलिडेटर कमांड
bash
slv validator --help
Usage: slv validator
Version: 0.9.700
Description:
🛠️ Manage Solana Validator Nodes 🛠️
Options:
-h, --help - Show this help.
Commands:
init - 🚀 Initialize a new validator configuration
deploy - 📦 Deploy Validators
list - 📋 List validators
set:identity - 🪪 Set Validator Identity
set:unstaked - 📴 Set Validator Identity to Unstaked Key
setup:firedancer - 🔥 Setup/Update Firedancer Validator
update:firedancer - 🔄 Update Firedancer Version
build:solana-cli - 🛠️ Build Solana CLI from Source
install:solana - ➡️ Install Solana CLI Binary
update:script - ⚙️ Update Validator Startup Config
update:jinja - 🧩 Update Jinja Template
start - 🟢 Start Validator
stop - 🔴 Stop Validator
restart - ♻️ Restart Validator
cleanup - 🧹 Cleanup Validator - Remove Ledger/Snapshot Unnecessary Files
get:snapshot - 💾 Download Snapshot with aria2c
gen:vote-account - 🗳️ Generate Vote Account
switch - 🔁 Switch Validator Identity - No DownTime Migrationslv validator --help
Usage: slv validator
Version: 0.9.700
Description:
🛠️ Manage Solana Validator Nodes 🛠️
Options:
-h, --help - Show this help.
Commands:
init - 🚀 Initialize a new validator configuration
deploy - 📦 Deploy Validators
list - 📋 List validators
set:identity - 🪪 Set Validator Identity
set:unstaked - 📴 Set Validator Identity to Unstaked Key
setup:firedancer - 🔥 Setup/Update Firedancer Validator
update:firedancer - 🔄 Update Firedancer Version
build:solana-cli - 🛠️ Build Solana CLI from Source
install:solana - ➡️ Install Solana CLI Binary
update:script - ⚙️ Update Validator Startup Config
update:jinja - 🧩 Update Jinja Template
start - 🟢 Start Validator
stop - 🔴 Stop Validator
restart - ♻️ Restart Validator
cleanup - 🧹 Cleanup Validator - Remove Ledger/Snapshot Unnecessary Files
get:snapshot - 💾 Download Snapshot with aria2c
gen:vote-account - 🗳️ Generate Vote Account
switch - 🔁 Switch Validator Identity - No DownTime Migration