Please describe your proposed solution
This solution introduces an API that lets users leverage shared collateral when building smart contract transactions, eliminating the need to provide a collateral UTxO. Users submit a transaction, and the API returns a valid witness. The API works on any network without requiring a full Cardano node. This approach enhances privacy and simplifies participation in smart contracts, particularly for users concerned about exposing their funds or personal information.
The proposed solution involves users submitting a transaction body (in CBOR format) through an HTTP POST request to a /collateral endpoint. The API then returns a transaction witness for transactions including the collateral UTxO and collateral owner, thereby avoiding users needing to provide their collateral.
This API is designed to be versatile. It works on both the Cardano mainnet and testnets without requiring the host to run a full Cardano node. Instead, it relies on third-party data providers for transaction simulations. Providers hosting this service can configure which networks they want to support and whether the API is available over Clearnet and/or Tor, giving them full control over the service.
The solution provides a more accessible and private method for users to participate in Cardano smart contracts without compromising their funds or privacy. It benefits new users or those concerned about revealing implicit ownership information via collateral tracing or multi-chain wallets seeking to increase interoperability. Using shared collateral allows for greater anonymity while ensuring smart contracts execute successfully, providing a secure environment for users.