MCPcopy Index your code
hub / github.com/safe-global/safe-apps-sdk

github.com/safe-global/safe-apps-sdk @v1.0.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.2 ↗ · + Follow
49 symbols 79 edges 26 files 0 documented · 0% 4 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Safe Apps Developer Tools Monorepo

Logo Build Status

Developer tools to integrate third-party applications (Safe Apps) with Safe Multisig (https://gnosis-safe.io/app/).

You can find more resources on Safe Apps in the Gnosis Safe Developer Portal.

Packages

Package Description
cra-template-safe-app CRA template to quickly bootstrap a Safe app
safe-apps-react-sdk A wrapper of safe-apps-sdk with helpful hooks
safe-apps-sdk npm version JavaScript SDK

Setting up development environment

Installing dependencies


npm i -g lerna
yarn global add lerna

lerna bootstrap

Running commands

We will use build command as an example. Same applies to other commands.

For all packages:


lerna run build

For a specific package:


lerna run --scope @gnosis.pm/safe-apps-sdk build --stream

--stream options enables command output. By default, lerna displays it only in case of an error.

Useful links

Extension points exported contracts — how you extend this code

Communicator (Interface)
(no doc) [2 implementers]
packages/safe-apps-sdk/src/types.ts
Props (Interface)
(no doc)
packages/safe-apps-react-sdk/src/index.tsx
Transaction (Interface)
(no doc)
packages/safe-apps-sdk/src/types.ts
SendTransactionParams (Interface)
(no doc)
packages/safe-apps-sdk/src/types.ts
SendTransactionsArgs (Interface)
(no doc)
packages/safe-apps-sdk/src/types.ts
SdkInstance (Interface)
(no doc)
packages/safe-apps-sdk/src/types.ts

Core symbols most depended-on inside this repo

buildRequest
called by 9
packages/safe-apps-sdk/src/eth/index.ts
send
called by 4
packages/safe-apps-sdk/src/types.ts
fetchSafeInfo
called by 1
packages/safe-apps-react-sdk/src/index.tsx
useSafeAppsSDK
called by 1
packages/safe-apps-react-sdk/src/index.tsx
getSDKVersion
called by 1
packages/safe-apps-sdk/src/utils.ts
bootstrap
called by 1
packages/safe-apps-sdk/src/sdk.ts
getEnvInfo
called by 1
packages/safe-apps-sdk/src/sdk.ts
getSafeInfo
called by 1
packages/safe-apps-sdk/src/sdk.ts

Shape

Interface 18
Method 12
Class 10
Function 6
Enum 3

Languages

TypeScript100%

Modules by API surface

packages/safe-apps-sdk/src/types.ts21 symbols
packages/safe-apps-sdk/src/txs/index.ts6 symbols
packages/safe-apps-sdk/src/sdk.ts6 symbols
packages/safe-apps-sdk/src/eth/index.ts4 symbols
packages/safe-apps-react-sdk/src/index.tsx4 symbols
packages/safe-apps-sdk/src/communication/index.ts3 symbols
packages/safe-apps-sdk/src/communication/messageFormatter.ts2 symbols
packages/safe-apps-sdk/src/utils.ts1 symbols
packages/safe-apps-sdk/src/communication/utils.ts1 symbols
packages/cra-template-safe-app/template/src/App.tsx1 symbols

For agents

$ claude mcp add safe-apps-sdk \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page