Backend wallets
Backend wallets serve as an internal account for games and developers to manage assets and flows. The accounts are EOAs (Externally Owned Account).
There are several use cases for this:
- Treasury Account: Transferring assets on demand. Learn how to create a dev account to transfer assets.
- Minting Account: Minting assets on demand. Learn how to create a dev account to mint assets.
- Escrow Account: Hold assets or tokens in an escrow between players and transferring them afterwards. Learn how to create an dev account to escrow assets.
Requisites#
Developer account pay for gas using either:
- Support ERC-2771 transactions: The assets you want to escrow need to support ERC-2771 transactions (i.e. gasless).
- Funding a backend wallet: You need to fund your developer account with the chain's native token.
Use the supported forwarder contracts from Openfort is you need. Alternatively, you can also customize your forward contract in order to sponsor the transaction of your backend wallet.
Create a backend wallet#
Head to the backend wallet page in your dashboard settings and click on Add account
. By default, the backend wallets created with Openfort are custodial.
Verify Wallet Ownership#
If you're looking to sponsor gas with your native tokens for smart accounts, it's important to verify your deposited funds with the paymaster.
Head to backend wallets in your dashboard and click on Add account
.
- Click on "Advanced Options" to start the process.
- Sign the explorer message.
- Add the wallet address used to deposit native tokens.
- Add the signed message.