Skip to content

The Safe{Core} SDK allows builders to add account abstraction functionality into their apps.

License

Notifications You must be signed in to change notification settings

safe-global/safe-core-sdk

Repository files navigation

license Coverage Status

Safe_Logos_Core_SDK_Black

Table of contents

About

This is a mono-repository containing Javascript/Typescript software developer tools that facilitate the interaction with Safe Smart Accounts, Safe Transaction Service API, and enabling uses like ERC-4337 compatibility.

Documentation

If you want to develop using Safe Smart Accounts in a Javascript/Typescript app, we recommend that you visit our documentation site.

Packages

Package Release Description
protocol-kit npm Version TypeScript library that facilitates the interaction with Safe Smart Accounts. Can be used to create new Safe accounts, update the configuration of existing Safes, create and execute transactions, among other features.
api-kit npm Version Safe Transaction Service API typescript library. Allows to propose and share transactions with the other signers of a Safe, sending the signatures to the service to collect them, and getting information about a Safe, among other features.
relay-kit ​​​npm Version Typescript library that enables ERC-4337 with Safe and allows users to pay for the transaction fees from their Safe account balance using the blockchain native token or ERC-20 tokens, or to get their transactions sponsored.
safe-core-sdk-types npm Version Common types used in the Safe Core SDK packages.
auth-kit npm Version Typescript library to create an Ethereum address and authenticating a blockchain account using an email address, social media account, or traditional crypto wallets like Metamask.
onramp-kit npm Version Typescript library that allows users to buy cryptocurrencies using a credit card and other payment options.

Guides

Title Description
Integrating the Safe{Core} SDK This guide shows how to use the Protocol Kit and API Kit.

Need Help or Have Questions?

If you have any doubts, questions, or need assistance, feel free to reach out! Here you will find how to get support.

Contributing

If you are interested in contributing, please read the Contributing Guidelines before opening an issue or submitting a pull request.

Playground

This project includes a playground with a few scripts that can be used as a starting point to use the Safe{Core} SDK.

License

This library is released under MIT.