polkadot-runtime-template icon indicating copy to clipboard operation
polkadot-runtime-template copied to clipboard

🎁 [Feature Request]: Custom pallet to wrap XCM calls to external DeFi chains

Open 4meta5 opened this issue 1 year ago • 0 comments

DeFi template feature

Idea proposed by @DrW3RK during recent discussion as an alternative to natively configuring DeFi primitives into the DeFi template(s) (as an alternative to the work in #206 )

The pallet would wrap user requests to external DeFi chains by using extrinsic input args to construct XCM in the pallet prior to dispatch. The pallet may resemble and take inspiration from ORML/pallet-xcm-transactor which wraps generic XCM construction to facilitate usability for XCM users.

Chains to target for this feature:

  • AssetHub
  • HydraDX
  • Acala

4meta5 avatar Jun 17 '24 16:06 4meta5