GithubHelp home page GithubHelp logo

otaliptus / safe-core-sdk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from safe-global/safe-core-sdk

0.0 0.0 0.0 5.07 MB

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

Home Page: https://safe-global.github.io/safe-core-sdk/

License: MIT License

Shell 0.03% JavaScript 0.22% TypeScript 85.81% CSS 0.02% HTML 0.09% Solidity 13.84%

safe-core-sdk's Introduction

license Coverage Status

Safe_Logos_Core_SDK_Black

Software developer tools that facilitate the interaction with the Safe contracts and services.

Guides

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

Packages

Package Release Description
api-kit NPM Version Safe Transaction Service API client library
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
protocol-kit NPM Version TypeScript library that facilitates the interaction with the Safe contracts
relay-kit ​​​NPM Version Library to abstract transaction fees payment (gas fees), allowing the use of native tokens or ERC-20​​
safe-core-sdk-types NPM Version Common types extracted from the Safe Core SDK packages

Playground

This project includes a playground with a few scripts that can be used as a starting point to use the Safe Core SDK. These scripts do not cover all the functionality exposed by the SDK, but each of them present steps of the Safe transaction flow.

Update the config inside the scripts and execute the following commands to run each step:

Step 1: Deploy a Safe

yarn play deploy-safe

Step 2: Propose a transaction

yarn play propose-transaction

Step 3: Confirm a transaction

yarn play confirm-transaction

Step 4: Execute a transaction

To execute a transaction:

yarn play execute-transaction

To execute a transaction using a relay:

yarn play relay-paid-transaction

To execute a sponsored transaction using a relay:

yarn play relay-sponsored-transaction

Optional Step: Generate a custon Safe address

yarn play generate-safe-address

safe-core-sdk's People

Contributors

germartinez avatar rmeissner avatar dasanra avatar yagopv avatar usame-algan avatar dependabot[bot] avatar iamacook avatar danisomoza avatar mmv08 avatar katspaugh avatar vigan-abd avatar rellfy avatar kyosyun avatar de33 avatar cmdzro avatar rudolfs avatar sirvar avatar raymondfeng avatar octavioamu avatar schmanu avatar jfschwarz avatar prestwich avatar ioloie avatar itinance avatar datradito avatar auryn-macmillan avatar antomor avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.