moxzi
Docs / On-chain builds

On-chain builds

Compiling Motoko on the Internet Computer, with no build machine anywhere.

PageQuestion it answers
Building on-chainWhat does it mean to compile Motoko on-chain, and why would I want to?
Your first on-chain buildHow do I submit a build, watch it, and get the artifact?
How a build runsWhy does a build take minutes, and what is happening in each step?
Sources and packagesHow do sources get to the canister, and how do I upload nothing at all?
What a build costsHow is a build priced, paid for, and refunded?
Linking and installingWhy is the artifact unlinked, and what do I do with it?

If you only read one page, read Building on-chain.