Docs / On-chain builds
On-chain builds
Compiling Motoko on the Internet Computer, with no build machine anywhere.
| Page | Question it answers |
|---|---|
| Building on-chain | What does it mean to compile Motoko on-chain, and why would I want to? |
| Your first on-chain build | How do I submit a build, watch it, and get the artifact? |
| How a build runs | Why does a build take minutes, and what is happening in each step? |
| Sources and packages | How do sources get to the canister, and how do I upload nothing at all? |
| What a build costs | How is a build priced, paid for, and refunded? |
| Linking and installing | Why is the artifact unlinked, and what do I do with it? |
If you only read one page, read Building on-chain.