Skip to content

cowprotocol/safe-app-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐷 Your Safe App

This repository contains some boilerplate code to get you started with building a Safe App with built-in swap support.

Read the related tutorial on how to do your own CoW Powered Safe Dapp:

The example app embeds the CoW Swap widget in a Safe App, and allows to change some of the configuration, such as the partner fee, token lists, or theming.

It also show how to handle events happening inside CoW Swap, like the notification on a new trade.

Swap

Limit Orders

Demo

  1. Go to https://app.safe.global.
  2. Then navigate to: Apps > My Custom Dapps.
  3. Click on Add custom Safe App
  4. Enter the URL of the Safe App: https://safe.widget.cow.fi

Getting Started

Install dependencies and start a local dev server.

yarn install
cp .env.sample .env
yarn start

Read the tutorial for more information https://docs.cow.fi/cow-protocol/tutorials/swap-in-safe-app

Related

About

Build your CoW powered Safe App!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •