Custom SDK Integration
Last updated
Last updated
Everybody now has the capability of integrating their own DeFi protocol with the Singularity and offering their users the convenience and privacy that it brings. The integration is as simple as implementing a custom bridging contract that translates the requirements of calls within your DeFi protocol and the 'language/format' that Singularity speaks (via use of secret UTXO notes to track asset ownership).
As an example, we’ll guide you through the integration of a custom Uniswap-style DeFi contract that enables users to swap their ETH for WETH via a MockDex::swap()
call.