Coder Social home page Coder Social logo

hushkey's Introduction

Hushkey

ETHBoston 2019 Hackathon

A custody service enabling teams to efficiently share encryption and decryption ability without exposing secrets.

Based on the BIP44 hierarchy for BIP32 HD wallets.

Available coins in BIP44

Motivation:

Cryptocurrency application development teams need to be able to share the ability to sign encrypted messages. However, they do not need to share the encryption secrets themselves.

This could be used to allow trusted parties to spend from wallets without giving access to the wallet away.

Our goal was to build a siloed, custody microservice that could provide cryptographic signing ability to team members.

Future work

  • An inherent permission hierarchy in BIP44+ hierarchy, i.e. account-0 can sign for account-1/2/3/...'s keys but not vice versa
  • Sharded encryption of root secret
  • Address whitelisting
  • Transfer value limits

Demo applications:

Sign AZTEC-based private transactions. Eventually, integrate an AZTEC mixer to the Ethereum wallet forcing all transactions to be private.

How to start locally

Requirements

  • Enter secrets in a .env file, using the .env.sample as a template
  • MongoDB username and password

1) Start the server & database to store wallets and users

  • node index starts custody DB and user DB servers, edit ports in .env.

2) Start the client to view some accounts and sign demo transactions

  • Build

    • cd client && npm run build to build the client website from src/ into build/
  • Run

    • npm run start to run the client in dev mode or serve -s build to run the prebuilt client
    • edit server URL's to configure connection to custody DB and user DB servers

hushkey's People

Contributors

alexander-aj-berman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.