Skip to main content
wallet_demo
Compass API is well suited for adding earn features to existing custody solutions. In the following example, we are adding an Earn feature to a hypothetical wallet provider. You can find the code on Github.

Key takeaways

  • For the end user, everything is fully abstracted away. They just sign on transactions, as always.
  • The end user can deposit and withdraw, without requiring gas tokens
  • We don’t require the user to sign token allowances
  • The wallet provider earns a small fee on every vault deposit.
  • Everything has been implemented fully using the Compass typescript SDK