Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/compolabs/miden-research
https://github.com/compolabs/miden-research
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/compolabs/miden-research
- Owner: compolabs
- Created: 2024-04-17T21:40:31.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-05-23T02:12:39.000Z (9 months ago)
- Last Synced: 2024-05-23T02:15:52.670Z (9 months ago)
- Language: Rust
- Size: 323 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Miden Research
This repository is dedicated to exploring, experimenting, and learning more about how to use Miden and Miden Assembly.
Disclaimer: Currently this repository is in progress of being updated from Miden v0.3 to v0.4. Not all tests are currently working.
### Running Tests:
Simple AMM test:
```
cargo test --package miden-research --test mock_integration -- amm_swap_test::test_swap_asset_amm --exact --show-output
```Square root test:
```
cargo test --package miden-research --test math -- sqrt_test::test_sqrt_masm --exact --show-output
```Testnet client integration tests:
```
# This will ensure we start from a clean node and client
cargo make reset
# This command will clone the node's repo and generate the accounts and genesis files and lastly start the node
cargo make node
# This command will run the node on background
cargo make start-node
# This will run the integration test
cargo make integration-test
```Before pushing run:
```
cargo test --test mock_integration
```