bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 56쪽 중 51쪽
the [Relay Instant Bridging Documentation](https://docs.reservoir.tools/docs/instant-bridging) for specific API references and integration steps.
3. **Configure Bridging Parameters:** Customize the bridging parameters to align with your game’s requirements. This includes setting up supported blockchains, transaction limits, and security protocols.
4. **Test Bridging Functionality:** Conduct thorough testing in a staging environment to ensure the bridging functionality works seamlessly. Verify that assets are correctly transferred and that security measures are effective.
5. **Launch and Monitor:** Once testing is complete, deploy the bridging solution to your live environment. Continuously monitor performance and user feedback to ensure the solution operates smoothly and to identify areas for improvement.
## **Resources**
* **Website:** [Reservoir Tools](https://reservoir.tools/)
* **Developer Documentation:** [Relay Instant Bridging Documentation](https://docs.reservoir.tools/docs/instant-bridging)
* **API Reference:** [Relay API Documentation](https://docs.relay.link/references/api/overview)
* **Support:** Access support through Reservoir’s documentation and community channels for assistance with integration and troubleshooting.
# Wallets
## Setting up a Safe multi-sig wallet
Originally developed by Gnosis, Safe has become the gold standard for multi-signature wallets in the Web3 space. Its primary function is to secure your assets through multi-signature functionality, meaning that no single key can compromise your funds.
Safe was deployed and maintained by the Protofire team. Setup a Safe wallet on Xai [here](https://safe.xai.games/).
## Supporting Xai Mainnet in Your Wallet
Check out this guide to get an overview of everything you need to know to properly support Xai Mainnet within your wallet.
### Connecting to Xai Mainnet <a href="#connecting-to-op-mainnet" id="connecting-to-op-mainnet"></a>
Xai Mainnet is designed to be [EVM equivalent(opens in a new tab)](https://web.archive.org/web/20231127160757/https://medium.com/ethereum-optimism/introducing-evm-equivalence-5c2021deb306) and supports all of the same tooling as Ethereum. You can use your favorite Ethereum libraries and tools to work with Xai Mainnet. Head over to the [Connect your wallet to Xai ](/xai-network/kn/play-games-on-xai/connect-your-wallet-to-xai)page for network connection details and check out the [RPC Providers](/xai-network/kn/build-on-xai/developer-tools/rpc) page for an updated list of RPC providers that support Xai Mainnet. If you need to run your own Xai Mainnet node, head over to the [Node Operator](/xai-network/kn/build-on-xai/how-to-run-a-full-node-for-xai-chain) guide.
### Native Gas Token (XAI) <a href="#native-gas-token-eth" id="native-gas-token-eth"></a>
Xai Mainnet uses XAI as its native gas token. Transactions are paid for in XAI and account balances are denominated in XAI.
### Transaction Fees <a href="#transaction-fees" id="transaction-fees"></a>
Xai Mainnet charges the standard gas fee for transactions for an Arbitrum Orbit chain. You can read more about how gas fees work on an Orbit chain [here](https://docs.arbitrum.io/how-arbitrum-works/gas-fees).
### Smart Contracts <a href="#smart-contracts" id="smart-contracts"></a>
Smart contracts on Xai Mainnet function the same way they do on Ethereum. You can use your favorite Ethereum libraries and tools to interact with smart contracts on Xai Mainnet.
### Token Addresses <a href="#token-addresses" id="token-addresses"></a>
The ERC-20 contract address for a token on Xai Mainnet may differ from the address for the same token on Ethereum. Addresses for many common tokens will differ between Xai Mainnet and Ethereum. Make sure to reference the [Bridged Token Addresses](/xai-network/kn/build-on-xai/xai-chains-and-parameters/bridged-token-addresses) to confirm that you are using the correct token addresses in your application.
### Bridging ETH and ERC-20s <a href="#bridging-eth-and-erc-20s" id="bridging-eth-and-erc-20s"></a>
You may need to transfer ETH or ERC-20 tokens between Xai Mainnet and Arbitrum ArbOne. This is a useful feature for users who want to move tokens between the two networks. Refer to the [Bridging Xai to Mainnet](/xai-network/kn/build-on-xai/xai-chains-and-parameters/bridge-to-xai-mainnet) guides for more information about how to bridge ETH and ERC-20 tokens between Xai Mainnet and Arbitrum ArbOne.
# Marketplace
# Reservoir
## **Overview**
Reservoir is a comprehensive toolkit designed to simplify the process of creating and managing NFT marketplaces. It offers a range of tools and services that allow developers to build feature-rich, scalable, and efficient NFT marketplaces on Xai. By leveraging Reservoir, game developers can seamlessly integrate marketplace functionalities into their games, enhancing user experience and engagement.
## Access Reservoir
<https://dashboard.reservoir.tools/>
## **Key Features**
1. **Comprehensive Marketplace Tools:**
* **Listing and Bidding:** Enable users to list NFTs and place bids with ease.
* **Advanced Search and Filtering:** Provide users with powerful search and filtering options to find the NFTs they are looking for.
* **Royalties Management:** Ensure creators receive their royalties seamlessly through integrated royalty management tools.
2. **Scalability and Performance:**
* **High Throughput:** Reservoir’s infrastructure is designed to handle high transaction volumes, ensuring smooth and reliable marketplace operations.
* **Low Latency:** Optimized for fast response times, providing a seamless user experience even during peak usage periods.
3. **Security and Compliance:**
* **Robust Security Measures:** Implement advanced security protocols to protect user data and transactions.
* **Regulatory Compliance:** Ensure your marketplace adheres to relevant legal and regulatory requirements.
4. **Developer-Friendly:**
* **API Access:** Utilize Reservoir’s comprehensive APIs to integrate marketplace functionalities into your game.
* **Customization:** Customize the marketplace to fit the unique needs and branding of your game.
* **Documentation and Support:** Access detailed documentation and responsive support to assist with integration and troubleshooting.
## **How to Get Started**
1. **Set Up Your Environment:** Ensure your development environment is ready to integrate with Reservoir’s APIs. This typically involves setting up your preferred development framework and ensuring you have access to the necessary tools and libraries.
2. **Integrate Reservoir APIs:** Use the provided API endpoints to integrate marketplace functionalities into your game. This includes listing NFTs, managing bids, processing transactions, and more. Refer to the [Reservoir Marketplace Toolkit Documentation](https://docs.reservoir.tools/docs/marketplace-toolkit) for detailed API references and usage examples.
3. **Customize Your Marketplace:** Tailor the look and feel of the marketplace to match your game’s branding. Utilize Reservoir’s customization options to create a unique and engaging marketplace experience for your users.
4. **Test Your Integration:** Thoroughly test your marketplace integration in a staging environment to ensure all functionalities work as expected. Pay close attention to transaction processing, security features, and user interactions.
5. **Launch and Monitor:** Once testing is complete, deploy your marketplace to the live environment. Continuously monitor performance and user feedback to make necessary adjustments and improvements.
## **Resources**
* **Website:** [Reservoir Tools](https://reservoir.tools/)
* **Developer Documentation:** [Reservoir Marketplace Toolkit Documentation](https://docs.reservoir.tools/docs/marketplace-toolkit)
* **API Reference:** [Reservoir API Documentation](https://docs.reservoir.tools/reference/creating-and-filling-orders)
* **Support:** Access support through Reservoir’s documentation and community channels for assistance with integration and troubleshooting.
# Snag Solutions
## Overview
Create a fully customizable platform with marketplace, loyalty program, social, trading, minting and more.
## Access Snag Solutions
<https://admin.snagsolutions.io/admin?status=signup>
## Xai Sample Marketplace
<https://xaitest.snag-render.com/collections/0x72717c647fc285517e5634efe408fa099f4c714c/networks/arbitrum>
## Products
### Marketplace
We build project-specific secondary marketplace that integrate into project based websites and match their design.
### Loyalty Platform
Snag tracks and rewards contributions across your ecosystem and lets brands provide context-rich rewards.
## Case study: Valeria
<https://snag-solutions.notion.site/Valeria-Games-Leads-Web3-Gaming-with-The-Most-Unique-Shopping-Experience-db879b0cff7e41b5b85591182b24f24a>
## Learn more
<https://www.snagsolutions.io/>
# RaribleX
## Overview
RaribleX is a turnkey marketplace solution designed for innovative web2 and web3 consumer brands. It enables them to create dynamic online experiences and unlock new revenue streams through digital products.
RaribleX’s launchpad delivers a digital asset distribution platform with Open Edition drops, auctions, and specialized collection minting. It allows creators to design custom marketplaces, aggregating listings from multiple blockchains and NFT platforms to establish a secondary marketplace.
The platform presents a brand-centric, user-friendly interface, emphasizing community engagement, and streamlines transactions by integrating with prominent crypto wallets like MetaMask and Coinbase on Ethereum and Polygon, complemented by credit card payment options.
## Access RaribleX
<https://rarible.com/community-marketplace>
## Products
### Primary Drops
#### Create a bespoke digital product based on your IP
* Create a bespoke digital product based on your IP 
* Host multiple drops with different mechanics under your own domain 
* Tell the story for each drop with video & text 
* Sell single items or packs 
* Set up dynamic pricing
#### Set up custom gamification for your digital product
* Offer multi-tier allow lists for prime members 
* Host mint stages with timed auto switch 
* Integrate loyalty reward points
* Set up instant or delayed reveal mechanics
#### Enable the sign up and purchase in a few simple clicks
* Accept credit card payments, no wallets required 
* Grow your user base by upcoming mint sign ups
#### Focus on what matters most, while our team takes care of the tech excellence
* Customer support 
* Regular live updates 
* Quality & speed enhancements
### Marketplace
Powerful out-of-the-box solution for secondary marketplaces, starting from advanced discovery all the way up to edge-cases such as metadata update for changing items.
#### New revenue channels
* Set up custom marketplace fees
* Enforce royalties on all sales
* Offer your community multiple ways buy and sell digital items
* Instant purchase
* Ability to place and accept bids for items
* Ability to place and accept floor bids for collections
#### Enable advanced discovery across your marketplace
* Collections statistics 
* Full-text search by item, user, collection
* Filter by status, price range, traits
* Sort by price and listing time
* Recommended products section under each item
* User profiles with all owned items, listing and order management
#### Aggregate buy and sell orders from multiple marketplaces from day one
<table><thead><tr><th width="200">Network</th><th>Orderbooks</th></tr></thead><tbody><tr><td><strong>Ethereum</strong></td><td><ul><li>Rarible.com</li><li>OpenSea</li><li>LooksRare</li><li>Sudo Swap</li><li>X2Y2</li></ul></td></tr><tr><td><strong>Polygon</strong></td><td>OpenSea</td></tr></tbody></table>
#### Offer consumer-ready trading experience
* Enable credit card payments with your provider of choice
* Integrate any wallet or login solution (MetaMask, Coinbase, Torus, MyEtherWallet, Wallet Connect)
#### Own your consumer experience
* Set up custom domain 
* Create a custom design with full adherence to branding guidelines 
* Host multiple collection on your marketplace
# On chain randomisation
# Supra VRF
Supra’s decentralized dVRF is designed to power dApps with effectively random outcomes that are responsive, scalable, and easily verifiable.
### Benefits
#### Low-Latency Response
For seamless user experiences, actions need to respond quickly. For instance, clicking open a lootbox should show the prize instantly. That’s exactly what our on-chain dVRFs are designed for. The novel architecture of Supra dVRFs can compute and ship random outcomes in just moments, not minutes.
#### Designed to Scale
Scale is crucial for growth as Web3 moves towards greater adoption. This calls for scale throughout the on-chain development stack, including VRFs. Our network leverages batching to achieve greater network efficiency as well as lower costs.
#### Truly Decentralized
Centralized dVRFs pose a single point of failure threat. Supra dVRFs use a secret sharing algorithm to distribute power across multiple nodes, so no one node has the power to compromise your apps or users.
#### **Natively Cross-chain**
Supra dVRF solves on-chain randomness for Web3 at large, not just a few networks. We’re already on 27 networks like Aptos, Arbitrum, Avalanche, Ethereum, Optimism, and Polygon.
#### **Provable with a public key**
Good randomness needs to be unbiased, unpredictable, and most importantly — verifiable. Our dVRF outputs are easily verifiable on-chain with a public key, so you can always prove to anyone that all outcomes are truly random and unbiased.
#### **Affordable & accessible**
Randomness is a basic need in a decentralized world, yet it's been out of reach for most dApps. With network efficiency and cross-chain scaling techniques, we’re bringing Supra dVRFs to blockchains far and wide at significantly lower costs.
[Learn more here](https://supra.com/vrf-product/) 
### Xai Supra Contract details
{% hint style="warning" %}
**Important**: Please make sure you read and understand [Terms of Use](https://supra.com/terms-of-use/) before you start using Supra products and services.
{% endhint %}
| | Xai Mainnet | Xai Testnet (Sepolia) |
| ---------------------- | --------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| Supra Router Contract | [`0x01C4EC0bEae7bc469AF2A6a6940Abb0e209b9f34`](https://xaiscan.io/address/0x01c4ec0beae7bc469af2a6a6940abb0e209b9f34) | [`0x14328F2C4D70ED5290f0cd4DC47ecc9C39eeDfE4`](https://sepolia.xaiscan.io/address/0x14328F2C4D70ED5290f0cd4DC47ecc9C39eeDfE4) |
| Supra Deposit Contract | [`0x75311B9F2c155841555E86d56Af4d46ea656Ca47`](https://xaiscan.io/address/0x75311b9f2c155841555e86d56af4d46ea656ca47) | [`0xFFEC1B313282421E9868DB46e9B7B7F1b99819e5`](https://sepolia.xaiscan.io/address/0xffec1b313282421e9868db46e9b7b7f1b99819e5) |
[Supra Developer documentation](https://docs.supra.com/oracles/dvrf/networks)
# Xai Connect
### Prerequisites
To use the Xai Connect Ecosystem Wallet, you will need to:
* Create a thirdweb account ([link](https://thirdweb.com/dashboard))
* Navigate to the **Settings** page and create an API key to get your **Client ID**
* Get your ecosystem partner ID from Xai
You can integrate to the Xai Connect Ecosystem Wallet in two different ways:
### Login with Xai Connect only
You can install the thirdweb SDK and use thirdweb’s [ConnectButton](https://portal.thirdweb.com/typescript/v5/react/components/ConnectButton) alongside the Partner ID Xai created for you to display only the Xai branded sign in flow.
```tsx
import { ecosystemWallet } from "thirdweb/wallets";
const restrictedWallet = ecosystemWallet("ecosystem.xai-connect", {
partnerId: "..." // partner ID provided to you by XAI
});
```
In the React SDK, you may provide the wallet as the only option to restrict user logins to the ecosystem.
```tsx
<ConnectButton
client={THIRDWEB_CLIENT} /* your own thirdweb API key */
wallets={[wallet]}
{...props}
/>
```
### Adding Xai Connect with Other Login Options
You can add Xai Connect as a wallet connector option amongst other wallet options in your existing sign in flow on any domains whitelisted under the ecosystem.
In this example, a partner game might be using thirdweb’s in-app wallet and wants to include Xai Connect as another login option for users.
```tsx
<ConnectButton
client={THIRDWEB_CLIENT} /* your own thirdweb API key */
wallets={[inAppWallet(), createWallet("io.metamask"), createWallet("ecosystem.xai.connect")]}
{...props}
/>
```
# Build with thirdweb
# Overview
Welcome to the integration guide for leveraging thirdweb's web3 toolings. This overview is designed to provide developers with a foundational understanding of how thirdweb's robust toolkit can be used to create, deploy, and manage dApps and smart contracts with unprecedented ease and efficiency.
**thirdweb: Empowering Web3 Development**
thirdweb offers a complete suite of development tools and SDKs that simplify the complexities of web3 development. With features like customizable wallet components, smart contract deployment and interaction, and enterprise-grade infrastructure, thirdweb is at the forefront of enabling developers to build on any EVM-compatible chain.
**Seamless Integration for Scalable dApps**
Integrating thirdweb's SDK allows developers to leverage:
* **Simplified Development Workflow**: Utilize thirdweb's SDK to abstract away the complexities of smart contract development, enabling a focus on building the core application logic.
* **Enhanced Scalability and Efficiency**: Ensure high transaction throughput and reduced costs, making your dApps more scalable and user-friendly.
* **Comprehensive Tooling**: From smart contract deployment to user authentication and wallet management, thirdweb provides all the necessary tools to build, deploy, and manage your dApps.
* **Enterprise-Grade Infrastructure**: thirdweb's Engine offers a backend server solution for reliable smart contract calls, managed backend wallets, and high transaction throughput, all of which are crucial for building professional-grade applications.
**Building for the Future**
By leveraging thirdweb's tooling on Xai, developers are equipped with the tools and infrastructure needed to build the next generation of dApps. This integration not only simplifies the development process but also opens up new possibilities for innovation in the web3 space, making blockchain technology more accessible and usable for a wider audience.
Embark on your journey to build scalable, efficient, and innovative dApps with thirdweb's comprehensive web3 development toolkit.
\
\
\
\ <br>
# Connect
Seamlessly onboard and authenticate users in your applications.
<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td>Sign in</td><td>Flexible user sign-up flow with wallet and social sign-in methods</td><td><a href="https://portal.thirdweb.com/connect/sign-in">https://portal.thirdweb.com/connect/sign-in</a></td><td><a href="https://content.gitbook.com/content/neke8a6D4Ybg9dkRA2GD/blobs/roknIk2iYxdy8hy4UM42/sign-in.svg">sign-in.svg</a></td></tr><tr><td>Account Abstraction</td><td>Complete toolkit for Account Abstraction</td><td><a href="https://portal.thirdweb.com/connect/account-abstraction">https://portal.thirdweb.com/connect/account-abstraction</a></td><td><a href="https://content.gitbook.com/content/neke8a6D4Ybg9dkRA2GD/blobs/MEGXSgnrjW9pO0CA6bft/account-abstraction.svg">account-abstraction.svg</a></td></tr><tr><td>In-App Wallet</td><td>Email &프로젝트로 돌아가기