Skip to main content
For the complete documentation index, see llms.txt

Guides

Find the guide for the task in front of you, from choosing a network to deploying a smart contract. Start with one of the common tasks below, or pick a guide from the full list.

Common tasks​

All guides​

Set up your environment​

  • Networks and environments: choose a network, look up its endpoints, run a local network, and prepare for Mainnet.
  • Run the proof server: start the proof server from Docker Desktop, for wallet users rather than DApp builders.
  • Prove locally: run a local proof server or delegate proving to the wallet, see what a proof server receives, and learn why remote proving isn't recommended.
  • Windows Compact setup: set up WSL, Docker Desktop, the proof server, and the Compact compiler on Windows.
  • Set up Bun for Midnight development: install Bun and the Compact compiler, then compile a contract and use it from a Bun application.

Fund a wallet and pay fees​

  • Fund a wallet: get tNIGHT from the faucet and register it for DUST generation, in Lace or with the wallet SDK.
  • Manage DUST: read DUST balances, estimate a fee, send several transactions from one wallet, and resolve DUST errors.
  • Run a wallet in Node.js: build a wallet from a seed in a Node.js process, keep its state across restarts, and deploy from a script.
  • DUST sponsorship: pay DUST fees on behalf of your users.

Test, deploy, and secure a smart contract​

Connect a wallet to a frontend​

Index contract state and build across chains​