Xai 백서

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

拆分? 通过降低 Key 的购买门槛,我们希望进一步扩大 Sentry Key 持有者基础,为 Xai 生态引入更多真正热爱游戏、乐于参与生态建设的玩家。这有助于为社区注入新鲜活力,重新点燃 Xai 游戏社区的成长动能。 ### 5. 我已经有一把 Key,这对我来说有什么好处? 许多游戏项目本来就有空投计划,但由于 Key 价格过高,他们担心无法触及核心玩家群体。通过这次拆分,我们成功让超过 12 个项目承诺将在新环境下为 Key 持有者进行空投。对于已有 Key 的你,这意味着更多的项目和福利正等着你来领取。 ### 6. 拆分后对现有 Key 持有者有什么影响? 如果你已经拥有 Key,将按每把 Key 获得额外 99 把新 Key 的空投,从而保持你在总供应量中的持有比例不变。 ### 7. 拆分后我的 Key 价值会受影响吗? 单把 Key 的价格将降低 100 倍,但你的总持有数量会增加 100 倍,因此整体价值和在总供应中的比例保持恒定,不会因此贬值。 ### 8. 额外的 Key 会如何发放给现有用户? 我们会直接向现有 Key 持有者空投额外 Key。如果你的 Key 当前处于质押(staking)状态,空投的 Key 会自动质押在同一质押池中,省去你重新操作的麻烦。 ### 9. 这次更新会增加我使用 Key 的 Gas 成本吗? 不会。相反,我们在这个版本中优化了断言(assertions)和领取(claims)逻辑,使得整体 Gas 成本相较拆分前更低。 ### 10. 能详细解释一下技术上的更新吗? 当然,你可以在我们的 Gitbook 页面查看技术细节,我们已经对其进行了详细说明。 ### 11. 拆分后 Sentry Key 的价格是多少? 拆分后,单把 Key 的价格将降为目前价格的 1/100。以当前约 1.43 ETH 为例,新价格将约为 0.0143 ETH。 ### 12. 债券曲线(bonding curve)会如何调整? 每个阶梯上的 Key 供应量增加 100 倍,价格下降 100 倍,但整个债券曲线的结构和机制仍然保持一致,只是全面下调了价格层级。 ### 13. esXAI 质押容量会如何改变? 单把 Key 的 esXAI 质押上限将减少为当前的 1/100。举例来说,如果现在每把 Key 可质押 20,000 esXAI,那么拆分后每把 Key 的质押上限将变为 200 esXAI。 ### 14. 基础中奖概率会变吗? 为保持持有者的整体奖励水平不变,基础中奖率将从 1% 调整至 0.01%,确保你在新环境下仍获得同等相对收益。 ### 15. 1:100 Key 拆分能为 Xai 游戏社区带来什么好处? 通过降低购入门槛和扩大可用 Key 数量,会有更多玩家成为 Sentry Node 持有者。这将加强社区互动和参与度,催生更多游戏项目与应用在 Xai 生态中萌发,为整个社区注入新的活力。 ### 16. 我该如何铸造(Mint)更多 Key? 美国太平洋时间(PST)12月13日周五下午6点(北京时间为12月14日周六上午10点)开始,你可以前往:<https://sentry.xai.games> 进行 Key 的铸造。 ### 17. 支持哪些支付方式? 在 <https://sentry.xai.games> 的铸造页面上,你可选择以下付款方式: Arbitrum One 网络:XAI、esXAI、ETH 以太坊主网:ETH、USDC Solana 网络:SOL、USDC(需连接 Arbitrum One 钱包铸造 Key) Polygon 网络:SUPER 法币支付:信用卡和借记卡 ### 18. 我该如何质押 Key? 铸造完成后,可前往:<https://app.xai.games> 对 Key 进行质押。 ### 19. 需要进行 KYC 吗? 你无需通过 KYC 就能铸造、质押或领取质押奖励。但请注意,奖励为不可转让的 esXAI,如果你想将其兑换为可转让的 XAI,需要通过 KYC。某些受限国家/地区(如美国)会被 IP 封锁并无法通过 KYC。 ### 20. 为什么要在流程末尾才要求 KYC? 我们希望你能立即开始质押并获得奖励,而不必等待 KYC 审核完成。由于不同地区的审核周期不同,KYC 可能需要几天时间。你可以随时选择开始 KYC 流程。 ### 21. 我如何参与各类空投? 每款游戏都会公布各自的空投领取方式,并为 Sentry Key 持有者预留领取配额。我们也会在官方渠道上同步公布空投细节和领取指南。赶紧铸造一些 Key,并持续关注我们的社交媒体,一旦空投开放,你就能及时参与。 ### 22. 有哪些空投已经宣布? Valeria: <https://x.com/ValeriaStudios/status/1861496514503201145&#x20>; CZRUNZ: <https://x.com/CzRunz/status/1861834659749110241> Xtermination: <https://x.com/Xtermination\\_gg/status/1864704817186078912&#x20>; 还有超过10个项目将陆续公布空投计划,请持续关注! # Key Sale Referrals With the Key Sale update, every key holder will have their public address become a promo code. Existing codes will continue to work as well as custom codes made for partners and KOLs. All codes provide the same discount for the buyer and same referral reward for the code owner. When a buyer uses your promo code, they will receive 5% off of the purchase price and you will receive 15% of the purchase price. The referral rewards will be paid in the currency used to make the key purchase. The currencies used are aETH, XAI, esXAI, and USDC. Please note that fiat payments and cross-chain payments will be converted to USDC by our payment partner Crossmint. # Key Split Update (technical) With the key split we have updated how assertions and claims work to enable significant gas optimizations. Changes to Referee, Operator, Assertion, Claims for the 1:100 key split Summary of changes: the referee contract has been upgraded to allow “Bulk Submit Assertions”. “Bulk Submit Assertions” will now be used in lieu of “submitMultipleAssertions”. The Bulk Submission function is substantially more gas efficient than submitMultipleAssertions, this is achieved by reducing the contract state that is created when submitting an assertion by the Node Operator. The base probability of being able to participate in a challenge has changed proportionally to the change in supply. Previously when there was a supply of 50,000 keys the win probability was 1%, now with 5,000,000 keys the win probability is 0.01%.\ \ To achieve this the Referee smart contract is upgraded: * New algorithm to determine winning keys based on a number of keys submitted for * Submit/Claim once for all staked keys in a pool or all unstaked keys held in a wallet * Individual key ids are no longer required to be submitted for assertion or claim transactions.&#x20; This means any operator will now be able to submit for any unstaked keys in an assigned owner wallet or for all keys staked in a staking pool owned or delegated. \ The amount of winning keys will no longer be determined based on the random chance for a specific Node License Key ID and the staking tier boost factor but from a random chance based on the owner/pool address, the staking tier boost factor and the total amount keys either staked in a pool for a pool bulk submission or unstaked keys in an owner wallet for an owner bulk submission. New Functions: 1. submitBulkAssertion: params 1. address \_bulkAddress 2. uint256 \_challengeId 3. bytes memory \_confirmData This function replaces submitMultipleAssertions. The \_bulkAddress should be either the poolAddress being submitted for, or the key owner’s wallet address. Individual key Ids are no longer required to be passed into the function call. 2. claimBulkRewards: params 1. address \_bulkAddress 2. uint256 \_challengeId This function replaces claimMultipleRewards.<br> The \_bulkAddress should be either the poolAddress being claimed for, or the key owner’s wallet address. Individual key Ids are no longer required to be passed into the function call.<br> Changes to calculation algorithm: 1. Individual key Ids are no longer used to calculate “Winning Keys”. 2. Instead, a statistical probability method is used. 3. The same method is used for pools and owner wallets.&#x20; 4. There are two variations to the new algorithm. 1. High probability of having a winning key (1% or more). 2. Low probability of having a winning key (Less than 1%) Algorithm Flow 1. The algorithm will first determine the number of keys being submitted for. 1. For pools, this will be the total number of keys staked. 2. For owner wallets, this will be the total number of un-staked keys. 2. Next the algorithm will determine the expected number of winning keys based on the boost factor. 1. Example: 1,000 keys in a pool with a 700 boost factor would expect 70 winning keys.<br> High Probability Algorithm: for high probabilities where we expect at least 1 winning key 3. We now use a random number to add/subtract up to 30% variance to the expected winning keys. 1. This means the example above for an expected winning key count of 70 winning keys could return anywhere from 49 to 91 winning keys with the average being about 70 keys over the long term. Low Probability Algorithm: for low probabilities (less than 1%), where we do not always expect at least 1 winning key we calculate this differently.&#x20; 1. We determine the total probability of winning (1= 0.01 %, 100=1% etc…) 2. We scale that up(multiply) by 10,000. (Scaled Probability of Winning) 3. We now generate a random number between 0 - 999,999. 4. If the random number is below the Scaled Probability of Winning, the submission wins for a single key. What happens when keys get staked or unstaked into a pool during a challenge:\ Any already submitted bulk assertion for the current challenge will be updated to reflect the changes in the number of keys and resulting number of winning keys. If a pool has already submitted a bulkAssertion and a new key is staked into the pool before the end of the challenge, the following will happen: 1. If the owner of the staked key as already submitted a bulk submission for the current challenge, that submission will be updated to reflect the owner’s new un-staked key count and will then be re-calculated based on the owner’s new un-staked key count. 2. If the pool has already submitted a pool bulk submission for the current challenge, that submission will be updated to reflect the new staked key count and will then be re-calculated based on the new staked key count. What happens if keys are un-staked from a pool during a challenge: If a pool has already submitted a pool bulk submission and a key is un-staked from the pool before the end of the challenge, the following will happen: 1. The previously submitted pool bulk submission will be re-calculated based on the new staked key count after the un-staked key has been removed from the pool’s staked key count. The goal of the changes are to allow the number of keys/node licenses to be scaled up without increasing the operational gas costs for an operator and reducing the amount of data/computations that need to be handled on-chain. <br> # Xai Chains & Parameters # Connect to Xai Mainnet Follow the steps below to connect to the Xai Testnet as a developer *** ### Chain Details * Chain Type: AnyTrust * Network Name: Xai * RPC URL: [https://xai-chain.net/rpc](<https://xai-chain.net/rpc >) * Chain ID: 660279 * Currency Symbol: XAI * Block Explorer URL: [https://xaiscan.io](https://xaiscan.io/) {% hint style="success" %} Xai currently supports three robust block explorers: Xaiscan (based on Etherscan), Blockscout and Dora. Feel free to use either block explorer as your wallet's default option. {% endhint %} *** ### Xai Connections & Explorers Below is a JSON example of what Xai's connections and explorers will be (following this format: <https://github.com/ethereum-lists/chains>). Additionally, for chain type, it is an L3, but that's not an option right now. Currently there are only L2 type chains in the repo. ``` { "chain": { "info-json": "[{\"chain-id\":660279,\"parent-chain-id\":42161,\"parent-chain-is-arbitrum\":true,\"chain-name\":\"Xai\",\"chain-config\":{\"homesteadBlock\":0,\"daoForkBlock\":null,\"daoForkSupport\":true,\"eip150Block\":0,\"eip150Hash\":\"0x0000000000000000000000000000000000000000000000000000000000000000\",\"eip155Block\":0,\"eip158Block\":0,\"byzantiumBlock\":0,\"constantinopleBlock\":0,\"petersburgBlock\":0,\"istanbulBlock\":0,\"muirGlacierBlock\":0,\"berlinBlock\":0,\"londonBlock\":0,\"clique\":{\"period\":0,\"epoch\":0},\"arbitrum\":{\"EnableArbOS\":true,\"AllowDebugPrecompiles\":false,\"DataAvailabilityCommittee\":true,\"InitialArbOSVersion\":11,\"GenesisBlockNum\":0,\"MaxCodeSize\":40960,\"MaxInitCodeSize\":81920,\"InitialChainOwner\":\"0xc7185e37A4aB4Af0E77bC08249CD2590AE3E1b51\"},\"chainId\":660279},\"rollup\":{\"bridge\":\"0x7dd8A76bdAeBE3BBBaCD7Aa87f1D4FDa1E60f94f\",\"inbox\":\"0xaE21fDA3de92dE2FDAF606233b2863782Ba046F9\",\"sequencer-inbox\":\"0x995a9d3ca121D48d21087eDE20bc8acb2398c8B1\",\"rollup\":\"0xC47DacFbAa80Bd9D8112F4e8069482c2A3221336\",\"validator-utils\":\"0x6c21303F5986180B1394d2C89f3e883890E2867b\",\"validator-wallet-creator\":\"0x2b0E04Dc90e3fA58165CB41E2834B44A56E766aF\",\"deployed-at\":166757506}}]", "name": "Xai" }, "parent-chain": { "connection": { "url": "https://arb1.arbitrum.io/rpc" } }, "http": { "addr": "0.0.0.0", "port": 8449, "vhosts": "*", "corsdomain": "*", "api": [ "eth", "net", "web3", "arb", "debug" ] }, "execution": { "forwarding-target": "https://xai-chain.net/rpc", "caching": { "archive": true } }, "node": { "data-availability": { "enable": true, "sequencer-inbox-address": "0x995a9d3ca121D48d21087eDE20bc8acb2398c8B1", "parent-chain-node-url": "https://arb1.arbitrum.io/rpc", "rest-aggregator": { "enable": true, "online-url-list": "https://xai-chain.net/das-servers" } }, "feed": { "input": { "url": "wss://xai-chain.net/feed" } } } } ``` *** # Bridge to Xai Mainnet ## Bridge XAI to Xai Mainnet {% hint style="info" %} You'll need sufficient ETH in your wallet to cover the transactions costs of bridging funds {% endhint %} 1. Go to <https://bridge.arbitrum.io/?destinationChain=xai&sourceChain=arbitrum-one> 2. Confirm you see XAI in the currency dropdown. 3. Enter an amount to bridge. 4. Click "Move funds to Xai" 5. Wait at least 10 minutes for the bridging process to complete. ## Bridge ETH to Xai Mainnet&#x20; {% hint style="info" %} You'll need wrap your ETH (WETH) to bridge to Xai. For a guide on wrapping ETH see [below](#wrap-eth-to-get-weth-on-arbitrum). For an explanation on why ETH needs to be wrapped at all, check out this [article](https://ethereum.org/en/wrapped-eth/#why-do-we-need-to-wrap-eth). {% endhint %} 1. Go to <https://bridge.arbitrum.io/?destinationChain=xai&sourceChain=arbitrum-one> 2. Click XAI in the currency dropdown. 3. Type in WETH. {% hint style="info" %} These are the two WETH contracts depending on the chain: * WETH on Xai: 0xbee82cfdaff4a6aa4e4793cb81eb1c2e79ac463c * WETH on Arb: 0x82af49447d8a07e3bd95bd0d56f35241523fbab1 {% endhint %} 4. Enter an amount to bridge. 5. Click "Move funds to Xai" 6. Wait at least 10 minutes for the bridging process to complete. <figure><img src="https://content.gitbook.com/content/neke8a6D4Ybg9dkRA2GD/blobs/sNtx7VfVa4hpwsZ6cCdE/Screenshot%202024-06-18%20at%207.48.49%E2%80%AFAM.png" alt="" width="375"><figcaption><p>Arbitrum Bridge to move XAI into Xai mainnet</p></figcaption></figure> ## Wrap ETH to get WETH on Arbitrum 1. Go to <https://app.camelot.exchange/> 2. Connect your wallet on the top right 3. Select To currency as WETH 4. Click Wrap <figure><img src="https://content.gitbook.com/content/neke8a6D4Ybg9dkRA2GD/blobs/AeyCJxFhGXBXyIEgehVF/Screenshot%202024-06-18%20at%204.31.26%E2%80%AFPM.png" alt="" width="375"><figcaption><p>Camelot DEX UI to wrap ETH</p></figcaption></figure> # Connect to Xai Testnet (Sepolia) Follow the steps below to connect to the Xai Testnet as a developer *** ### Chain Details * Chain Type: AnyTrust * Network Name: Xai Testnet v2 * RPC URL: <https://testnet-v2.xai-chain.net/rpc> * Chain ID: 37714555429 * Currency Symbol: sXAI * Block Explorer URL: <https://sepolia.xaiscan.io/> Arb Sepolia Addresses: * Batch poster: 0xd154C1532449D65eda18a7Ad36a122e2ecF2B891&#x20; * Validator: 0x4eE5549E6d77Db5529EbE0b8e8Fe9f833aca2ED2&#x20; * Custom fee token: 0x4e6f41acbfa8eb4a3b25e151834d9a14b49b69d2&#x20; * Owner: 0x71B61c2E250AFa05dFc36304D6c91501bE0965D8 Xai Sepolia Faucet: <https://faucet.quicknode.com/xai> # Bridge to Xai Testnet You can bridge Sepolia XAI (sXAI) to Xai Testnet from Arbitrum Sepolia using the steps below: 1. Go to <https://bridge.arbitrum.io/?destinationChain=xai-testnet&sourceChain=arbitrum-sepolia> 2. Depending on the direction of the bridge (Xai -> Arb **or** Arb -> Xai), click the up/down arrow button. 3. Enter the amount of SXAI you want to bridge. <figure><img src="https://content.gitbook.com/content/neke8a6D4Ybg9dkRA2GD/blobs/cbd1VXvuWyAAOFCsY4NH/image.png" alt="" width="375"><figcaption></figcaption></figure> 4. Click "Move funds to Xai Testnet" 5. Wait at least 10 minutes for the bridging process to complete. {% hint style="info" %} If this is your first time connecting your wallet to Xai testnet, you must add Xai testnet manually using [this information](/xai-network/kn/build-on-xai/xai-chains-and-parameters/connect-to-xai-testnet-sepolia). {% endhint %} # Bridged Token Addresses Various ERC-20 tokens originally deployed to Ethereum also have corresponding "bridged" representations on Xai Mainnet. {% hint style="info" %} The presence of a token on this page does not imply any endorsement of the token or its minter {% endhint %} ## Xai Mainnet | Name | Symbol | L2 Token (ArbOne) | L3 Token (Xai) | | ------------- | ------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------- | | XAI | XAI | [0x4cb9a7ae498cedcbb5eae9f25736ae7d428c9d66](https://arbiscan.io/token/0x4cb9a7ae498cedcbb5eae9f25736ae7d428c9d66) | Native token | | Wrapped XAI | wXAI | N/A | [0x3fB787101DC6Be47cfe18aeEe15404dcC842e6AF](https://xaiscan.io/address/0x3fB787101DC6Be47cfe18aeEe15404dcC842e6AF) | | USD Coin | USDC | [0xaf88d065e77c8cc2239327c5edb3a432268e5831](https://arbiscan.io/token/0xaf88d065e77c8cc2239327c5edb3a432268e5831) | [0x1E3769Bd5fB2e9e9e7D4ED8667c947661F9A82E3](https://xaiscan.io/address/0x1E3769Bd5fB2e9e9e7D4ED8667c947661F9A82E3) | | Wrapped Ether | wETH | [0x82af49447d8a07e3bd95bd0d56f35241523fbab1](https://arbiscan.io/token/0x82af49447d8a07e3bd95bd0d56f35241523fbab1) | [0xBeE82CfdAff4a6AA4E4793cb81eb1C2E79aC463C](https://xaiscan.io/address/0xBeE82CfdAff4a6AA4E4793cb81eb1C2E79aC463C) | # Contract Addresses The following information may be useful to those building on Xai. We list the addresses of the smart contracts related to the protocol. ## Core contracts The following contracts are deployed on Arbitrum One (L2) <table><thead><tr><th width="272"></th><th>Xai</th><th data-hidden>Sepolia</th></tr></thead><tbody><tr><td>Rollup</td><td><a href="https://arbiscan.io/address/0xC47DacFbAa80Bd9D8112F4e8069482c2A3221336"><code>0xC47DacFbAa80Bd9D8112F4e8069482c2A3221336</code></a></td><td></td></tr><tr><td>Sequencer</td><td><a href="https://arbiscan.io/address/0x995a9d3ca121D48d21087eDE20bc8acb2398c8B1"><code>0x995a9d3ca121D48d21087eDE20bc8acb2398c8B1</code></a></td><td></td></tr><tr><td>CoreProxyAdmin</td><td><a href="https://arbiscan.io/address/0x041f85dd87c46b941dc9b15c6628b19ee5358485#code"><code>0x041F85dD87c46B941dc9b15c6628B19ee5358485</code></a></td><td></td></tr></tbody></table> ## Cross-chain messaging contracts The following contracts are deployed on Arbitrum One (L2) <table><thead><tr><th width="208"></th><th>Xai</th></tr></thead><tbody><tr><td>Delayed Inbox</td><td><a href="https://arbiscan.io/address/0xaE21fDA3de92dE2FDAF606233b2863782Ba046F9"><code>0xaE21fDA3de92dE2FDAF606233b2863782Ba046F9</code></a></td></tr><tr><td>Bridge</td><td><a href="https://arbiscan.io/address/0x7dd8A76bdAeBE3BBBaCD7Aa87f1D4FDa1E60f94f"><code>0x7dd8A76bdAeBE3BBBaCD7Aa87f1D4FDa1E60f94f</code></a></td></tr><tr><td>Outbox</td><td><a href="https://arbiscan.io/address/0x7dd8A76bdAeBE3BBBaCD7Aa87f1D4FDa1E60f94f"><code>0x1E400568AD4840dbE50FB32f306B842e9ddeF726</code></a></td></tr><tr><td>Challenge Manager</td><td><a href="https://arbiscan.io/address/0x3a3f62034a42a35eA1686B199bB73006aa525eE4"><code>0x3a3f62034a42a35eA1686B199bB73006aa525eE4</code></a></td></tr></tbody></table> # How to run a full node for Xai chain {% hint style="info" %} Note: For steps on how to run a Xai Sentry Node (unrelated to running a full node for Xai chain), go [here](/xai-network/kn/about-xai/sentry-key-setup). {% endhint %} This how-to provides step-by-step instructions for running a full Xai node on your local machine. ## Prerequisites[​](https://docs.arbitrum.io/node-running/how-tos/running-an-orbit-node#prerequisites) <a href="#prerequisites" id="prerequisites"></a> Latest Docker Image: `offchainlabs/nitro-node:v2.3.3-6a1c1a7` | Minimum Hardware Configuration | | ------------------------------ | | **RAM**: 16 GB | | **CPU**: 4 core CPU | | **Storage**: 1 TB | ## Required parameters[​](https://docs.arbitrum.io/node-running/how-tos/running-an-orbit-node#required-parameters) <a href="#required-parameters" id="required-parameters"></a> ### 1. Parent chain parameters[​](https://docs.arbitrum.io/node-running/how-tos/running-an-orbit-node#1-parent-chain-parameters) <a href="#id-1-parent-chain-parameters" id="id-1-parent-chain-parameters"></a> The `parent-chain` argument needs to provide a standard RPC endpoint for an EVM node, whether self-hosted or obtained from a node service provider: ``` --parent-chain.connection.url=<Parent chain RPC URL> ``` NOTE [Public Xai RPC endpoints](/xai-network/kn/build-on-xai/developer-tools/rpc) rate-limit connections. To avoid hitting a bottleneck, you can run a local node for the parent chain (Arbitrum) or rely on third-party RPC providers. ### 2. Child chain parameters[​](https://docs.arbitrum.io/node-running/how-tos/running-an-orbit-node#2-child-chain-parameters) <a href="#id-2-child-chain-parameters" id="id-2-child-chain-parameters"></a> Xai is the child chain and the required parameters are `chain.info-json` and `chain.name` **1. `chain.info-json`**[**​**](https
프로젝트로 돌아가기