

Acts onchain
Supplies an asset to a Spark market, minting spTokens to the wallet. The socket approves the pool and deposits the amount on the wallet's behalf; the spToken balance then accrues the supply rate every block and can be enabled as collateral. Reach for it to earn yield on idle balance, to post collateral before a borrow, or as the second half of a loop where borrowed funds are swapped and supplied again in the same transaction. Follow it with the collateral status action when the deposit needs to back a borrow.
Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.
More on Spark · 25


























On other protocols · 4