Xai 백서

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

orer more suitable than the other. Xaiscan replicates the Etherscan experience many users are familiar with, Blockscout is ideal for detailed technical analysis and direct interaction with smart contracts, while Dora offers a user-friendly interface with comprehensive transaction and contract analytics. ## Explorer Links * **Xaiscan**: [Explorer-as-a-Service for Xai](https://xaiscan.io/) * **Blockscout:** [Blockscout for Xai](https://explorer.xai-chain.net/) * **Dora:** [Dora for Xai](https://www.ondora.xyz/network/xai/interactions) # RPC ### Xai public RPC endpoints[​](https://docs.arbitrum.io/build-decentralized-apps/reference/node-providers#arbitrum-public-rpc-endpoints) <a href="#arbitrum-public-rpc-endpoints" id="arbitrum-public-rpc-endpoints"></a> This section provides an overview of the available public RPC endpoints for different Xai chains and necessary details to interact with them. <table><thead><tr><th width="126">Name</th><th>RPC Url(s)</th><th>Chain ID</th><th>Block explorer</th><th width="161">Underlying chain</th><th>Tech stack</th></tr></thead><tbody><tr><td>Xai Mainnet</td><td><a href="https://xai-chain.net/rpc">https://xai-chain.net/rpc</a></td><td>660279</td><td><a href="https://explorer.xai-chain.net/">https://explorer.xai-chain.net/</a></td><td>Arbitrum</td><td>Nitro (AnyTrust)</td></tr><tr><td>Xai Testnet</td><td><a href="https://testnet-v2.xai-chain.net/rpc/">https://testnet-v2.xai-chain.net/rpc/</a></td><td>37714555429</td><td><a href="https://testnet-explorer-v2.xai-chain.net/">https://testnet-explorer-v2.xai-chain.net/</a></td><td>Arbitrum</td><td>Nitro (AnyTrust)</td></tr></tbody></table> {% hint style="warning" %} Xai public RPCs do not provide Websocket support. {% endhint %} ### Third-party RPC providers[​](https://docs.arbitrum.io/build-decentralized-apps/reference/node-providers#third-party-rpc-providers) <a href="#third-party-rpc-providers" id="third-party-rpc-providers"></a> Alternatively, to interact with Xai chain, you can rely on several of the same popular node providers that you are already using on Ethereum or Arbitrum: <table data-full-width="true"><thead><tr><th width="132">Provider</th><th width="326">Xai Mainnet</th><th width="345">Xai Testnet</th><th>Websocket?</th></tr></thead><tbody><tr><td><a href="https://nirvanalabs.io/blog/tutorialsandguides/create-a-xai-mainnet-node">Nirvana</a></td><td>Click <a href="https://nirvanalabs.io/blog/tutorialsandguides/create-a-xai-mainnet-node">here</a> for details</td><td>Click <a href="https://nirvanalabs.io/blog/tutorialsandguides/create-a-xai-mainnet-node">here</a> for details</td><td>✅</td></tr><tr><td><a href="https://getblock.io/nodes/xai/">GetBlock</a></td><td>Click <a href="https://getblock.io/nodes/xai/">here</a> for details</td><td>Click <a href="https://getblock.io/nodes/xai/">here</a> for details</td><td>✅</td></tr><tr><td><a href="https://www.ankr.com/docs/rpc-service/chains/chains-api/xai/">Ankr</a></td><td><a href="https://rpc.ankr.com/xai">https://rpc.ankr.com/xai</a></td><td><a href="https://rpc.ankr.com/xai_testnet">https://rpc.ankr.com/xai_testnet</a></td><td>❌</td></tr></tbody></table> # Ankr ## **Overview** Ankr provides a robust and scalable RPC endpoint for the Xai blockchain. This service allows developers to perform various blockchain operations, ensuring fast and reliable interactions with the Xai network. ### **Key Features:** * **High Availability:** Ankr's RPC service is designed to be highly available, ensuring minimal downtime and reliable access to the Xai blockchain. * **Scalability:** Built to handle high transaction volumes, Ankr's RPC service can scale with your application's needs. * **Efficiency:** Optimized for low latency and high throughput, providing a smooth user experience. ## **Accessing Ankr RPC** **RPC Endpoint:** <https://rpc.ankr.com/xai> Use this endpoint to connect your application to the Xai blockchain and perform various blockchain operations. ## **Advanced APIs** **Overview:** Ankr offers advanced APIs that provide enhanced functionality for interacting with the Xai blockchain. These APIs offer more specialized features and deeper insights, catering to developers who require advanced capabilities. #### **Key Features:** * **Detailed Analytics:** Access comprehensive analytics for transactions, blocks, and other blockchain data. * **Enhanced Functionality:** Utilize advanced API features for more complex operations and data retrieval. * **Developer Tools:** Benefit from a range of tools designed to streamline development and integration processes. #### **Accessing Advanced APIs:** * **Advanced API Documentation:** [Ankr Advanced API Overview](https://www.ankr.com/docs/advanced-api/overview/) Refer to this documentation for detailed information on available APIs, usage examples, and integration guides. ## **SDKs for Unity and Unreal Engine** Ankr provides SDKs (Software Development Kits) for popular game development platforms like Unity and Unreal Engine, making it easier to integrate blockchain functionality into your games. ### **Unity SDK** **Overview:** The Unity SDK allows developers to integrate Xai blockchain functionality into their Unity games seamlessly. This includes features like transaction execution, data querying, and smart contract interactions. #### **Key Features:** * **Easy Integration:** Simple setup process for integrating blockchain functionality into Unity projects. * **Comprehensive Documentation:** Detailed guides and examples to help you get started quickly. * **Robust Tools:** Access a range of tools designed to streamline blockchain integration and enhance game development. #### **Getting Started:** * **Unity SDK Documentation:** [Setting Up the Unity SDK](https://mirage.xyz/docs/unity-sdk/setting-up/) Follow this guide to set up the Unity SDK and start integrating Xai blockchain features into your Unity game. ### **Unreal Engine SDK** **Overview:** The Unreal Engine SDK provides developers with the tools needed to integrate Xai blockchain functionality into Unreal Engine projects. This includes capabilities for executing transactions, querying data, and interacting with smart contracts. #### **Key Features:** * **Seamless Integration:** Designed to work smoothly with Unreal Engine, making blockchain integration straightforward. * **Detailed Guides:** Comprehensive documentation and tutorials to assist with the integration process. * **Advanced Features:** Utilize powerful tools to enhance your game's blockchain capabilities. **Getting Started:** * **Unreal Engine SDK Documentation:** [Getting Started with the Unreal Engine SDK](https://mirage.xyz/docs/unreal-sdk/getting-started/before-you-start/) Use this documentation to set up the Unreal Engine SDK and begin adding Xai blockchain features to your Unreal Engine game. Ankr’s RPC services, advanced APIs, and SDKs provide game developers with the tools they need to effectively integrate and interact with the Xai blockchain. Whether you’re using Unity or Unreal Engine, Ankr offers comprehensive solutions to ensure your game's blockchain functionalities are robust, efficient, and scalable. Utilize these resources to enhance your game development process and create engaging, blockchain-enabled gaming experiences on Xai. ## Learn more about Ankr Xai RPCs <https://www.ankr.com/docs/rpc-service/chains/chains-api/xai/> # Nirvana ## Overview Nirvana Labs empowers Web3 developers and companies with the most performant blockchain infrastructure. Nirvana make blockchain technology more accessible and cost-effective for scalable and reliable dApp development. Nirvana Labs is the first Web3 infrastructure provider built on top of a proprietary cloud-based technology platform for affordable, reliable and seamless access between dApps and nodes. ## Benefits of Nirvana Infrastructure #### **Low Latency** Nirvana Labs RPC nodes provide the lowest latency response times due to our strategic orchestration of nodes and Nirvana's custom-built CDN. #### **High-Reliability** With our advanced networking, smart load balancing and automation in place, we ensure that customers experience at least a 99.99% uptime. #### **Global Availability** Nirvana Labs runs infrastructure in North America, South America, Europe, Asia, and Oceania (Africa coming soon) to ensure global coverage. Our Flex nodes are smart geo-load balanced across all the continents ensuring that no matter where you or your customer make a request, it will automatically be routed to the nearest data center location. You can deploy a dedicated node in any specific data center location. #### **Customizable Solutions** Nirvana Labs offers the customization of all node configurations for dedicated node solutions. Customize factors such as gas limits, load balancing strategies, flag enablement and much more. #### **Privacy and Security-focused** Nirvana Labs focuses on security and employs the most premium cybersecurity software and firms. We offer features that safeguard user interactions with smart contracts such as asymmetric encryption and API Keys to authenticate users accessing our RPCs, reducing the window of opportunity for attackers to exploit vulnerabilities. ## Learn more <https://docs.nirvanalabs.io/docs/getting-started-with-nirvana-labs> # QuickNode ## Overview QuickNode is a blockchain development platform offering a wide range of APIs and tools, making it as easy as possible to build in web3. Consumer applications today consist of many components (front-end, back-end, database, APIs, libraries, etc.), and tying these components together is not easy. On top of that, blockchain adds another layer of complexity as it requires integration with blockchain networks with new challenges. This is where QuickNode can help. ## Products ### Core RPC API[​](https://www.quicknode.com/guides/quicknode-products/Introduction-to-quicknode#core-rpc-api) This is the flagship product of QuickNode. [Core API](https://www.quicknode.com/core-api?utm_source=internal\&utm_campaign=guides\&utm_content=introduction-to-quicknode) offers fast, secure and reliable access to all the major blockchain networks. With QuickNode Core API users gets access to QuickNode's globally distributed network of nodes that helps in blockchain interaction without having to run blockchain nodes themselves. You leave the heavy lifting to QuickNode and focus on your application. Core API can be used to make both read and write interactions on the blockchain via HTTPS and WebSocket endpoints. ### Token and NFT API[​](https://www.quicknode.com/guides/quicknode-products/Introduction-to-quicknode#token-and-nft-api) These APIs help you as a user to get Ethereum ERC-20 tokens and NFT data via JSON-RPC. Getting ERC-20 token or NFT data requires querying that particular token's smart contract, which can get tedious given the number of tokens out there. With Token and NFT API, you can get this data by calling the API. ### Marketplace[​](https://www.quicknode.com/guides/quicknode-products/Introduction-to-quicknode#marketplace) There can be some APIs or tooling that QuickNode is not offering at the moment, but you, as a user, might need it in your BUIDL. [QuickNode Marketplace](https://www.quicknode.com/marketplace?utm_source=internal\&utm_campaign=guides\&utm_content=introduction-to-quicknode) staying true to QuickNode's spirit of making lives of developers easier offers a universe of in-house and third-party tooling in the form of add-ons. ### QuickAlerts[​](https://www.quicknode.com/guides/quicknode-products/Introduction-to-quicknode#quickalerts) Tracking onchain activity requires deep knowledge of the blockchain's data models and robust infrastructure. Ensuring reliability and the lowest latencies requires frequent polling or redundant websocket connections which can be very costly at scale. With [QuickAlerts](https://www.quicknode.com/quickalerts?utm_source=internal\&utm_campaign=guides\&utm_content=introduction-to-quicknode), you can deploy alerts for data changes on the blockchain. You have to write a small expression to target specific data on the blockchain, and as soon as that change takes place on the blockchain, QuickAlerts will send the notification in real-time. Whether it's tracking transactions sent and received by a wallet address, smart contract events, gas changes within a block, or new block confirmations, anything on-chain can be tracked using QuickAlerts. ### Streams[​](https://www.quicknode.com/guides/quicknode-products/Introduction-to-quicknode#streams) Creating a data pipeline in itself is a complex process, and the blockchain adds another level of complexity on top of it. With Streams, you can easily deploy blockchain data pipelines that are consistent, scalable, and robust. Streams provides guaranteed data delivery to the destination of your choice, from webhooks to data stores and messaging services. Streams ensures you get the maximum throughput, with no errors, and even [handles reorgs for you](https://www.quicknode.com/guides/quicknode-products/streams/visualizing-streams-data-with-react#how-does-streams-handle-reorgs?utm_source=internal\&utm_campaign=guides\&utm_content=introduction-to-quicknode). ### IPFS[​](https://www.quicknode.com/guides/quicknode-products/Introduction-to-quicknode#ipfs) Blockchain storage space is costly, and storing files on the blockchain network could be impractical. That is where decentralized storage protocol like IPFS comes into play. [IPFS](https://www.quicknode.com/ipfs?utm_source=internal\&utm_campaign=guides\&utm_content=introduction-to-quicknode) (InterPlanetary File System) is a peer-to-peer file storage system. Files on IPFS are uploaded via IPFS nodes, and when these files are not accessed for a long time or if the node goes down, the file can be lost. With QuickNode's IPFS pinning service, you can pin your IPFS files without worrying about losing access to your data. You can upload, store, and manage your files anytime, and they will be available anytime you want to access them without running your own IPFS node. Since IPFS is a protocol, most browsers cannot access the files natively as they work with HTTPS protocol. So, one needs a gateway to access files on IPFS via HTTPS protocol. QuickNode offers IPFS gateways, which you can use to access files from IPFS. With QuickNode, you can create custom domains for your IPFS gateways and create private (can only access files uploaded via QuickNode IPFS pinning) or public (can access any file stored on IPFS) gateways. QuickNode IPFS pinning can be accessed via both QuickNode dashboard and REST API.<br> ## Learn more about QuickNode Xai RPC <https://www.quicknode.com/docs/xai> # Token Bridges # Xai native bridge ## Overview Xai uses the Arbitrum bridge as the native bridge ## Access the native bridge {% embed url="<https://bridge.arbitrum.io/?destinationChain=xai&sourceChain=arbitrum-one>" %} ## Learn more <https://docs.arbitrum.io/arbitrum-bridge/quickstart> # Gas.zip ## **Overview** Gas.zip is a powerful, one-stop solution for bridging gas to over 165 blockchains with a single transaction. It simplifies the process of obtaining gas for multiple chains, ensuring a seamless and efficient experience for users. ### **Background** Gas.zip was created to address the challenges faced by users needing gas money across various alt-chains and Layer 2 solutions. Traditional bridges were often fragmented, inconsistent, and difficult to use, with limited chain support, variable delivery times, high minimums, and a cumbersome user experience. Gas.zip was built to solve these issues by providing a multi-chain distributor that supports numerous chains and offers a user-friendly interface with near-instant delivery times. ### **How It Works** Gas.zip allows users to bridge to multiple destination blockchains with a single inbound fueling transaction. Unlike traditional bridges, Gas.zip is optimized to deliver gas amounts efficiently to the blockchains you need. This is achieved using proprietary internal infrastructure that reads on-chain events and relays payments to user destinations. Gas.zip leverages a mix of internal RPC connections and publicly available infrastructure to ensure reliable transactions, with mechanisms in place to reprocess stuck or dropped transactions. ## Accessing Gas.zip [Gas.zip](https://gas.zip/) ### **Gas.zip Deposit Address**&#x20; [`0x9e22ebec84c7e4c4bd6d4ae7ff6f4d436d6d8390`](https://xaiscan.io/address/0x9e22ebec84c7e4c4bd6d4ae7ff6f4d436d6d8390) ## **Products** Gas.zip has introduced three key products to enhance its ecosystem: * **LZ.Gas.zip:** A gas refueler built on the latest LayerZero contracts, enabling users to bridge to all supported LayerZero chains. * **Token.Gas.zip:** A token deployer that allows users to launch tokens on over 120 chains with a single click. * **Inscriptions.Gas.zip:** The first cross-chain inscriptions minted natively on the LayerZero v2 network. Additionally, Gas.zip has integrated with DeFi Lama’s Smol Refuel bridge and Aave’s Family wallet, enabling in-wallet gas refueling. ### **Supported Chains** Gas.zip currently supports seven inbound chains: Ethereum, Arbitrum, Optimism, Avalanche, Base, BSC, and Polygon. The team plans to add several dozen more inbound chains in the coming weeks. In total, Gas.zip supports 164 destination chains (110 mainnets and 54 testnets), with ongoing updates to expand chain support. ## **Resources** * **Website:** [Gas.zip](https://gas.zip/) * **Twitter:** [@gasdotzip](https://twitter.com/gasdotzip) * **Developer Documentation:** [Gas.zip Dev Docs](https://dev.gas.zip/overview) <br> # Relay ## **Overview** Relay is an advanced bridging solution designed to facilitate instant, seamless cross-chain transactions. By integrating Relay, game developers can provide users with the ability to transfer assets quickly and efficiently between different blockchains, enhancing the overall gaming experience. Relay’s instant bridging capabilities ensure minimal delays and friction, allowing for a more fluid and dynamic interaction with blockchain assets. ## Access Xai on Relay <https://relay.link/bridge/xai?currency=xai&fromChainId=42161> ## **Key Features** 1. **Instant Cross-Chain Transactions:** * **Speed:** Relay offers near-instantaneous bridging of assets between supported blockchains, reducing the waiting time typically associated with cross-chain transfers. * **Efficiency:** The bridging process is optimized for low latency and high throughput, ensuring a smooth user experience. 2. **Broad Chain Support:** * **Multi-Chain Compatibility:** Relay supports a wide range of blockchains, making it a versatile solution for game developers looking to interact with multiple ecosystems. * **Scalability:** Designed to handle high transaction volumes, Relay can scale with the growing needs of your game and user base. 3. **Security and Reliability:** * **Robust Security Protocols:** Employs advanced security measures to protect cross-chain transactions and user assets. * **Reliability:** Built on a stable and resilient infrastructure, Relay ensures consistent performance and uptime. 4. **Developer-Friendly Integration:** * **Easy Integration:** Comprehensive APIs and documentation make it straightforward for developers to integrate Relay’s bridging capabilities into their games. * **Customizable:** Developers can tailor the bridging process to fit the specific needs and workflows of their games. ## **How to Get Started** 1. **Set Up Your Environment:** Ensure your development environment is ready for integrating with Relay’s APIs. This includes setting up the necessary tools and libraries that support API interactions. 2. **Integrate Relay APIs:** Use the provided API endpoints to enable cross-chain asset transfers in your game. Detailed documentation and examples are available to guide you through the process. Refer to
프로젝트로 돌아가기