BSMNT Game Launcher
Launch games natively inside the BSMNT (basement.fun) platform and build addicting onchain experiences without having to worry about the crypto components.
What is the BSMNT Game Launcher?
Basement is the place to discover & play onchain games. Aside from being a discovery platform for finding great onchain games, Basement offers a way for game developers to build seamless, native, and embedded experiences within Basement.
Your game is loaded inside our game launcher, where users connect to Basement, and their player context is passed down to your game.
From there, you can leverage any of our generic helper functions (such as saving state & scores) + trigger any number of built-in crypto UX (without you having to integrate anything onchain in your game).
Build.
Create your game as you normally would, focusing on the gameplay.
Integrate.
Load the inherited player information that will be passed as a JWT (JSON Web Token) down to your game.
Trigger.
Send events with the authenticated player token to our Launcher API, to initiate onchain actions.
Grow.
Focus on growing your community, enabled by our discovery platform & easy-to-use crypto APIs.
Access Player Data
The game launcher uses a JWT (JSON Web Token) to securely encode a verified & authenticated player context, which is sent to your game.
The payload is read from the GET parameters, so any hosted web game can easily access & decode it using any number of JWT libraries (our using our launcher APIs).
Some basic player data includes:
Username (and compatible .b3.fun ENS resolvable address)
3D Avatar (.GLB model powered by ReadyPlayerMe)
Wallet Address
and more - see our Launcher API Docs
You can optionally store any arbitrary game-specific player data using our player state APIs.
Execute Onchain Actions
The real power of the game launcher is in the crypto UX abstraction. Your game can securely send onchain events through a simple REST API, executable client side.
What can you do onchain?
Save state to IPFS
Store player state on decentralized storage options like IPFS.
Issue Tokens
Send ERC20 tokens, triggered by player actions or achievements.
Send NFTs
Send ERC721, ERC1155, or ERC721 Open Edition NFT based on game actions.
Request Tokens
Prompt the user to send or transfer tokens to pay for in-game actions or assets.
Trigger Swaps
Prompt the user to exchange ERC20 tokens using our chain abstraction solution, enabling access to cross-chain liquidity.
Prompt Mints
Enable the user to mint NFTs upon achievements or certain game events, with tons of customization options.
And more actions coming - the future looks bright!
Built-in UX Abstraction
Our minimal game launcher experience means that the focus stays on your game.
A number of customizations are available on the game launcher, so that BSMNT can provide an almost invisible experience, handling all of the core crypto UX challenges for you.
Helpful APIs exist to:
Store & retrieve scores & leaderboards
Send notifications
Log and stream game activity
Store player state and game sessions
and more coming!