LYNC
DashboardSupport
  • đź‘‹Introducing LYNC
  • Products
    • LYNC Account Abstraction SDK
    • LYNC Account Abstraction WebGL SDK
    • Metamask Wallet
    • LYNC Metamask PC SDK
    • OKX Wallet
    • LYNC In-Game Marketplace SDK
    • NFT Fetcher
    • No-Code Smart Contract Deployer
    • EVM Lootbox SDK
      • Getting Started
      • Using the SDK
        • Creating a new lootbox
        • Opening a lootbox
        • Claiming rewards
        • Whitelisting users using lootbox
        • Lootbox admin functions
        • Useful information functions from LyncLootBox class
        • Multicall : opening and claiming multiple lootboxes in a single transaction
      • Example Codes in React & TypeScript
        • Example code for creating a new lootbox
        • Example code for opening a lootbox
        • Example code for claiming a lootbox
    • Launch your products on Telegram
      • Configure Your Telegram Bot
      • Deploying Your Product on TG
  • APTOS
    • LYNC Paymaster - Supporting Aptos
      • How to Register on LYNC Dashboard
      • How to Create Paymaster
      • How to Fund the Paymaster
      • Module & Function Whitelist
      • How to Integrate Paymaster
        • Unity
        • API
        • JavaScript/ TypeScript
    • LYNC Unity Aptos SDK
    • Keyless Accounts
      • Configure Your OIDC Provider
      • Integrate Keyless in Unity
    • Wallet Creation and Transaction APIs
      • Pre-requisites
      • Integration
        • API Overview
        • Create a new wallet
        • Get already created wallet
        • Mint NFT transactions
        • Send generic transactions on Aptos
    • LYNC Social Login SDK on Aptos
      • Getting Started
      • Using the SDK
      • Example Codes in React & TypeScript
      • Types Used in the Methods Provided by the SDK
      • Other Specification
    • LYNC Aptos Lootbox
      • Getting Started
      • Creating a Lootbox
      • Opening a Lootbox
      • Claiming the Rewards
      • Conclusion
  • Movement Labs
    • 📇Indexer
      • How to run index custom data?
      • Example Queries
        • Get Token Info
        • Get Token Balances
        • Get NFTs Owned by an Account
    • NFT Deployer
    • LYNC Social Login SDK on Movement
      • Getting Started
      • Using the SDK
      • Example Codes in React & TypeScript
      • Types and Enums Used in the Methods Provided by the SDK
      • Other Specification
    • LYNC Unity Movement SDK
    • Wallet Creation and Transaction APIs
      • Pre-requisites
      • Integration
        • API Overview
        • Create a new wallet
        • Get already created wallet
        • Mint NFT transactions
    • LYNC Paymaster - Supporting Movement
      • How to Register on LYNC Dashboard
      • How to Create Paymaster
      • How to Fund the Paymaster
      • Module & Function Whitelist
      • How to Integrate Paymaster
        • JavaScript/ TypeScript
  • Supra
    • LYNC Paymaster - Supporting Supra L1
      • How to Register on LYNC Dashboard
      • How to Create Paymaster
      • How to Fund the Paymaster
      • Module & Function Whitelist
      • How to Integrate Paymaster
        • JavaScript/ TypeScript
    • LYNC Unity SUPRA SDK
    • Wallet Creation and Transaction APIs
      • Pre-requisites
      • Integration
        • API Overview
        • Create a new wallet
        • Get already created wallet
        • Mint NFT transactions
  • Fuel
    • LYNC Unity Fuel SDK
    • LYNC NFT Deployer
      • Introduction
      • Getting Started
      • Deploying Your NFTs
        • Launch Your Entire Collection
      • Troubleshooting and FAQs
    • LYNC Fuel Lootbox
      • Getting Started
      • Creating a Lootbox
      • Opening a Lootbox
      • Claiming the Rewards
      • Conclusion
    • Wallet Creation and Transaction APIs
      • Pre-requisites
      • Integration
        • API Overview
        • Create a new wallet
        • Get already created wallet
    • Fuel Marketplace NPM SDK
      • Getting Started
      • Using the SDK
        • Using hooks to get the marketplace data
        • Using services provided by the SDK to list, buy, and manage tokens
        • Some useful functions provided by the SDK
        • Error codes for the SDK
        • Interfaces and Enums provided by the SDK
      • Support
  • Metis
    • Wallet Creation and Transaction APIs
      • Pre-requisites
      • Integration
        • API Overview
        • Create a new wallet
        • Get already created wallet
        • Mint NFT transactions
  • NPM Packages
    • Marketplace
      • Hook: useAllCollectionNFT
      • Hook: useAllBuyNFT
      • Hook: useAllOwnerNFT
      • Hook: useNFTDetails
      • Hook: useAllNFTForRent
Powered by GitBook
On this page
  • Initiate the Opening
  • Random Reward Selection
  1. APTOS
  2. LYNC Aptos Lootbox

Opening a Lootbox

PreviousCreating a LootboxNextClaiming the Rewards

Last updated 6 months ago

Once a lootbox is created, users (or others) can open the lootbox by pressing the 'Open Your Lootbox' button, revealing the randomized rewards.

To open a lootbox, the user must be connected to the Aptos Lootbox platform using their . This ensures that the rewards from the lootbox will be deposited directly into their wallet after opening.

Initiate the Opening

The user can see an “Open Your Lootbox” button on the open lootbox page. Upon clicking this button, the lootbox opening process is initiated, triggering the randomization of rewards inside the box.

Random Reward Selection

  • After initiating the opening, the Aptos Lootbox system in the background selects the rewards based on the user-defined parameters that were set during lootbox creation.

  • If the lootbox contains DAs, the system will randomly select some NFTs (within the range defined during lootbox creation) and choose which specific NFTs from the deposited pool will be given as a reward.

  • Similarly, for FAs (fungible assets), the system will select a random number of APTs from the specified range and choose how many APTs will be given to the user. The selection process is entirely random, ensuring each opening is unique and unpredictable.

  • If the user receives NFTs, they will see the details of which specific NFTs have been awarded to them. Similarly, if the lootbox includes FTs (fungible tokens), the user will see how many tokens they’ve received and the type of token.

  • After the rewards are revealed, the user must claim them to finalize the process and transfer the assets into their wallet. A “Claim” button will appear on the web page to claim the randomly selected rewards. Clicking this button initiates the final step of transferring the NFTs and FTs (fungible tokens) to the user’s Fuel Wallet.

Once the user clicks the claim button, the rewards are automatically deposited into the connected Petra Wallet. The NFTs and APTs are directly transferred into the user’s connected wallet. The user can now view their claimed assets in their Petra Wallet immediately.

Important Notes -

  • Each lootbox can be opened and claimed once per wallet address until the lootbox is empty. Users can open the lootbox and claim rewards only once until the lootbox becomes empty.

  • Once the lootbox is opened and the random rewards are determined, there is no option to change or modify the outcome.

  • Even if a user opens a lootbox but decides not to claim the rewards, they cannot reopen the box to try again.

Petra Wallet
Lootbox is ready to open
Users can Claim the Randomly Selected Rewards After Opening the Lootbox
Claiming Rewards Requires Approval from User's Connected Wallet