DeFi Basket
Search…
Bridges

What are bridges?

Bridges are smart contracts that DeFi Basket uses to interact with other DeFi protocols. They are what enables us the possibility to integrate with any DeFi protocol, we just need to create a new bridge smart contract for a specific protocol and we are integrated to it.
To give you a sense of what functionality they accomplish, a bridge can execute swaps on Uniswap, perform deposits on Aave, or perform any arbitrary action with any other DeFi protocol. Bridges extend functionality into the DeFi Basket protocol and emit events that are used to display transactions in the DeFi Basket app.

How do bridges interact with the Portfolio NFT?

Wallets link with bridges to enable integrations with DeFi protocols
Bridges are always called directly from the Wallet linked to the Portfolio NFT. Bridges have the power to use all the available funds in that particular Portfolio NFT. So, it is extremely important only to interact with trusted bridges (see below).
See DeFi Basket architecture for a technical reference on how bridges interact with DeFi Basket.

What is a trusted bridge?

A trusted bridge is a bridge that was reviewed by the DeFi Basket team. Once the DeFi Basket protocol goes through an audit, trusted bridges will also be audited.
Trusted bridges are the only available bridges by default in the DeFi Basket app, which means that as long you as you don't add any custom bridges to your defibasket.org app you are safe from interacting with untrusted bridges.
Last modified 1mo ago