Wallets

Predict skips the traditional DeFi approach of wallet connection and endless approvals, instead using Privy and ZeroDev to provide you with a streamlined experience.

This means that you can sign up with your email, a Google or X account, or a Web3 wallet for the purists. When you create an account, your smart contract wallet is automatically generated and ready for deposits.

With this approach, you can skip the approvals process every time you want to make a transaction.

Predict cannot access your private keys — meaning that, if you lose your credentials, we can't help you retrieve them! Make sure that your authentication method is kept secure and backed-up.

Deposits

To deposit to Predict, select the Funds button to the left of the Account one (or just click here).

In the resulting popup, click Deposit USDB to proceed.

Here, you'll be presented with your deposit address. Remember to only send USDB on the Blast network. In case you send any other Blast asset to the deposit address, while your funds won't be irretrievably lost, you'll need to export your private key and interact with the smart contract directly to get them back.

Withdrawals

Withdrawals can be performed from the same page as deposits. Hit the Funds button next to the Account one, then hit Withdraw.

On the Deposit page, click Withdraw.

In the new popup, enter the amount you wish to withdraw (click MAX to choose all available funds). Then, enter your desired withdrawal address and hit Continue. Confirm you're happy with your choice, and you're good to go!

If you sign into Predict using a Web3 wallet, we'll default to that as a withdrawal option.

Key Exports and Withdrawal from Contract

If you want to backup your keys, you can do so via the Settings page. Simply click on Export, then choose whether you'd like to copy the private key or seed phrase.

Anyone with knowledge of this data can control your funds. If you choose this option, be sure to store your keys in a safe place — and don't share them with anyone.

Note that the resulting keys are EOA keys from Privy. To retrieve funds from Predict, you'll need to interact with the ZeroDev smart contract tied to your keys.

Manually extracting USDB from your ZeroDev smart account

Once you've exported your private key, import it into an external wallet such as MetaMask.

Next, access the helper contract here, navigating to Contract > Read Contract.

Expand the third dropdown (encodeUSDBTransfer). You'll now be presented with two fields:

  • to (address): enter your desired withdrawal address here.

  • amount (uint256): enter the amount of USDB to withdraw.

Once you've double-checked the details, hit Query to produce your payload. Copy/take note of this — you'll need it shortly.

Then, search your Deposit address (found here) on Blastscan, navigating to Contract > Write Contract as Proxy.

Almost there. Connect your wallet (Connect to Web3), then expand execute to reveal three inputs:

  • execute: enter 0

  • execMode (bytes32): enter 0x0000000000000000000000000000000000000000000000000000000000000000

  • executionCalldata: enter the payload copied earlier

Once finished, hit Write to withdraw your USDB to your specified withdrawal address.

Manually extracting ETH from your ZeroDev smart account

To withdraw ETH mistakenly deposited to your Predict account, follow the steps above but use the encodeETHTransfer function instead. Note that you must specify the amount to withdraw in wei — so, to withdraw 1 ETH, you would specify 1000000000000000000.

You can use this calculator to work out your amount.

Manually extracting ERC-20s from your ZeroDev smart account

For ERC-20 tokens, it's the same process — but with the encodeERC20Transfer function. Additionally, you'll need to specify the token's contract address.

Last updated