Skip to content

safe-global/safe-apps-sdk

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Repository files navigation

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
safe-apps-ethers-provider An ethers.js provider to be used with ethers.js contract instances

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