Skip to content

5afe/safe-core-sdk-demo

Repository files navigation

Account Abstraction demo app

The Safe{Core} SDK allows builders to add account abstraction functionality into their apps. This demo is an example on how to use our different packages (Auth Kit, OnRamp Kit & Relay Kit).

See the Safe{Core} Account Abstraction SDK Docs for more details.

Installation

To run this project locally:

Install deps:

yarn install

Create a .env file (see example.env)

REACT_APP_STRIPE_BACKEND_BASE_URL=https://aa-stripe.safe.global
REACT_APP_STRIPE_PUBLIC_KEY=pk_test_51MZbmZKSn9ArdBimSyl5i8DqfcnlhyhJHD8bF2wKrGkpvNWyPvBAYtE211oHda0X3Ea1n4e9J9nh2JkpC7Sxm5a200Ug9ijfoO
REACT_APP_MONERIUM_CLIENT_ID={YOUR_MONERIUM_CLIENT_ID}
REACT_APP_MONERIUM_REDIRECT_URL={YOUR_MONERIUM_REDIRECT_URL}

Run the demo App:

yarn start