🪙Deposit/Withdraw Funds
Depositing and withdrawing funds to and from your account
Last updated
Depositing and withdrawing funds to and from your account
Last updated
Before scheduling and paying for streams, you must first approve the contract within your Serraform wallet (account), then fund your account with USDC running on Polygon (PoS) mainnet. See here for a guide on connecting Metamask to Polygon, and here for the official Polygon bridge tool to move any assets/coins you have on Ethereum mainnet to Polygon (PoS).
Approving the contract is the first step you need to perform before using the service. Simply click the wallet icon (top right corner) and select the "Approve Contract" button. This will be followed by a Metamask prompt requesting you to sign a transaction that will perform the approval process.
Before being able to deposit any funds into your account you must first set a spending limit, allowing our smart contract to interact with your asset as needed. This is not to specify how much you will deposit now, but rather a limit on how much you will be able to use in the future. This limit can be increased later at your discretion.
Before scheduling a stream you must first deposit the necessary funds (USDC) into your account to allow the smart contract to lock said funds when a stream is created. If you decide to cancel the stream before the scheduled time, the contract will unlock your funds (moving them back to "Available Funds" allowing you to schedule future streams, or withdraw them back to your Metamask wallet.
To deposit funds to your account simply click the wallet icon (top right corner), enter the amount, and select the "Fund Account" button. Follow and complete the Metamask prompts to complete the deposit transaction.
If you decide to withdraw any funds from your account back into your Metamask wallet, you may do so at any time. Any funds that are not locked for upcoming/past streams may be withdrawn. If you prefer to withdraw locked funds, you may do so my cancelling/deleting upcoming streams which will unlock those funds to allow them to be withdrawn.
To withdraw funds from your account simply click the wallet icon (top right corner), click on the "Available Funds" box, and follow the prompts to withdraw any available funds back to your Metamask wallet.
Any funds that have previously been deposited into your account and are available to use as payment for new stream(s) will be displayed here. These funds may also be withdrawn back to your wallet.
Any funds that have been reserved as payment for completed or upcoming streams will be displayed here. You can only unlock funds for streams that have not yet started.