Skip to content
Closed
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
6415165
docs: merge environment setup guides into one development-environment…
oduameh Jul 16, 2026
d703a1a
docs: merge local network, providers, and deploy guides into local-to…
oduameh Jul 16, 2026
25a006e
docs: merge Compact JS implementation pair into work-with-compiled-co…
oduameh Jul 16, 2026
d8a01c7
docs: merge wallet connect guides into one framework-tabbed page
oduameh Jul 16, 2026
882f61e
docs: reframe kept guides for the journey ordering
oduameh Jul 16, 2026
20c1b9d
docs: retire the query-the-blockchain guide
oduameh Jul 16, 2026
99b5c8f
docs: add a journey landing page for the Guides section
oduameh Jul 16, 2026
7420073
docs: remove orphaned lace-wallet partial and fix dangling links
oduameh Jul 16, 2026
b9ead80
docs: redirect rules for the guides restructure
oduameh Jul 16, 2026
2a174a9
docs: retarget retired guide slugs in sdks pages and CI URL fixture
oduameh Jul 16, 2026
041e154
ci: ignore Docusaurus heading IDs in Vale MDX parsing
oduameh Jul 16, 2026
7d74a8b
docs: update four external URLs that now redirect
oduameh Jul 16, 2026
4ceef7a
docs: correct the Compact CLI install path
oduameh Jul 16, 2026
eddd2a7
docs: address Vale review comments and peer review suggestions
oduameh Jul 16, 2026
68d04c2
Merge branch 'main' into docs/guides-user-story-restructure
oduameh Jul 16, 2026
235e498
Merge branch 'main' into docs/guides-user-story-restructure
oduameh Jul 16, 2026
6d999a1
Merge branch 'main' into docs/guides-user-story-restructure
oduameh Jul 16, 2026
4e7c772
docs: stop hardcoding local network version pins
oduameh Jul 17, 2026
c153b90
Merge branch 'docs/guides-user-story-restructure' of https://github.c…
oduameh Jul 17, 2026
9ba445f
docs: restore the proof server guide as a standalone end-user page
oduameh Jul 17, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vale.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ IgnoredPaths = **/_*
# Markdown and MDX
[*.{md,mdx}]
BasedOnStyles = Midnight
TokenIgnores = (?s)<!--truncate-->, (?s)\{/\*.*?\*/\}
TokenIgnores = (?s)<!--truncate-->, (?s)\{/\*.*?\*/\}, (\{#[-\w]+\})
4 changes: 2 additions & 2 deletions docs/examples/_bboard/local-testing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ cleaned up automatically.
When you are ready to try out your DApp on the Midnight Testnet, be
sure you have not left it running and that your standalone Docker
configuration has exited. Then,
[start your proof server](../../guides/run-proof-server.mdx) again. When it is
[start your proof server](../../guides/development-environment.mdx#run-the-proof-server) again. When it is
ready, start the DApp with this command:

```shell
yarn testnet-remote
```

This time, you will need real tDUST, so either create a new wallet and
transfer some tDUST to it from your [Lace wallet](../../guides/lace-wallet.mdx),
transfer some tDUST to it from your [Lace wallet](/getting-started/installation),
or look back at the logs from your experiments with the counter DApp in part 2 to
find the seed for your headless wallet:

Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export circuit storeMessage(customMessage: Opaque<"string">): [] {

[Compact](../compact/) is Midnight's smart contract language used to define contract logic. It is similar to TypeScript but is designed for use with the Midnight runtime.

The `docker-compose.yml` file defines a local devnet, a Midnight node, indexer, and [proof server](../guides/run-proof-server) that runs in Docker. The proof server generates Zero Knowledge (ZK) proofs for smart contracts on the Midnight network. The devnet must be running before you can deploy or interact with the contract.
The `docker-compose.yml` file defines a local devnet, a Midnight node, indexer, and [proof server](../guides/development-environment#run-the-proof-server) that runs in Docker. The proof server generates Zero Knowledge (ZK) proofs for smart contracts on the Midnight network. The devnet must be running before you can deploy or interact with the contract.

## Set up the project

Expand Down
5 changes: 2 additions & 3 deletions docs/guides/_category_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ label: 'Guides'
collapsible: true # make the category collapsible
collapsed: true # keep the category closed by default
link:
type: generated-index
title: Guides
description: Step-by-step guides for building on Midnight Network.
type: doc
id: guides/index
98 changes: 0 additions & 98 deletions docs/guides/_lace-wallet.mdx

This file was deleted.

31 changes: 20 additions & 11 deletions docs/guides/acquire-tokens.mdx
Original file line number Diff line number Diff line change
@@ -1,31 +1,32 @@
---
SPDX-License-Identifier: Apache-2.0
copyright: This file is part of midnight-docs. Copyright (C) Midnight Foundation. Licensed under the Apache License, Version 2.0 (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
sidebar_label: "Get faucet tokens"
description: Learn how to acquire test tokens for the Midnight Network.
title: Fund your wallet
sidebar_label: "Fund your wallet"
description: Get tNIGHT from the faucet and delegate it to generate the tDUST that pays for transactions on the Midnight test networks.
toc_max_heading_level: 2
sidebar_position: 15
sidebar_position: 2
---

# Get faucet tokens
# Fund your wallet

In the production Midnight network, to run a DApp you need
With your [development environment set up](./development-environment), the next thing you need is tokens. In the production Midnight network, to run a DApp you need
to hold some DUST in a persistent wallet and spend some of it on each
transaction. However, a supply of free tDUST is
available for developers who want to experiment with Midnight DApps.

:::tip
If you are using the local undeployed network, then use the [local network faucet](./midnight-local-network#fund-wallets) to fund your wallet and generate tDUST.
If you are using the local undeployed network, then use the [local network faucet](./local-to-testnet#fund-wallets) to fund your wallet and generate tDUST.
:::

## Get tNIGHT
## Get tNIGHT {#get-tnight}

tNIGHT is the test token for the Midnight network. It is used to generate tDUST for testing purposes. Here are the steps to get tNIGHT:

1. Log in to your Lace Midnight wallet and copy your Unshielded wallet address.

:::note Bech32m address format
All wallet addresses are shown in Bech32m format by default. The faucet supports both formats, however the legacy (HEX) format will be dropped in future versions.
All wallet addresses are shown in Bech32m format by default. The faucet also accepts the legacy (HEX) format, but prefer Bech32m.
:::

2. Visit [Midnight Preprod faucet](https://midnight-tmnight-preprod.nethermind.dev/) and enter your Unshielded wallet address.
Expand All @@ -40,7 +41,7 @@ Transaction submitted. You will receive 1000 tNight, this should take about 2 mi

You should have received 1000.0 tNIGHT from the faucet. You can verify the balance in your wallet.

## Delegate tDUST
## Delegate tDUST {#delegate-tdust}

After you have received tNIGHT, you need to delegate it to generate tDUST. Here's how to do it if you are using the Lace wallet:

Expand All @@ -56,6 +57,10 @@ You should see your tDUST tank generating test tokens for your wallet.

![Confirm transaction](./img/dust-tank-generation.png)

:::tip
If your application creates wallets from code, you can also [generate DUST programmatically](./generating-dust-programmatically) with the Wallet SDK instead of using the Lace UI.
:::

## Troubleshooting

Below are some common issues you might encounter when using the faucet and how to resolve them.
Expand All @@ -68,6 +73,10 @@ Below are some common issues you might encounter when using the faucet and how t

### Rate limit exceeded

- **Error**: `{“status”:“rate_limit_error”,“message”:“Reached maximum number of requests for this address”}`
- **Error**: `{"status":"rate_limit_error","message":"Reached maximum number of requests for this address"}`

- **Solution**: Wait a few hours and try again. If the issue persists, then open a ticket at the [Midnight Service Desk](https://midnightntwrk.github.io/servicedesk/) or ask for help in the [Midnight Discord server](https://discord.com/invite/midnightnetwork).

## Next steps {#next-steps}

- **Solution**: Wait a few hours and try again. If the issue persists, then open a ticket at the [Midnight Service Desk](https://midnightntwrk.github.io/servicedesk/) or ask for help in the [Midnight Discord server](https://discord.gg/midnightnetwork).
With tNIGHT in your wallet and tDUST generating, you are ready to build and deploy: continue with [from local network to testnet](./local-to-testnet).
Loading
Loading