Game Launcher

Launch games natively inside the BSMNT (basement.fun) platform and build addicting onchain experiences without having to worry about the crypto components.

1.

Load

Your game loads inside BSMNT launcher. We pass a JWT with the auth token to your game.

https://yourgame.com?token

2.

Auth

You can load the player's profile by decoding the JWT, or by using our API. We'll take care of wallet connections, verification & onboarding.

{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "address": "0x1234567890abcdef1234567890abcdef12345678",
  "username": "CryptoGamer42",
  "avatar": "https://avatars.b3.fun/avatar.png",
  "gameId": "game-123456-abcdef",
  "license": "550e8400-e29b-41d4-a716-446655440000",
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}

3.

Trigger

Let the user play your game. When something happens, you can trigger an action via our Zapier-style rules engine, or directly via API.

curl --location 'https://api.basement.fun/launcher/' \
--header 'X-Service-Method: triggerRulesEngine' \
--data '{
    "launcherJwt": {{ jwt }},
    "trigger": "achievementUnlocked",
    "nonce": "d1312e",
}

What can you do with BSMNT launcher?

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.

Save state to IPFS

Store player state on decentralized storage options like IPFS.

Buy NFTs & Mint

Let users mint NFTs upon achievements or on certain game events.

Onchain Leaderboards

Bring player rankings onchain, host contests & tournaments.

Issue Tokens & NFTs

Send ERC20s and ERC721 & 1155 NFTs based on game actions.

Pay with Tokens

Prompt users to send or transfer tokens to pay for in-game actions or assets.

Coming soon
Coming soon
Coming soon

Swap & Trade

Users can use assets from other chains to swap for your tokens.

Coming soon
Coming soon
Coming soon
  • Credit Card Onramp
  • Collect Reviews
  • Share your Game
  • Record Gameplay
  • List NFTs

And more actions coming - the future looks bright!

Getting Started

We'd love to have your game on basement.fun! It's simple, free, and easy to start integrating.

See BSMNT Launcher in Action

No vaporware here - play Games on BSMNT today!

No vaporware - play today!

What is Basement.fun?

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).

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.

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!

© 2024 Player1 Foundation

Discover B3 - the Based L3

© 2024 Player1 Foundation

Discover B3 - the Based L3

© 2024 Player1 Foundation

Discover B3 - the Based L3