Skip to content

BoltApp/bolt-unity-sdk

Repository files navigation

Bolt Unity SDK

What is this?

Native Unity support for Bolt Web Payments. A programmatic way to for out-of-app purchases and subscriptions.

We also support other platforms:

JavaScript
JavaScript
Javascript SDK
Unity
Unity
This Repo
Unreal
Unreal Engine
Unreal SDK
iOS
iOS
Coming Soon 🚧
Android
Android
Coming Soon 🚧

Discord

Chat with us on Discord for help and inquiries!

📚 Documentation

For documentation and API reference visit our quick start guide.

💰 Why Bolt

Only with Bolt you get 2.1% + $0.30 on all transactions. That's 10x better than traditional app stores which take 30% of your revenue! That's the fair and transparent pricing you get with using Bolt.

Disclaimer: Fees are subject to change but will continue to remain highly competitive. See bolt.com/pricing for up to date rates and visit bolt.com/end-user-terms for end user terms and conditions.

🛠️ Prerequisites

You need 3 things to get started:

  1. Existing App: You will need an application in the same platform as this SDK
  2. Backend Server: You will need to bring your own backend server (any language)
  3. Bolt Merchant Account: Dashboard access to manage your store (signup or login)

📦 Installation

Step 1: Install the Unity SDK

Note: For any of these options you can specify a specific version by appending it to the URL with a hashtag, e.g. https://github.com/BoltApp/bolt-unity-sdk.git#v0.0.5 will pin v0.0.5

Option 1: Using manifest.json (Recommended)

  1. Open your Unity project
  2. Navigate to the Packages folder in your project root
  3. Open the manifest.json file in a text editor
  4. Add the Bolt SDK dependency to the dependencies section:
{
  "dependencies": {
    "com.bolt.sdk": "https://github.com/BoltApp/bolt-unity-sdk.git#main",
    // ... other dependencies
  }
}
  1. Save the file - Unity will automatically download and import the package

Option 2: Using Package Manager UI

  1. Open Package Manager in Unity (Window > Package Manager)
  2. Click the "+" button in the top-left corner
  3. Select "Add package from git URL"
  4. Enter the repository URL: https://github.com/BoltApp/bolt-unity-sdk.git#main
  5. Click "Add"

If you have any issues our discord support team will be happy to help.

Step 2: Add code to your game

There is sample integrations in the Samples~/ folder.

  • BoltBasicExample: will showcase how to initialize the client and check for pending transactions
  • BoltDeepLinkExample: will showcase how to handle deep links back into the application.

Step 3: Continue with Backend Integration

You will need to bring your own backend server to complete integration.

  • Quick Start: View our quickstart guide to get the API running
  • Example Server: We also have a sample server in NodeJS for your reference during implementation

Need help?

Got questions, roadmap suggestions, or requesting new SDKs?
Get help and chat with us about anything on Discord Discord

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Unity SDK for Bolt

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages