FuseBox is Fuse’s open-source Wallet-as-a-Service platform built on ERC-4337 account abstraction. It gives developers a Bundler to collect UserOperations and a Paymaster to sponsor gas fees, making it possible to deliver a completely gasless experience to end users. The platform is accessible via TypeScript and Flutter SDKs, and it connects directly to the Fuse blockchain without requiring a separate RPC node provider.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/fuseio/fuse-docs/llms.txt
Use this file to discover all available pages before exploring further.
What FuseBox provides
FuseBox is built on the FuseBox Backend, a NestJS service that exposes ERC-4337 smart contract infrastructure through a set of REST APIs and SDKs.ERC-4337 smart accounts
Create programmable smart contract wallets for your users without manual onboarding.
Bundler
Collect and submit UserOperations to the network on behalf of your users.
Paymaster
Sponsor gas fees so users never need to hold FUSE tokens to transact.
SDKs
TypeScript (
@fuseio/fusebox-web-sdk) and Flutter (Dart) SDKs for rapid integration.Prerequisites
Before creating an Operator account, make sure you have the following:- A working knowledge of the Fuse blockchain
- A Web3 wallet such as MetaMask or Coinbase Wallet
- FUSE tokens in your Externally Owned Account (EOA). You can purchase FUSE on the Console or bridge assets from another chain using the Bridge.
Gas fees on Fuse are very low. Sponsoring your users’ transactions via Paymaster is economical even at scale.
Get an API key
Go to console.fuse.io
Navigate to console.fuse.io. You will see the Console welcome page.
Connect your wallet
Click Connect Wallet. You will be prompted to sign a message using MetaMask or Coinbase Wallet to verify ownership of your EOA. After signing, you are redirected to your Dashboard, which shows your FUSE token balance and the Wallet, Build, Bridge, and Staking menu items.
Become an Operator
Click Become an Operator. This redirects you to the Build section of the Console. Operator accounts are developer accounts that enable you to obtain an API key, fund a Paymaster, and pay for premium subscriptions in future updates. Operators can freely deposit and withdraw any token available on the Fuse network.
Create your project
Click Create your project on the Operator landing page. This opens the Operator dashboard.
Create an Operator Wallet
Click Create Operator Wallet. Your wallet provider will prompt you to sign a message. After signing, fill in your contact details and confirm. You will see a success screen confirming that your Operator account has been created.
Your Operator Account Address is a Smart Contract Wallet. It supports ERC-4337 functions including batch transaction requests.
Set up Paymaster for gasless transactions
Your Operator account’s Paymaster is pre-funded with 1 FUSE when created. To activate gasless transactions in your application, passwithPaymaster: true as the third argument when initialising the FuseBox SDK:
withPaymaster is enabled, the Paymaster covers the gas cost of every UserOperation submitted through the SDK. Your Operator account balance is debited for those fees.
Once initialised, you can call any FuseBox SDK method — token transfers, NFT transfers, contract calls, and more — and your users will never see a gas prompt. See the FuseBox SDK overview for the full list of available operations.