Git Product home page Git Product logo

vkobel / dwallet-network Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dwallet-labs/dwallet-network

0.0 0.0 0.0 232.14 MB

dWallet Network, a composable modular signature network that is the home of dWallets. A dWallet is a noncollusive and massively decentralized signing mechanism, used as a building block by builders on other networks to add native multi-chain interoperability to any smart contract.

Home Page: https://docs.dwallet.io

License: Other

Shell 0.23% JavaScript 0.15% Python 0.60% Rust 71.34% TypeScript 9.55% CSS 0.04% HTML 0.02% PLpgSQL 0.05% Dockerfile 0.05% SCSS 0.09% Boogie 0.01% Move 17.39% MDX 0.50%

dwallet-network's Introduction

Logo

Welcome to dWallet Network

dWallet Network, a composable modular signature network is the home of dWallets. A dWallet is a noncollusive and massively decentralized signing mechanism, used as a building block by builders on other networks to add native multi-chain interoperability to any smart contract.

A live alpha version environment of the testnet released in this repo will be available soon, follow us on Discord or Twitter to stay up to date. To join the incentivized testnet, apply on our website.

Disclaimer: This project is under development, and there are known bugs and issues that are being addressed. Additionally, in the testnet, the network secret shares of dWallets ARE NOT SECURE, and cannot be trusted to use with any real applications or assets. Please read the full section below before exploring the code.

Unique Value of dWallets

The dWallet is an innovative Web3 building block that has the following attributes:

  • Noncollusive: The user is always required to generate a signature.
  • Massively decentralized: Beside the user, a 2/3 threshold of a network that can include hundreds or thousands of nodes, is also required to generate a signature.
  • Multi-Chain: Using the default authentication method of blockchains - the signature - dWallets can offer universal and native multi-chain interoperability, without the cross-chain risks of wrapping, bridging or messaging.
  • cryptographically secure: The security of dWallets is based on cryptography, instead of hardware or trust assumptions.

dWallets are the only way that exists today for Web3 builders to achieve secure, multi-chain interoperability, without the risks of cross-chain and without compromising on the core Web3 values of user ownership and decentralization. As dWallet Network moves closer to its Mainnet launch, it will add support to many L1s and L2s, so builders across Web3 can use it as a composable modular signature network, adding powerful access control capabilities to any smart contract.

Cryptography of dWallets - 2PC-MPC

dWallets utilize the 2PC-MPC protocol, a two-party ECDSA protocol we designed specifically for dWallets, where the second party is fully emulated by a network of n parties.

Besides its novel structure, enabling the noncollusivity of dWallets, and the autonomy and flexibility of a permissionless dWallet Network, the 2PC-MPC protocol also dramatically improves upon the state of the art, allowing the dWallet Network to be scalable & massively-decentralized.

The 2PC-MPC protocol achieves linear-scaling in communication - O(n) - and due to novel aggregation & amortization techniques, an amortized cost per-party that remains constant up to thousands of parties - practically O(1) in computation for the network, allowing it to scale and achieve decentralization, whilst being asymptotically O(1) for the user: meaning the size of the network doesn't have any impact on the user as its computation and communication is constant.

dWallet Network Overview

dWallet Network is a composable modular signature network, that was forked from Sui, and similarly to Sui it is maintained by a permissionless set of authorities that play a role similar to validators or miners in other blockchain systems. Changes that were made to Sui include disabling smart contracts, implementing 2PC-MPC, and using the communication in Sui's consensus for the MPC protocol between the nodes.

As a composable modular signature network, dWallets on the dWallet Network are controlled by smart contracts on other L1s and L2s. To allow a smart contract on a certain chain to control a dWallet, state proofs for that chain must be available on the dWallet Network in the form of light clients. An Ethereum light client will be the first one to be implemented (coming soon), followed by many more to be announced.

The dWallet Network has a native token called DWLT that is used (much like Sui) to pay for gas, and is also used as delegated stake on authorities within an epoch. The voting power of authorities within this epoch is a function of this delegated stake. Authorities are periodically reconfigured according to the stake delegated to them. In any epoch, the set of authorities is Byzantine fault tolerant. At the end of the epoch, fees collected through all transactions processed are distributed to authorities according to their contribution to the operation of the system. Authorities can in turn share some of the fees as rewards to users that delegated stakes to them.

Sui is backed by a number of state-of-the-art peer-reviewed works and years of open source development that we are building upon with the dWallet Network.

Alpha Testnet Release

This is currently the alpha release of the dWallet Network Testnet. We're excited to have you join us as we introduce the composable modular signature network, and its noncollusive massively decentralized dWallets. Before you dive into the code and start testing our technology, please take a moment to read this important disclaimer:

  1. Alpha Stage: This release is an alpha version and has been made available for testing and development purposes only. It represents the very early stages of development, and as such, it may contain bugs, errors, and inconsistencies.
  2. Not Audited: The codebase for the dWallet Network is currently being audited internally, and has not been audited by any third-party security firms. We prioritize the security of our network and your engagement; however, the current stage of the project has not undergone the rigorous security checks that will be standard for later releases.
  3. Expect Breaking Changes: As we continue to refine and improve the dWallet Network, there will be breaking changes. These changes may affect your projects and code in significant ways. We will do our best to communicate these changes as they occur, but please be prepared to adapt your work accordingly.
  4. No Reliability: Given the alpha nature of this release, the dWallet Network should not be considered reliable for production use. Developers and users should not rely on this version with real applications or assets.
  5. Participation at Your Own Risk: Your participation in testing, developing, and exploring the dWallet Network is entirely at your own risk. We encourage community feedback and contributions, but please be aware of the potential issues and instabilities that may arise.
  6. Community-Driven Exploration: This release is aimed at fostering a community of developers and enthusiasts who are excited about dWallet technology. We encourage you to experiment, play around with the technology, and share your insights and feedback with the community. We are particularly interested in identifying bugs, vulnerabilities, and areas for improvement. Please use the GitHub issues section to report any problems or suggestions you may have, but note that THERE WILL BE NO AIRDROP INCENTIVES ATTACHED TO SUBMITTING GITHUB ISSUES, so please avoid “issue farming”.

We are committed to improving the dWallet Network and moving towards a more stable and secure release with the help of our community. Thank you for being a part of this early stage of the dWallet Network. Your exploration and feedback are crucial to the network's development and success.

More About dWallet Network

Use the following links to learn more about the dWallet Network and its ecosystem:

Acknowledgement

As a fork of Sui, much of the dWallet Network's code base is heavily based on the code created by Mysten Labs, Inc. & Facebook, Inc. and its affiliates, including in this very file. We are grateful for the high quality and serious work that allowed us to build our dWallet technology upon this infrastructure.

dwallet-network's People

Contributors

lxfind avatar huitseeker avatar bmwill avatar dependabot[bot] avatar jordan-mysten avatar clay-mysten avatar pchrysochoidis avatar oxade avatar mystenmark avatar amnn avatar mwtian avatar longbowlu avatar patrickkuo avatar 666lcz avatar gegaowp avatar tnowacki avatar joyqvq avatar akichidis avatar sadhansood avatar ebmifa avatar andll avatar lavindir avatar sblackshear avatar jibz1 avatar plam-ml avatar emmazzz avatar randall-mysten avatar ronny-mysten avatar williamrobertson13 avatar awelc 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.