Skip to content

The Safe Core SDK facilitates the interaction with the Safe contracts and services

License

Notifications You must be signed in to change notification settings

weichain/safe-core-sdk

 
 

Repository files navigation

Safe Core SDK Monorepo

Logo

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 Safe Core SDK and Safe Service Client.

Packages

Package Release Description
safe-core-sdk NPM Version TypeScript library that facilitates the interaction with the Safe contracts
safe-core-sdk-types NPM Version Common types extracted from the Safe Core SDK packages
safe-core-sdk-utils NPM Version Utilities for the Safe Core SDK packages
safe-ethers-lib NPM Version Ethers.js utilities and Safe contracts types (typechain ethers-v5) used to initialize the Safe Core SDK
safe-web3-lib NPM Version Web3.js utilities and Safe contracts types (typechain web3-v1) used to initialize the Safe Core SDK
safe-service-client NPM Version Safe Transaction Service API client library
safe-ethers-adapters NPM Version Ethers adapter that facilitates the interaction with the Safe Services

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

yarn play execute-transaction

About

The Safe Core SDK facilitates the interaction with the Safe contracts and services

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 98.7%
  • Solidity 1.2%
  • Other 0.1%