Xai 백서

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 56쪽 중 8쪽

n -xs 82824 quit` ### Reattach to your Screen session <a href="#id-211-reattach-to-your-screen-session" id="id-211-reattach-to-your-screen-session"></a> Anytime you want to see the logs from your node, you can reattach to that session as follows: &#x20;Comment ``` screen -r <screen_id> ``` where `<screen_id>` is the numbers of your Screen session. Example: ``` screen -r 82824 ``` Note, currently you can’t see the rewards using the CLI. You need to install a desktop app for it. For more details refer to [this video](https://xai-foundation.gitbook.io/xai-network/xai-blockchain/sentry-node-purchase-and-setup/how-to-videos/command-line-interface-cli/track-accrued-esxai). ### Detach from your Screen session <a href="#id-28-detach-from-your-screen-session" id="id-28-detach-from-your-screen-session"></a> You can detach from your current Screen session by **pressing**: * `ctrl a + d` (Windows) * `control a + d` (macOS) or ``` screen -d <screen_id> ``` where `<screen_id>` is the numbers of your Screen session. Example: ``` screen -d 82824 ``` Make sure to **Detach** before exiting the server. Detached mode allows you to exit your Screen session without closing or interrupting any processes that are happening within that session. That means that everything will keep running in the background even if you log out from your VPS. You can now safely log out from your server: ``` logout ``` # Step 7: Updating your node Following these steps will help you set up and maintain your Xai Sentry Node effectively. Remember to regularly check for updates and monitor your node’s performance. 1. Login to your server using the `ssh` command from your terminal: ``` ssh $USER@$REMOTE_SERVER ``` 2. Reattach to your Screen session: ``` screen -r <screen_id> ``` 3. Replace the following values:\ \- `<screen_id>` - the id of your current Screen session\ \- Example: `screen -r 82824` 4. Stop the operator: * `ctrl + c` (Windows) * `control + c` (macOS) 5. Remove your current CLI: ``` rm sentry-node-cli-linux sentry-node-cli-linux.zip ``` 7. Download the latest CLI. You don't need to download the file on your computer since this command takes it from the GitHub website. ``` curl -L -o sentry-node-cli-linux.zip https://github.com/xai-foundation/sentry/releases/latest/download/sentry-node-cli-linux.zip ``` 8. Unzip the file: ``` unzip sentry-node-cli-linux.zip ``` 9. Start CLI: ``` ./sentry-node-cli-linux ``` 10. Boot the operator: ``` boot-operator ``` 11. Paste the private key of your **Sentry Wallet** and press `Enter`. 12. Wait until the operator has finished booting and you see the following message: ``` The operator has finished booting. The operator is running successfully. esXAI will accrue every few days. Health check complete, subscription to 'ChallengeSubmitted' is still active. ``` 13. Detach from your Screen session: * `ctrl a + d` (Windows) * `control a + d` (macOS) 14. Logout from your server: ``` logout ``` {% hint style="info" %} To KYC and view rewards, you need the desktop app, which is not covered in the CLI. {% endhint %} # How do I prevent others from using my Sentry Wallet or Operator? {% tabs %} {% tab title="Desktop App" %} As of update v1.0.33, a Sentry Wallet owner can determine what wallets it operates on. To use this feature on the Desktop App, follow these steps: 1. Go to the Sentry Wallet page in the desktop app. 2. Click on Allowed Wallets. A drawer will appear on the right side of the desktop app showing a list of wallets that have been assigned to your Sentry Wallet. 3. Choose the wallets you want to allow your Sentry Wallet to operate on by checking the boxes next to those wallets. {% hint style="info" %} * If there are any wallets listed that you do not recognize, it is recommended that you uncheck the box next to that wallet. * If the Sentry Wallet does not contain any Keys, it is recommended not to whitelist the Sentry Wallet. * By allowing a wallet to be operated on by your Sentry, you are accepting the responsibility of paying the gas fee associated with submitting an assertion and claiming rewards. {% endhint %} 4. Click "Apply" at the bottom of the drawer. {% hint style="info" %} * After clicking "Apply," the Sentry will automatically restart. * Any Keys associated with the allowed wallets will appear on the Sentry Wallet page. * Any Keys associated with the wallet NOT allowed will no longer appear on the Sentry Wallet page. {% endhint %} {% endtab %} {% tab title="CLI" %} As of update v1.0.33, users can select which wallets to operate on. To use this feature in the CLI, follow these steps: 1. Run the `boot-operator` command. Then hit 'Enter'. 2. Enter the private key of the operator. Then hit 'Enter'. 3. You will be asked if you want to use a whitelist for the operator runtime. If you want to prevent others from utilizing your operator to pay the gas for operating their Keys, then enter "Y". Then hit 'Enter'. {% hint style="info" %} It is strongly recommended to have a whitelist for the operator runtime. The only time it may be acceptable to enter "N" when prompted in this step is if you do not care about paying the gas to operate someone else's Key(s). {% endhint %} 4. Use the Up & Down arrow keys on your keyboard to navigate to the wallet you want to add to the whitelist, then hit Spacebar to select that wallet. {% hint style="info" %} It is recommended that you only whitelist the wallet(s) containing Key(s). If you see any wallets you do not recognize, it is recommended that you do not select those wallets. {% endhint %} 4. After repeating Step 4 for each wallet you want to add to the whitelist, hit 'Enter'. {% endtab %} {% endtabs %} # Why don't I see the KYC link on the desktop app? If you do not see the KYC link in the "Actions Required" sidebar, it means you have not [whitelisted your wallets](/xai-network/about-xai/sentry-key-setup/common-troubleshooting-steps/how-do-i-prevent-others-from-using-my-sentry-wallet-or-operator). Whitelisting the wallets ensures that only the wallets you give permission to are allowed to be operated on by your Sentry Wallet. Once you complete the steps to whitelist your wallets, the KYC link will appear for each wallet you have whitelisted. Here's what the KYC alert in the "Actions Required" sidebar looks like when you have not selected wallets to whitelist: <figure><img src="https://2248955668-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhE4weeNpCJSNUXnecN1R%2Fuploads%2FSVRqb0xQa8UONy3GFfVE%2Fimage.png?alt=media&amp;token=c12f14ba-2a14-44ca-bfe2-4a50b83cc24f" alt=""><figcaption></figcaption></figure> Once you have selected the wallets you want to whitelist, you will see the KYC alert with the "Select your country" dropdown option and the "Begin KYC" button like this: <figure><img src="https://2248955668-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhE4weeNpCJSNUXnecN1R%2Fuploads%2Fr8nOZwsounZZzzBOrcwo%2Fimage.png?alt=media&amp;token=88741d10-9db5-406b-a63c-25d440823705" alt=""><figcaption></figcaption></figure> # How do I know my Node is running in the CLI? If you have already run the `boot-operator` command, you can scroll up in the CLI to see the `Started listener for new challenges` message. If you see this it means your node is running properly. If you do not see this message, then follow [these steps](https://xai-foundation.gitbook.io/xai-network/xai-blockchain/sentry-node-purchase-and-setup/step-3-complete-requirements-to-accrue-esxai/step-3b-start-the-sentry-wallet-a.k.a-operator) to run your node. # How do I KYC if I'm using the CLI? 1. [Download and install the desktop app](/xai-network/about-xai/sentry-key-setup/step-1-download-and-run-the-xai-sentry-node). 2. Navigate to the Keys page. 3. Click "+Add wallet". 4. In the right sidebar, click Assign Wallet. 5. Assign your wallet using the web flow. 6. Return to the desktop app and click Start Sentry. 7. Click "Start KYC". 8. Select the country you reside in in the right sidebar. 9. Click "Start KYC" again. You will be directed to the BlockPass website to continue the KYC process. # How can I see my rewards? {% hint style="info" %} Node rewards are granted every hour to Keys that participate in a challenge. See more info [**here**](https://xai-foundation.gitbook.io/xai-network/xai-blockchain/sentry-node-purchase-and-setup/accruing-node-rewards). {% endhint %} You can see your accrued esXAI rewards in the desktop app. After you [download and install the desktop app](https://xai-foundation.gitbook.io/xai-network/xai-blockchain/sentry-node-purchase-and-setup/step-2-download-and-run-the-xai-sentry-node), follow these steps: 1. Navigate to the Keys page. 2. Click "+Add wallet". 3. In the right sidebar, enter the the public key of the wallet you want to view accrued esXAI for. 4. Click "Add Wallet". You will see accrued esXAI rewards for each Key you add. You can also see the total esXAI at the top of the page. # Crashing, inconsistent Emissions / missing revert data errors This can be caused by running the `boot-operator` command too many times or by an unstable internet connection. Check the following to resolve these issues: 1. Check to make sure that you're running only one instance of the CLI. If you have multiple instances running, close all of them. 2. Check to make sure you're not running the Sentry on the desktop app at the same time as the CLI. If you are, pause the Sentry Wallet on the desktop app. 3. Make sure your internet connection is stable. If all steps above are completed, then proceed to the following steps: 1. Close and reopen the CLI. 2. Run the `boot-operator` command. # According to BlockPass, my KYC is approved, but the desktop app still says I am not approved Check back in the Xai Node desktop app 24 hours after being approved by BlockPass. If your status in the app is still not approved, reach out our Telegram or Discord. \ If you have failed KYC and you think you should not have, email <support@blockpass.org>. # I see "Transaction in progress" message after assigning my wallet. Did my wallet not get assigned? After clicking "Assign wallet" in the desktop app, you will be redirected to your web browser where you can connect the wallet containing the Keys. While you're on this page, the desktop app will display a "Transaction in progress" modal. When you complete assigning your wallet in the browser, you can click "Return to Xai Client" and it will direct you back to the desktop app. The "Transaction in progress" modal should go away and you should see a modal confirming the successful transaction. If the "Transaction in progress" modal is still visible after successfully assigning your wallet to the Sentry and returning from the web browser, you can close the modal. Then, proceed to the Sentry Wallet page, click "Pause Sentry" at the top, then click "Start Sentry". You should see your newly assigned wallet populate on this page. # How do I delegate my Keys to another user's operator? #### Here are the steps to delegate your keys to another user's operator: 1. Go to <https://sentry.xai.games/#/assign-wallet/**\\[insert-other-operator-public-address>]\*\* (be sure to edit this URL) 2. Click "Assign wallet to Sentry" 3. Sign the transaction Then tell the other user to stop & restart their Sentry (or if they are using a CLI, ask them to run the boot-operator command again). #### If you decide to no longer delegate your keys to that user's operator, you can use the steps below: 1. Go to <https://sentry.xai.games/#/unassign-wallet/**\\[insert-other-operator-public-address>]\*\* (be sure to edit this URL) 2. Click "Unassign wallet from Sentry" 3. Sign the transaction Then tell the other user to stop & restart their Sentry (or if they are using a CLI, ask them to run the boot-operator command again). # Why did my Accrued esXAI balance decrease? There are two ways your Accrued esXAI balance may decrease and neither one is an issue: 1. If you [passed KYC](/xai-network/about-xai/sentry-key-setup/how-to-videos/desktop-client/claim-node-rewards-after-passing-kyc), you will begin claiming node rewards. When this happens, your **esXAI balance** will increase and your **Accrued esXAI (unclaimed)** balance will decrease by the corresponding amount.&#x20; 2. Your balance may also appear to decrease if you spam the refresh button on the Keys page. Each time you press this button it will take about 10 seconds per Key to fetch the data onchain and to populate the Keys dashboard with the Accrued esXAI. This number will count back up from 0, so wait at least 5 minutes until the loading status is replace with "Last Update: \[time/date stamp]". # What are the legitimate contracts owned & operated by Xai Foundation? Below is a list of the legitimate and relevant contracts for operating a Xai node: **nodeLicenseAddress**: 0xbc14d8563b248B79689ECbc43bBa53290e0b6b66 **refereeAddress**: 0xfD41041180571C5D371BEA3D9550E55653671198 **esXaiAddress**: 0x4C749d097832DE2FEcc989ce18fDc5f1BD76700c **xaiAddress**: 0x4Cb9a7AE498CEDcBb5EAe9f25736aE7d428C9D66 {% hint style="danger" %} If you interact with any contracts aside from one of the 4 listed above, you should assume it is a scam. You should also inform a member of the Xai staff on Discord or Telegram to make them aware of the scam contract(s). {% endhint %} ### Glossary: **nodeLicenseAddress**: This is the node license contract where Sentry Keys are minted. This is the only contract you should interact with when minting Xai Sentry Keys to run a node. **refereeAddress**: This is the referree contract which creates a new challenge, collects assertions from keyholders, and gives out rewards to participants of a challenge. This is the only contract you should receive esXAI rewards from for operating a node. **esXaiAddress**: This is the esXAI token contract. Do not accept any esXAI tokens that are not part of this contract. **xaiAddress**: This is the XAI token contract. Do not accept any XAI tokens that are not part of this contract. # Why do I get an error for challenge 2012? The following error message can be ignored for challenge 2012: `Error submitting assertion for Sentry Key [X] to challenge 2012 - execution reverted` This error occurs only for challenge 2012 because when the staking tiers were updated on 3/2/24, operators on the outdated version (1.1.3 and older) were still attempting to submit challenges which were invalid.&#x20; A permanent fix for the error is underway. All rewards are working normally. # How To Videos # Desktop Client # Download & Install Xai Node Desktop Client {% embed url="<https://www.loom.com/share/ce07887a91ec42ae9dcc2776d106b73b?sid=8e38abc0-bf58-4433-b7d3-1fb2449fdd59>" %} # Import & Start Your Sentry Wallet {% embed url="<https://www.loom.com/share/db90a0aa61bf43549926efa4f93e9476?sid=1b689977-5c76-46f7-9356-957308fb4d1d>" %} # Assign Wallets Containing Keys to the Sentry Wallet {% embed url="<https://www.loom.com/share/5b8472fd429148f68be584ed02d0bb85?sid=26ecac47-fbd1-475e-9abc-a9520dc84507>" %} # Fund Sentry Wallet with Arbitrum One ETH {% embed url="<https://www.loom.com/share/b8ffddf0fccf4e369cbd3d83eb73546a?sid=0a99d990-4a05-40b3-bb51-1b56e0c29ee6>" %} # Submit KYC {% embed url="<https://www.loom.com/share/91bc71a080b14469af5b94d306e967d8?sid=95cc6ba1-0a12-4764-9820-70a4af950a18>" %} # Claim Node Rewards after Passing KYC {% embed url="<https://www.loom.com/share/d56bd90b39484899bac07d92f5615910?sid=5df858f6-8bef-4dce-b70c-2b9e39a2d48f>" %} # Command Line Interface (CLI) # Download & Install Xai Node CLI {% embed url="<https://www.loom.com/share/9cef7c0ca2654e61a48fc0048ac30b4f?sid=5164935b-583e-4193-8d8c-fda843f72792>" %} # Boot Operator & Interpret Status Logs {% embed url="<https://www.loom.com/share/1386b893e6714aafbe077375a1700a69?sid=e91c3200-06da-4c34-84e2-c26d15548d86>" %} # Add Custom Operator {% embed url="<https://www.loom.com/share/a4fdb75f762f4c12823f3df7f2f987d1?sid=fd2ff957-0ffd-40f6-a256-7e45c20e3b7f>" %} --- [Next Page](https://xai-foundation.gitbook.io/xai-network/llms-full.txt/1) # Track Accrued esXAI {% embed url="<https://www.loom.com/share/f8405ba864794ed8bf63c4fa71cb5c6c?sid=ff0c3998-089f-4460-bc62-0adefcc59a12>" %} # KYC When Using CLI {% embed url="<https://www.loom.com/share/778e769d560946f5a501bef14c9e4225?sid=d6e60c67-e581-44b5-a849-e2de4a2a2aa4>" %} # Redeem Referral Rewards Below are steps on how to redeem Xai Sentry Node referral rewards. 1. Go to the Node License contract on Arbiscan: <https://arbiscan.io/address/0xbc14d8563b248B79689ECbc43bBa53290e0b6b66#writeProxyContract> 2. Connect your wallet using the wallet assigned to your Promo Code <figure><img src="https://2248955668-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhE4weeNpCJSNUXnecN1R%2Fuploads%2FOxlQHve4JahqJs9dfxJH%2Fimage.png?alt=media&amp;token=fbbb7852-d760-4efd-98c7-658dc4670bfc" alt=""><figcaption></figcaption></figure> 3. Click on the function called 4`. claimReferralReward (0x9b4b2c9c)`&#x20; <figure><img src="https://2248955668-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhE4weeNpCJSNUXnecN1R%2Fuploads%2FG3fD4mDQdV5kTYCbM46C%2Fimage.png?alt=media&amp;token=b7640cb2-f9b2-4f73-ab33-cc829cc8a32d" alt=""><figcaption></figcaption></figure> 4. Click Write <figure><img src="https://2248955668-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhE4weeNpCJSNUXnecN1R%2Fuploads%2FSowvI9HMVGXMmzE6sFgV%2Fimage.png?alt=media&amp;token=f6e6284c-b499-42a8-aea0-708778253aca" alt=""><figcaption></figcaption></figure> 5. Accept the transaction in your connected wallet {% hint style="warning" %} Note: If you do not have any referral rewards to claim, you will see a high gas estimate in your wallet confirmation message. You should reject this transaction and wait for one of your referrers to successfully complete a purchase using your promo code before re-attempting to claim referral rewards. ![](https://2248955668-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhE4weeNpCJSNUXnecN1R%2Fuploads%2FNRQjQFkC09iRD7QdWEeY%2Fimage.png?alt=media\&token=28ed3941-bdd6-46eb-8a02-91dfb829e8ef) {% endhint %} # Open Initiatives # Completed Initiatives **Xai Testnet Odyssey** The Xai testnet scaled to nearly 5 million daily transactions in Q4 of 2023. This was largely due to the gasless and walletless experience for two games, Web3 Warriors and Tarochi. The testnet also scaled to approximately 500,000 connected wallets. **Xai Sentry Node Launch** Shortly after the testnet Odyssey, Xai launched its Sentry Nodes in preparation for mainnet launch. The node sales resulted in over 13,000 ETH in node key sales. **Xai Mainnet Launch** On January 9, 2024, Xai released the mainnet chain. **Binance Launchpool & Xai Mainnet Integration** On January 9, 2024, Binance launched its Launchpool for Xai Blockchain’s gas token, XAI. This launch drove exchange volumes in excess of $200 million per day. Binance also chose to integrate Xai Mainnet on the exchange.&#x20; **XAI Airdrop** Shortly after the Launchpool, Xai airdropped approximately 125 million XAI to its community and contributors. **Xai Infrastructure** From February 2024 to the present, Xai worked with the following partners to bring developer and player tools to the ecosystem: * Camelot * Rarible * LayerZero * Thirdweb * Sequence * Dora * Nirvana Labs * Goldsky * Quicknode * Ankr * Etherscan &#x20;. . . and many more to come. **Xai and MIX Partnership** In April, the Xai Foundation announced its partnership with the Media Indie Exchange, aiming to bring 100 games to Xai by the year's end. **Xai Connect** In June, Xai launched Xai Connect, which is an identity and authentication solution, moving the wallet to the backend of the experience for games and dApps. **Xai Builder** In June, Xai announced “Xai Builder”, a solution that makes
프로젝트로 돌아가기