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
  • Choose Assets to Include in the Lootbox
  • NFTs (Non-Fungible Tokens):
  • FTs (Fungible Tokens):
  • Review and Confirm Deployment
  1. Fuel
  2. LYNC Fuel Lootbox

Creating a Lootbox

PreviousGetting StartedNextOpening a Lootbox

Last updated 7 months ago

Creating a lootbox on Fuel Lootbox involves depositing assets (NFTs and FTs) and setting parameters that will control how rewards are distributed when someone opens the lootbox.

Before creating a lootbox, the user needs to connect to the Fuel Lootbox web application using their Fuel Wallet. Once connected, the user can navigate to the section where they can create a new lootbox.

Choose Assets to Include in the Lootbox

NFTs (Non-Fungible Tokens):

On the Fuel blockchain, an Asset ID is a unique identifier for a minted token that is used to interact with an asset on the network. Each minted token (in case of NFTs) or batch of tokens (in case of SFTs) is assigned a unique 64-bit hash that is used to identify the asset and interact with the asset. Unlike the EVM, the sending and receiving of these assets can be done independently of the asset contract using the Asset ID.

  • Specify Range: After adding the NFTs, the user specifies the range of how many NFTs can be given out when the lootbox is opened. For instance, if the user deposits 5 NFTs, they may specify that the lootbox should give out between 1 and 3 NFTs. This range defines how many NFTs the system will randomly select when the lootbox is opened.

FTs (Fungible Tokens):

  • Specify Range: Similar to NFTs, the user defines the range for how many FTs will be given when the lootbox is opened.

  • Deposit Amount: For each FT, the user needs to specify the total amount of FT they want to deposite to the lootbox. This deposit amount will be available to the users who opens the lootbox and will be distributed to them within the specified range until all the FTs are distributed to the users.

Review and Confirm Deployment

Before finalizing the lootbox, the user can review all the details, including NFTs and FTs and their asset IDs respectively. Once everything is reviewed, the user can find the "Create Lootbox" button and click the button to confirm the creation of the lootbox.

Once the lootbox is created, it becomes available for opening. At this point, the lootbox is visible in the user interface, and ready for opening. If desired, the user can share the lootbox with others, or they may choose to open it themselves.

Each lootbox created using the Fuel lootbox web application has a unique lootbox ID, which is used to identify the lootboxes and items in them uniquely. Users can share their created lootboxes with other users as well for opening the lootboxes and claiming rewards.

Each lootbox created by the user is available on the "Your Lootboxes" page. User can view their created lootboxes on this page and they can also see the status of their created lootboxes - whether they are still "active" or "empty".

A lootbox remains active "active" untill all the rewards inside the lootboxes are distributed. After all the rewards are distributed, lootbox becomes empty and will no longer be available for opening to other users.

IMPORTANT NOTES -

  • Users can only deposit NFTs and FTs that already exist in their wallet. Fuel Lootbox does not support creating or minting new tokens.

  • Although the user sets specific ranges for both NFTs and FTs, the system will handle the randomization process. For example, if the user defines that the lootbox will give out between 1-3 NFTs, the number and selection of NFTs are random within this range when the box is opened.

  • Each lootbox can be opened and claimed multiple per wallet address until the lootbox is empty. Users can open the lootbox and claim rewards as many times as they want until the lootbox becomes empty.

Deposit NFTs: For each NFT the user deposits, they need to input the corresponding . The NFTs must already exist in the user’s wallet to add them to the lootbox.

What is an for a minted token?

You can use to mint NFTs and find Asset IDs to include in the lootbox. You can refer to the to know more about Asset IDs and where to find them.

Deposit Tokens: The user will need to select which FTs they want to deposit into the lootbox. The FTs must also already be deployed and available in the user’s wallet. For each FT the user deposits, they need to input the corresponding .

Asset ID
Asset ID
LYNC's Contract Deployer on Fuel
Fuel NFT Deployer documentation
Asset ID
LYNC Fuel Lootbox Homepage
Form to Add NFTs to the Lootbox
Form to Add FTs to the Lootbox
Users can Review All the Assets Deposited to the Lootbox
Lootbox is Ready to Open After the Successful Creation