Crates.io | miden-faucet |
lib.rs | miden-faucet |
version | 0.10.1 |
created_at | 2024-04-27 10:09:45.786294+00 |
updated_at | 2025-07-15 01:04:30.451944+00 |
description | Miden node token faucet |
homepage | https://miden.xyz |
repository | https://github.com/0xMiden/miden-node |
max_upload_size | |
id | 1222474 |
size | 391,818 |
This crate contains a binary for running a Miden rollup faucet.
make docker-build-node
make docker-run-node
make install-faucet
output-path
:miden-faucet create-faucet-account \
--output-path <path to faucet.mac> \
--token-symbol MIDEN \
--decimals 6 \
--max-supply 100000000000000000
[!TIP] This account will not be created on chain yet, creation on chain will happen on the first minting transaction.
-f
flag (if you want to use an account from the genesis, specify the path to the faucet.mac
file generated by the make-genesis command of the Miden node):miden-faucet init -f <path to faucet.mac>
miden-faucet start
After a few seconds you may go to http://localhost:8080
and see the faucet UI.
The faucet implements several security measures to prevent abuse:
Faucet maintains the last 1000 account states for potential rollbacks
Is used in case a desync is detected
This project is MIT licensed.