https://github.com/polymeshassociation/polymesh-dart
https://github.com/polymeshassociation/polymesh-dart
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/polymeshassociation/polymesh-dart
- Owner: PolymeshAssociation
- License: gpl-3.0
- Created: 2025-05-30T13:14:26.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-10-08T09:41:57.000Z (8 months ago)
- Last Synced: 2025-10-08T10:23:10.013Z (8 months ago)
- Language: Rust
- Size: 1.02 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Implementation of DART on Polymesh
[](https://www.gnu.org/licenses/gpl-3.0)
A Rust implementation of the DART (Decentralized, Anonymous and Regulation-Friendly Tokenization) protocol for Polymesh's Confidential Assets system.
## Overview
DART is a privacy-preserving protocol that allows for confidential asset transfers while still maintaining regulatory compliance. This library provides the cryptographic primitives and zero-knowledge proof systems that power the Polymesh confidential asset infrastructure.
For detailed information, please refer to the [P-DART paper](https://assets.polymesh.network/P-DART-v1.pdf).
Key features:
- Zero-knowledge proofs for asset transfers
- Confidential asset accumulator with curve tree storage
- Regulatory compliance mechanisms with auditors and mediators
- Fee payment systems for confidential transactions
## Architecture
The library is organized around several key components:
- **Account management**: Public and private keys for accounts and encryption
- **Curve Trees**: Efficient data structures for storing asset and account state commitments
- **Zero-knowledge proofs**: For asset transfers, minting, registration, and more
- **Settlement system**: For handling confidential asset transfers between parties
- **Fee payment**: Mechanisms for confidential fee payments
## Feature Flags
The library provides several feature flags:
- `std` - Use Rust standard library (default)
- `backend_bp` - Enable Bulletproofs backend
- `serde` - Enable serialization/deserialization with serde
- `sqlx` - Enable SQL database integration
- `parallel` - Enable parallel computation for improved performance
- `async_tree` - Enable asynchronous curve tree operations
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
## License
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.