An open API service indexing awesome lists of open source software.

https://github.com/5afe/safe-core-sdk-demo

Account Abstraction with Safe{Core} SDK
https://github.com/5afe/safe-core-sdk-demo

abstraction account ethereum safe typescript

Last synced: 6 months ago
JSON representation

Account Abstraction with Safe{Core} SDK

Awesome Lists containing this project

README

          

# Account Abstraction demo app

[The Safe{Core} SDK](https://github.com/safe-global/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](https://docs.safe.global/learn/safe-core-account-abstraction-sdk) for more details.

## Installation

To run this project locally:

Install deps:

```bash
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:

```bash
yarn start
```