Build your own collectibles app
Bring DYLI to your website or app. Customers can open packs, buy and list collectibles, make offers, trade with each other, and ship items from their vault. You build the experience. DYLI handles the shared inventory, contracts and fulfillment.
Choose login and wallets | Run the example
Start with three things
- Create a Commerce key for your app. Keep it on your backend.
- Choose how customers sign in and where their Base wallets come from.
- Connect checkout, pack openings and your customer collection.
Your key does not create wallets for customers. You can keep existing Base wallets or set up your own Privy app. See the options.
Available in v1.33
Choose the parts your app needs. Check the returned capabilities before showing a live action.
- Open packs: buy and open 1-10 of the same pack in one checkout.
- Vault: keep items in the customer's collection and view their holdings.
- Gift sealed packs: send unopened packs to another customer in your app. Transfer flow.
- Gift items: send vaulted items to another customer in your app. Item gifts.
- Sell back: accept an available buyback during opening or after vaulting. USDC goes to the customer's wallet.
- Ship: redeem eligible items from the vault, with address validation, delivery rates and shipment status.
- Marketplace: list items, buy listings, make offers and accept offers through DYLI's existing marketplace.
- Trade: exchange items and optional USDC with another collector through DYLI's existing P2P contract.
Marketplace and trading have separate settings for including DYLI listings and DYLI collectors. Both default to your own community. Listings and offers created through your app still appear on DYLI. Set up marketplace and trading →
The example has card checkout and Base USDC payments for packs. You do not need your own Stripe account. Marketplace and trade payments use Base USDC. You can also accept other crypto and settle with DYLI in Base USDC.
For packs that open right away, USDC checkout can take payment and start the opening in one transaction.
New apps secure items before reveal by default. Keep completes immediately; confirm Sell with the returned approval and transaction.
Make it yours
Start with the storefront template, or use the API with your own frontend and backend. Keep your existing login, or connect your own Privy app for a new storefront. Each customer needs a Base wallet to receive items and sign transactions.
Commerce endpoints need a Commerce API key from a DYLI Pro account. Your customers don't need Pro. Keep the key on your server. It identifies your app, so there's no slug or API URL to configure in the starter. You can build your own UI first with mock data, or browse the Read API with a free Read key.
If you want DYLI to manage the wallet provider, request activation. Your own wallets and your own Privy app are self service.
Fees and earnings
Your app earns 10% of settled pack profit: base sales minus cash buybacks and the cost of items customers keep, with losses offsetting gains. Earnings belong to the DYLI account that owns the key.
You also earn 10% of DYLI's collected fee on secondary sales and cash trades completed through your Commerce app by default. For example, a $100 secondary sale with a 5% DYLI fee earns you $0.50. This comes from DYLI's fee, with no extra customer charge. Revenue share and custom rates.
View orders, buybacks and earnings in Profile → Storefront → Commerce, and withdraw available earnings through Claim.
You can also charge a flat fee per pack or a percentage of the subtotal. Set the fee to zero if you don't want to add one. Pack prices, card processing, gas and shipping still apply. Use INCLUDED_IDS to show only your chosen packs. Configure packs and fees →
Start building
- Quickstart: get your key and run the storefront.
- Test before launch: check checkout, openings and shipping.
- API reference: find the endpoints for your integration.
- Get help from DYLI: request managed login, domain changes or testing help.
Using your own login or payment system? See authentication and payments. Building with a coding tool? Use the Markdown reference or OpenAPI schema.
Endpoint names
Use /catalog/packs and /pack-plays for new builds. Older box routes and fields still work. See the reference for request fields.