Publishing and sharing
Each form gets its own contract on Midnight. Then share a link, a QR code, or put it on your site.
Publish
Publish sits at the top right of every tab (and, before the first publish, on Overview's Publish card). It first lists anything to fix under Fix these first, and won't publish until those are done. Overview's Before you publish shows the same list, and under Questions a dot marks each block that has a problem. The first time, the dialog also asks which network the form lives on:
| Network | What it is |
|---|---|
| Preview | Midnight's public network for new apps. The default. |
| Preprod | Midnight's last stop before mainnet. |
A form stays on the network it's first published to. A network that's still connecting on the server shows as such and can't be picked yet.
Then Mitome deploys your form's own contract on that network and the dialog ticks off each step as it happens:
- 01
Preparing your form's contract
Your checks, times, workspace key and your own encryption key go into it
- 02
Proving it on Mitome's server
- 03
Paying the network fee (on us)
- 04
Sending it to Midnight
- 05
Waiting for the next block
- 06
Live on Midnight
contract address

When it's live, the dialog shows the contract address with a link to it on Midnight Explorer, and the form's status reads, for example, Live · Preview. Overview's On Midnight card keeps the address, the entries recorded and View on the explorer.
You can close the page while it publishes; it carries on. The contract holds the form's rules, its open and close times, your workspace's key and the encryption keys answers are sealed to, all public. It starts with yours; your teammates' are added with Update access under Settings → Team. Answers never go into it: only a receipt for each.

After the first publish, the button reads Publish changes (Publish in a narrower window). It puts new wording, questions, design or logic live at once, as a new version. Changing checks or open and close times, or adding, removing or resizing a draw, needs a new contract, which is allowed only until the first answer arrives. The new contract has a new address, and starts again with only your encryption key, so run Update access again for your team. After the first answer, Duplicate the form from the ⋯ menu in the forms list instead.
Share

| Where | What |
|---|---|
| Link | /f/<link>: 8 random characters, or your own with Change the link (the old one keeps working). Anyone with it can answer, on any device; nobody needs an account or a wallet. |
| QR code | For posters, slides and events. Download PNG saves a 1024 px image. |
| Embed | Inline, Popup (the default), Slider or Full page, each with a copyable snippet. Answers are still sealed in the person's browser. Embed SDK. |
| On Midnight | The network (with Open in explorer), the form's contract address and its rules hash, so anyone can check the form's rules and count its answers on chain. |
Pause and close
On the Settings tab, Pause answers stops new answers until you Resume answers; Close for good stops them forever. Each is an action you sign in your browser; Mitome relays it to the contract, which then refuses answers on chain. People see "This form is paused", or "This form is closed" with your message.
Archive
The ⋯ menu in the forms list archives a form. An archived form keeps its answers, but its link stops working until you Restore it from the Archived view.