Replies: 1 comment 1 reply
-
|
Thanks for taking the time to write this! The docs are being reworked alongside some of the UX, so I'm sure this will be helpful. Some notes and answers on some of your points:
Do you mean that
This is one of the specific points that is getting refactored soon, but currently this actually is specified in the commands reference. It's also mentioned in the CLI help (
Yeah, I don't have a strong opinion here as I think it does help to have good defaults, but the file should probably be created to make it less confusing.
That sounds strange. It takes ~1 second to initialize a new client and create a wallet on an M3 in my experience. There is some extra work that is performed (it might retrieve the genesis block if you don't have it, etc.) but it shouldn't take that long. If you can provide more context (what version, how you installed it, if you did it on a fresh new client, etc.) we can continue investigating this.
Basically all of them. Metadata (
In Miden, fungible assets are identified by their faucet account ID and a specific amount. Read more about it here (and here for how notes and assets relate to the UTXO model).
Are you referring to the
Even though it's not precisely an error condition, I think we could do this, since there's probably not a lot of use-cases where you might want to do this other than experimenting or moving assets out of your account and into notes.
Where is the metadata mentioned? The link you pasted might not be the correct one. Again, the "Note discovery" doc article should help here. Also, not sure which
Yes, that error occurs when you are using a non-matching RPC version, or if you have data related to another chain - basically, if your store's genesis block commitment does not match the network's. Currently only one version of the API is deployed on Testnet ( |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I recently learned about Miden and like its long-term vision. Here are my early questions and suggestions:
If the current folder is non-empty, it would be better to fail with an error:
$ miden-client init --network testnet 2025-10-25T12:08:01.534834Z INFO miden_client_cli::commands::init: Template files successfully created in: "./templates" Config file successfully created at: /home/tim/dev/miden-client/miden-client.tomlOther CLI programs such as
cargo newbehave as follows:Clarify the documentation that
miden-client initcreates files in the current folder. One might assume it creates the client inXDG_DATA_HOMEorXDG_CONFIG_HOME.The configuration file references
token_symbol_map.toml, but this file is not created. This line could be omitted or commented out.Explain the
mutableaccount type here.miden-client new-wallet --mutabletook 24s on a MacBook Pro M2 (Asahi). After “Database migrated to version 1”, no feedback on the current action is provided.The expected outputs are missing here (search for:
You should see something like this:)I am getting an “Internal error” from the faucet
“the note's details will be public”
Which details of the note will be public? The recipient’s address, token amount, note tags etc.?
“Do this periodically to keep informed about any updates on the node by running the
synccommand”Clarify what data gets synced and which operations it is needed for, e.g. is syncing required for sending notes?
“Need a fresh start? All state is maintained in
store.sqlite3, located in the directory defined in themiden-client.tomlfile.”It would be helpful to point out the implications. Before removing the state, is it possible to export all local notes and the accounts’ private keys, and then reinitialise the database?
50::<faucet-account-id>Why does the faucet’s account ID need to be specified? Is a UTXO model already implemented?
Report an error if sender and target are equivalent:
“To avoid state bloat, however, the client does not need to see the whole blockchain history, just the chain history intervals that are relevant to the user.”
How is the chain history interval determined? Does this mean only the N most recent notes will be stored locally?
SyncNotesallows filtering by note tags. Is it possible to only sync notes involving an account?What are note tags? The documentation mentions metadata, which I would interpret as a key-value dictionary. In the miden-node code,
Vec<u32>is used. Are these u32 values predefined or can they be chosen arbitrarily?I am getting an error when syncing. Do I need to use a specific version with
rpc.testnet.miden.io? If the testnet is not backwards-compatible, this could be mentioned in the documentation.$ miden-client sync 2025-10-25T13:03:35.329007Z INFO miden_client::rpc::tonic_client: Calling GetBlockHeaderByNumber: BlockHeaderByNumberRequest { block_num: Some(0), include_mmr_proof: Some(false) } Error: cli::client_error × client error ├─▶ rpc api error ├─▶ accept header validation failed: server rejected request - please check your version and │ network settings ╰─▶ server rejected request - please check your version and network settingsI'd be happy to contribute fixes for some of these issues.
Beta Was this translation helpful? Give feedback.
All reactions