OverviewRecipes

Social Payments and Defi

Below you will find two versions of a demo social payments and defi application called ChainMoney.

ChainMoney

Both versions of this application allow you to signup with email, send money to people by username, and earn yield on your balance. The first version below uses smart wallet react hooks and built-in auth components while the second uses Wallet APIs to do everything on the backend.

ChainMoney using AccountKit

This version of the ChainMoney demo app uses our react hooks and built-in auth components.

You can try our hosted demo below or head over to the github repository to see how it works in greater detail.

ChainMoney using Wallet APIs

This version of the ChainMoney demo app uses our wallet APIs on the backend.

As opposed to the above example, this application uses supabase auth though you can choose to replace this with any auth system of your choice!

In addition, this implementation requires the developer to maintain their own security model through the management of a private key (or alternatively, several private keys) that controls access to user accounts.