Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manta Core Libraries API Redesign #13

Merged
merged 276 commits into from
Mar 2, 2022
Merged

Manta Core Libraries API Redesign #13

merged 276 commits into from
Mar 2, 2022

Conversation

bhgomes
Copy link
Contributor

@bhgomes bhgomes commented Nov 10, 2021

Goals

  1. Combine the existing Manta Rust libraries into one project.
  2. Implement the current specifications with no extra implementation details or dependencies (i.e. try to stick to only the business logic, so for example, there should be no substrate/ethereum dependencies, those should be entirely part of pallet-manta-pay, pallet-manta-swap, Manta-ERC20, ... etc.).
  3. Improve developer experience including full utilization of GitHub project management tools, automated workflows, and increased repo security. See the Projects tab for more on this effort which will extend beyond this particular PR.

Structure

The new project replaces the existing Manta Rust libraries with library crates in a shared workspace:

  • manta-util: some Rust utilities
  • manta-crypto: abstract cryptographic primitive definitions
  • manta-accounting: accounting primitives, including address system, transfer protocol, and abstract wallet implementation
  • manta-pay: concrete implementation of the MantaPay spec using manta-crypto and manta-accounting primitives

@bhgomes bhgomes marked this pull request as ready for review February 27, 2022 20:02
manta-accounting/src/fs/mod.rs Show resolved Hide resolved
manta-accounting/src/fs/serde.rs Show resolved Hide resolved
manta-accounting/README.md Show resolved Hide resolved
manta-accounting/src/asset.rs Show resolved Hide resolved
manta-accounting/src/key.rs Show resolved Hide resolved
manta-pay/src/config.rs Outdated Show resolved Hide resolved
manta-accounting/src/transfer/mod.rs Show resolved Hide resolved
manta-accounting/src/transfer/mod.rs Show resolved Hide resolved
manta-accounting/src/transfer/mod.rs Show resolved Hide resolved
@Manta-Network Manta-Network deleted a comment from stechu Mar 1, 2022
@stechu stechu merged commit 9dd8695 into main Mar 2, 2022
@stechu stechu deleted the setup-manta-rs branch March 2, 2022 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants