Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Latest commit

 

History

History
53 lines (36 loc) · 1.75 KB

README.md

File metadata and controls

53 lines (36 loc) · 1.75 KB

Cannon Safe App

This project is being deprecated in favor of https://github.com/usecannon/deploy

Getting Started

Install dependencies and start a local dev server.

yarn install
cp .env.sample .env
yarn start

Then:

  • If HTTPS is used (by default enabled)
  • Go to the Safe web interface
  • Create your test safe
  • Go to Apps -> Manage Apps -> Add Custom App
  • Paste your localhost URL, default is https://localhost:3000/
  • You should see Safe App Starter as a new app
  • Develop your app from there

Features

Safe App Starter combines recommendations described in the following repositories:

You can use the useSafe React hook to interact with the Safe Apps SDK

const safe = useSafe();
console.log(safe.info);

Safe React Components are also integrated and ready to use. See all components.

Dependencies

Included

Recommended