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.
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.
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 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.
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:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
Use the following links to learn more about the dWallet Network and its ecosystem:
- Learn more about working with dWallets in the dWallet Network Documentation.
- Find out more about the dWallet Network community on the community page and join the community on dWallet Network Discord.
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.