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
- Host: GitHub
- URL: https://github.com/5afe/safe-core-sdk-demo
- Owner: 5afe
- License: gpl-3.0
- Created: 2023-02-01T10:34:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-07T23:23:14.000Z (over 1 year ago)
- Last Synced: 2025-03-27T16:48:49.564Z (7 months ago)
- Topics: abstraction, account, ethereum, safe, typescript
- Language: TypeScript
- Homepage: https://safe-account-abstraction-demo.netlify.app/
- Size: 3.1 MB
- Stars: 37
- Watchers: 10
- Forks: 27
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```