Coder Social home page Coder Social logo

alienc0der / frosted Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 336 KB

Flutter demo application that integrates FROST library.

License: MIT License

Kotlin 0.06% Dart 54.15% Ruby 3.30% Swift 0.86% Objective-C 0.02% CMake 12.52% C++ 11.49% C 0.78% Rust 12.33% Shell 2.00% PowerShell 0.35% Batchfile 1.22% HTML 0.92%
blockchain frost mpc schnorr tss wallet

frosted's Introduction

FROSTED

Overview

This repository contains a Flutter application that integrates a Rust-based implementation of the FROST (Flexible Round-Optimized Schnorr Threshold) by the Zcash Foundation. It showcases an interactive demo, primarily focused on building cryptocurrency seedless wallets using threshold signatures, enhancing security and flexibility for cryptographic operations.

Key Features

  • FROST support: utilizes the FROST library written in Rust, providing robust and secure threshold signature functionality.

  • Ed25519 ciphersuite support.

  • Trusted Dealer Keygen setup: implements the trusted dealer setup, assuming local communication between participants. This setup is ideal for scenarios where secure, local key distribution is possible, such as in seedless wallets.

  • flutter_rust_bridge integration: leverages the flutter_rust_bridge for seamless and efficient communication between Dart and Rust, ensuring smooth operation and integration.

Frosted demo app

Check the releases page for the Windows and MacOS applications.

Getting Started

Prerequisites

  • Flutter SDK
  • Rust and Cargo
  • An understanding of threshold cryptography
  • flutter_rust_bridge setup

Installation

Clone the repository:

git clone https://github.com/alienc0der/frosted

Navigate to the project directory:

cd frosted

Generate the Dart bindings:

flutter_rust_bridge_codegen generate --watch

Run the Flutter application:

flutter run

Usage

The application demonstrates a seedless wallet scenario:

  1. Generate key shards using the Generate Keys button. In a real scenario, the developer must ensure the security of the key shards.
  2. Select which key shards will be used for signing.
  3. Sign a message and verify the signature. The signature is encoded in base64. It is verified using both a Rust and a Dart based implementation.

Key shards security โš 

A secure management of key shards is not implemented. The developer must ensure that all key shards are encrypted and securely stored, and be fully protected against unauthorized access or malicious actors.

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests.

License

This project is licensed under MIT License - see the LICENSE file for details.

Acknowledgments

Thanks to the Zcash Foundation for the FROST library. Gratitude to the flutter_rust_bridge team for their excellent tool.

frosted's People

Contributors

alienc0der avatar

Stargazers

 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.