# Minokawa compiler for Rust

**URL:** <https://forum.midnight.network/t/minokawa-compiler-for-rust/552>\
**Category:** Technical Questions\
**Tags:** compact\
**Created:** [October 21, 2025, 11:06pm UTC](https://forum.midnight.network/t/minokawa-compiler-for-rust/552 "2025-10-21T23:06:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bochaco](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.midnight.network/bochaco/32/112_2.png) [@bochaco](https://forum.midnight.network/u/bochaco)\
**Post date:** [October 21, 2025, 11:06pm UTC](https://forum.midnight.network/t/minokawa-compiler-for-rust/552/1 "2025-10-21T23:06:20Z")

</div>

I’m trying to come up with some basic flow using Rust libraries/API directly, and from what so far I’m able to understand, I’d need the source code of Minokawa so it can compile the contract code into Rust, to then be able to use the [midnight-ledger](https://github.com/midnightntwrk/midnight-ledger) crates like `onchain-runtime` and `onchain-state`.  
Is this correct?

Is it possible to download the Minokawa compiler for Rust from somewhere, or I’ll have to wait till it’s open sourced ?

---

<div class="post-metadata">

**Author:** ![IslandghostSteph](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.midnight.network/islandghoststeph/32/143_2.png) [@IslandghostSteph](https://forum.midnight.network/u/IslandghostSteph)\
**Post date:** [October 22, 2025, 10:12am UTC](https://forum.midnight.network/t/minokawa-compiler-for-rust/552/2 "2025-10-22T10:12:35Z")

</div>

Hey there.. Have you explored the [Installation set up.](https://docs.midnight.network/getting-started/installation) ? I would make sure you have compact compiler installed and follow the docs in the doc.midnight section.. I am pretty sure it’s in there, if not, reach out to the [Community Hub](https://github.com/midnightntwrk/community-hub)

and request there.. I know I have seen something somewhere..

---

<div class="post-metadata">

**Author:** ![bochaco](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.midnight.network/bochaco/32/112_2.png) [@bochaco](https://forum.midnight.network/u/bochaco)\
**Post date:** [October 22, 2025, 2:32pm UTC](https://forum.midnight.network/t/minokawa-compiler-for-rust/552/3 "2025-10-22T14:32:53Z")

</div>

The instructions available AFAIK are for compiling into Js/TS code.

---

<div class="post-metadata">

**Author:** ![bochaco](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.midnight.network/bochaco/32/112_2.png) [@bochaco](https://forum.midnight.network/u/bochaco)\
**Post date:** [October 22, 2025, 4:33pm UTC](https://forum.midnight.network/t/minokawa-compiler-for-rust/552/4 "2025-10-22T16:33:31Z")

</div>

I got confirmation this is yet not available ([https://www.youtube.com/watch?v=AT2eO\_8yDz8](https://www.youtube.com/watch?v=AT2eO_8yDz8)).
