Skip to content

Generate unlinked Safe signers using Stealth Addresses - DevCon 7 session

Notifications You must be signed in to change notification settings

fluidkey/dc7-stealth-address

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DC7 Stealth Address Generator

DevCon 7 Logo

Overview

The DC7 Stealth Address Generator is a demo project developed for the DevCon 7 Workshop: Better privacy defaults for your users with stealth addresses. This project demonstrates how to leverage stealth addresses to provide users with improved privacy in Web3 applications. Stealth addresses enhance privacy in blockchain transactions by allowing more private interactions, helping users maintain control over their personal information.

In this workshop, participants will implement stealth addresses to create private Safe signers and use them to control Safe transactions.

Workshop Description

During this workshop, we'll cover:

  • Practical use cases of stealth addresses for privacy.
  • Implementation of stealth addresses to generate private Safe signers from scratch.
  • Understanding the interplay between stealth addresses and different product types.

Getting Started

Prerequisites

  • Node.js and Yarn installed.
  • Familiarity with TypeScript and React is beneficial but not required.

Installation

  1. Clone this repository:

    git clone fluidkeyy/dc7-stealth-address
  2. Navigate to the project directory and install dependencies:

    cd dc7-stealth-address
    yarn install
  3. Start the development server:

    yarn start

Project Structure

This project is organized as follows, with all source code located in the /src directory:

  • context/MainContext.tsx: Provides global state management for accounts and WalletKit integration.
  • helper/stealthAddress.ts: Helper functions to generate stealth addresses.
  • provider/WalletKitProvider.tsx: Manages WalletConnect sessions and integrates WalletKit for session handling.
  • UI Components:
    • ui/pages/Dashboard.tsx: The main interface for managing stealth accounts.
    • ui/organisms/AccountList/AccountList.tsx: Displays a list of stealth accounts.

Commands

  • yarn start - Start the development server.
  • yarn build - Build the app for production.

Additional Resources

License

This project is for demonstration and educational purposes and is not intended for production use.

About

Generate unlinked Safe signers using Stealth Addresses - DevCon 7 session

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published