Xai Network
English
English
  • About Xai
    • Welcome to Xai
    • Xai Introduction
      • Xai Blockchain
      • Xai Foundation
      • Xai Token
      • Blockchain Gaming
        • Current Limitations
        • The Future of Gaming
        • Gaming Evolved
      • Ex Populus Partnership
      • Offchain Labs Partnership
      • Vanguard League
      • FAQ
      • Important Links
      • Xai Brand Kit
    • Xai Protocol
      • Xai Basic Concepts
      • AnyTrust: Revolutionizing Blockchain Infrastructure
        • Reducing Costs through Trust Assumptions
        • Keysets for Flexibility
        • Data Availability Certificates (DACerts)
        • Dual Data Posting Mechanisms
        • Data Availability Servers (DAS)
        • Sequencer-Committee Interaction
      • Security considerations
    • Xai Governance Voting Guide
    • XAI Tokenomics
      • XAI Token’s Utility & Purpose
      • esXAI Token’s Utility & Purpose
      • The Redemption Process
      • Token metrics and initial allocation
      • XAI & esXAI Emissions & Burning
      • Network Rewards
      • Sentry Key Pricing Tiers
    • Sentry Keys Explained
      • How do Sentry Nodes Work
      • Who Can Operate A Sentry Node
      • Referee Smart Contract
        • Submission of Assertions
        • Claiming Rewards
        • Creating Assertion Hash and Checking Payout
      • Challenger Component
      • Key (NFT-based)
      • Sentry Download and Operation
      • Sentry Wallet Functionality
      • Licensing Impact
      • Sentry Node Hardware Requirements
      • Sentry Node Utility
      • Accruing Key Rewards
    • Sentry Key Purchase & Setup
      • Step 1: Purchase a Sentry Key
        • Option 1: Buy Sentry Key via the website
        • Option 2: Buy Sentry Key via Xai Sentry Node desktop app
        • Option 3: Buy Sentry Key via Xai Sentry Node CLI (command line interface)
          • How to view the price of a Key via the CLI
        • Option 4: Buy Sentry Key via Node License Contract on Arbiscan
      • Step 2: Download & Run the Xai Sentry Node
      • Step 3: Complete Requirements to Accrue esXAI
        • Step 3a: Set Up & Fund the Sentry Wallet
          • How to Obtain Arbitrum ETH
          • How to import your wallet as the Sentry Wallet in the desktop app
        • Step 3b: Start the Sentry Wallet (a.k.a Operator)
          • How to create a wallet using the CLI
        • Step 3c: Assign Keys to the Sentry Wallet
      • Step 4: Complete KYC (or KYB) to Claim XAI redemptions
        • How to interpret a Pending KYC status
      • Common Troubleshooting Steps
        • How do I run a Xai Node on VPS?
          • Step 1: Choose a VPS
          • Step 2: Log in to a server
          • Step 3: Set up Xai Sentry Node
          • Step 4: Set up a Screen
          • Step 5: Start Xai Sentry Node
          • Step 6: Monitor your Node via Screen
          • Step 7: Updating your node
        • How do I prevent others from using my Sentry Wallet or Operator?
        • Why don't I see the KYC link on the desktop app?
        • How do I know my Node is running in the CLI?
        • How do I KYC if I'm using the CLI?
        • How can I see my rewards?
        • Crashing, inconsistent Emissions / missing revert data errors
        • According to BlockPass, my KYC is approved, but the desktop app still says I am not approved
        • I see "Transaction in progress" message after assigning my wallet. Did my wallet not get assigned?
        • How do I delegate my Keys to another user's operator?
        • Why did my Accrued esXAI balance decrease?
        • What are the legitimate contracts owned & operated by Xai Foundation?
        • Why do I get an error for challenge 2012?
      • How To Videos
        • Desktop Client
          • Download & Install Xai Node Desktop Client
          • Import & Start Your Sentry Wallet
          • Assign Wallets Containing Keys to the Sentry Wallet
          • Fund Sentry Wallet with Arbitrum One ETH
          • Submit KYC
          • Claim Node Rewards after Passing KYC
        • Command Line Interface (CLI)
          • Download & Install Xai Node CLI
          • Boot Operator & Interpret Status Logs
          • Add Custom Operator
          • Track Accrued esXAI
          • KYC When Using CLI
      • Redeem Referral Rewards
    • Open Initiatives
      • Completed Initiatives
      • Xai & Sentry Nodes Initiatives
      • Xai Protocol Initiatives
  • Staking Explained
    • Staking v1 and v2
    • Staking Pool Guide
      • Create a Pool
      • Stake esXAI
      • Stake Sentry Keys
      • Generating Rewards
      • Unstaking
    • Staking Rewards & Tiers
    • Time Cooldown
    • Gas Optimizations
  • Tiny Sentry Key FAQ
    • FAQ (Indonesian / Bahasa Indonesia)
    • FAQ (Korean / 한국어)
    • FAQ (Hindi / हिन्दी) - कुंजी विभाजन सामान्य प्रश्न
    • FAQ (Chinese / 中文)
  • Key Sale Referrals
  • Key Split Update (technical)
  • Build on Xai
    • Xai Chains & Parameters
      • Connect to Xai Mainnet
      • Bridge to Xai Mainnet
      • Connect to Xai Testnet (Sepolia)
      • Bridge to Xai Testnet
      • Bridged Token Addresses
      • Contract Addresses
    • How to run a full node for Xai chain
    • How to get $XAI
      • Centralized Exchanges
      • Decentralized Exchanges
        • Camelot
    • Developer Tools
      • Block Explorers
      • RPC
        • Ankr
        • Nirvana
        • QuickNode
      • Token Bridges
        • Xai native bridge
        • Gas.zip
        • Relay
      • Wallets
      • Marketplace
        • Reservoir
        • Snag Solutions
        • RaribleX
      • On chain randomisation
        • Supra VRF
  • Xai Gaming Dev Resources
    • Xai Connect
      • Overview
      • Integrate with Xai Connect
    • Build with thirdweb
      • Overview
      • Connect
      • Contracts
      • Wallets
      • Account Abstraction
      • SDKs
      • Engine
      • Web3 APIs
    • Build with Sequence
    • Subgraph
    • Xai Gas Subsidy
  • Xai Vanguard: Genesis
    • Getting Started
      • Leaderboard
      • Discord
    • Chapter 01: Onboarding
    • Chapter 02: Minting
      • Minting from Contract
    • Chapter 03: Discord
      • Obtaining esXAI
      • Obtaining XAI
      • Buy Sentry Key
    • Chapter 04: Xai Staking Pools
    • Chapter 05: Unicorn Bingo
    • Chapter 06: Bridging
    • Chapter 08: Build on Xai
      • Thirdweb: Creator Portal Walkthrough
      • Sequence: Xai Builder Walkthrough
    • Chapter 09: Camelot
    • Chapter 10: Crypto Unicorns
    • Chapter 11: Tarochi
    • Chapter 12 - My Angry Yakuza Girlfriend
    • Chapter 13 - Rainbow Rumble
    • Chapter 14 - The Lost Glitches
  • Xai Vanguard: Previous Seasons
    • XAI Token Claim
      • Claim Details
  • Play Games on Xai
    • Connect your wallet to Xai
    • Xai Games Catalog
    • Final Form
      • Card Sets
      • Card System
      • Where to Get Cards
      • ❔FAQ
Powered by GitBook
On this page
  1. Xai Gaming Dev Resources

Build with Sequence

PreviousWeb3 APIsNextSubgraph

Last updated 7 months ago

Xai Builder (powered by Sequence) is an all-in-one Layer 3 developer console for building web3 games. Click here to learn more:

Getting started

Go to and click on the Start Building or Sign in button to get started.

  1. Choose a sign in method

    When you first sign in to Xai Builder, a wallet is created for you.

    You may, however, already have a Sequence wallet. If you are signed in with that wallet, you will see an option to use it.

    Without a wallet, you will be given a few options to sign in. You can use any of the social sign ins, or you can simply use your email to get started.

  1. After choosing how you would like to sign in, you will be presented with the terms of use. To read the Terms of Use, Privacy Policy, and Master Services Agreement, click on the respective links for each.

    Once you have read each, click through to continue.

    You are now signed in to Xai Builder!

  2. Create a Project

    - so let's start one.

    The easiest way to start a project is to simply click + Create Project.

  1. Enter the project details

    A modal will pop up, allowing you to enter details about your project. Provide a project name and, if you like, add an avatar for the project.

  2. Create the project!

    Now hit the Create new Project button!

    Once you finish, you should now be viewing your project dashboard.

Embedded Wallet

These headless wallets can be created on-demand for each user and allow you to integrate an application with an Ethereum compatible blockchain, while using familiar constructions like RPC APIs. Additionally, no necessary pop-up modals, user-facing confirmations, and other distractions so you can provide a truly native and seamless gaming experience.

These are also shared across experiences, if desired, so your users have a consistent wallet address across your games and platforms, no matter what social login they are using.

Sequence Kit

Key Features

  • Universal Connections: Seamlessly connect via popular social logins such as Facebook, Google, Discord, and more! Your users will enjoy a smooth, secure onboarding process.

  • Embedded Wallets: Leverage our non-custodial embedded wallet within Sequence Kit to put web3 in the background such as optional popups / modals so users can focus on the experience.

  • Web3 Inventory: Provide your users with a web3-enabled inventory, enabling them to manage their coins and collectibles all within your own application. TODO: link to web3 inventory in docs

  • Customizability: Brand Sequence Kit with your own logo, color scheme and configure it with your social providers and wallets you want to servic

Analytics

When you use Sequence via the SDKs to build your application, you can see key insights in Xai Builder. You don't need to do any additional work to see valuable metrics about your project, such as the number of connected wallets or daily transaction requests.

How it works

When requests are made with Sequence SDKs/APIs, analytics events are fired and sent to our internal analytics system, Databeat. Databeat anonymizes the data and stores it in a secure database designed for high-volume, real-time applications. The metrics you see in Xai Builder are queried from the database, in real-time, for your project and presented in insightful visualizations.

Overview

In the Overview tab of Xai Builder, you will see the key, high-level metrics for your project. Metric cards will show the total value for that metric, and clicking on one will change the chart to show time-series data for that metric.

You also have the option to look back at your data beyond the default Last 30 days by toggling the filter in the top right corner.

Wallets connected

Wallets connected represents the count of distinct wallet addresses connected via Sequence SDKs for the selected time period.

Marketplace transactions

Marketplace transactions shows the total number of buy and sell events that occure via the Sequence Marketplace API.

Transaction requests

Transaction requests represents the total number of transactions sent by wallets associated with the project.

Indexer

Sequence Indexer - offered via the Xai Builder - is a simple API to query any blockchain token and NFT data. Simply select the data you want from the indexer, and it generates the necessary code in snippets

Fetch different kinds of data from the indexer:

  • tokens and collectibles owned by any wallet

  • total supply for any token or collectible

  • the transaction and transfer history for any wallet address

  • contract metadata for any token or collection

  • metadata for any collectible

  • balance change events for any token or collection

Webhooks

No-Code Webhooks

Xai Builder equips game builders with an indexer that listens to events across the many blockchains that is powered by Sequence to provide an HTTPS callback to a URL you specify - this means you can listen on that endpoint and get up to date information on what’s happening on-chain, customized for what you want to listen to.

What data can I listen to for my game?

  • Mints from a contract

  • TokenID transfers

  • Transactions by an account address

  • Event topics, topic hashes, and events emitted by a contract

Marketplaces

Whitelabel Marketplaces

Xai Builder provides game builders with a white-label marketplace that can be launched in seconds. With Xai Builder, you can customize your marketplace and integrate it directly into your game experience, all with no-coding experience necessary.

Try it out

Why would I want my own Marketplace for my web3 game?

Xai Builder gives you full control over everything in your marketplace, from enforcing royalties (with ERC-2981) to choosing the best trading mechanism for your community, setting fees, and more. You can also aggregate listings from major platforms like OpenSea or LooksRare, providing you with the benefit of existing liquidity without relinquishing control of the gaming experience.

Custom Marketplace

Walkthrough

Smart Contract Suite

Xai Builder simplifies smart contract deployment and management with a suite of user-friendly features. Import, deploy, and add contract collaborators to a smart contract in the contracts dashboard and interact directly with your contract.

What are my deployment options?

Deployment of contracts with Xai Builder is simplified through a streamlined process directly within our dashboard. Choose from various contract templates (ERC1155, ERC721, ERC20) and more. The Xai Builder also gives you the option to upload your own custom contracts - saved to your project to deploy to the Xai network.

Embedded Wallet Docs Here:

Offered via the Xai Builder, Sequence Embedded Wallet enables the creation, management and usage of fully functional EVM compatible wallets that can be easily integrated into your game or experience through our various SDKs such as , and .

Sequence Embedded Wallet offers non-custodial wallets and the system guarantees that each created wallet can only be accessed with the consent of the owner of the wallet. This is made possible by utilizing the power of to handle sensitive data in a secure environment that nobody can access - not even Xai or Sequence.

Check out our to get started integrating for your next game or app!

Sequence Kit is the ultimate toolkit for effortlessly into your applications, providing your users with a smooth and secure onboarding experience. With our robust tools built on the popular library, unlock a realm of possibilities in the world of web3.

External Wallet Integration: Effortlessly integrate with leading web3 wallets like and . Unleash the power of blockchain with just a few clicks!

: Enable users to purchase collectibles within Sequence Kit using a credit card or crypto.

You can also query your analytics programatically or connect to services like Dune via the .

Click to get started with the indexer from Xai Builder and see it in action.

To create Webhooks for your game, simply click to get started.

Get started quickly at to launch your marketplace.

The Sequence Marketplace API service offers a simple and fast way to interact with sequence marketplace protocols to build a custom marketplace while accelerating your development time. The API is designed to be easy to use and to have all the features you need to build a fully functional marketplace. In addition, we have an that you can readily use for your project based on our whitelabel marketplace so you don’t need to build from scratch.

💡 Sequence Market contract is fully audited and can be found at

For more resources on leveraging the Sequence Market Protocol, check out the .

Lastly, take a look at Sequence’s to get you off the ground running with your own marketplace & learn about the infrastructure that powers Sequence. This guide leverages several components of the sequence stack such as our Marketplace APIs and Indexer - all the components needed for accelerating development time & building a scalable in-game or browser based marketplace.

You can check out more information on the deployable contracts through Xai Builder from the link .

https://docs.sequence.xyz/solutions/wallets/embedded-wallet/overview#sequence-embedded-wallet
TypeScript
Unity
Unreal
AWS Nitro Enclaves
docs
wagmi
WalletConnect
MetaMask
NFT Checkout
APIs
here
here
Xai Builder
open source custom marketplace boilerplate
https://github.com/0xsequence/marketplace-contracts
in-depth documentation
end to end guide
here
https://dev-xai.sequence.build/landing
builder.xai.games