Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Multimint
multimint
is a library for managing Fedimint Clients across multiple
federations.
The main struct is MultiMint
which holds a map of ClientHandleArc
s keyed
by FederationId
, and provides methods for managing and interacting with
the clients.
Multimint uses 1 top level directory for all its data, and creates subdirectories for each client. Each client's directory behaves like a standalone Fedimint client.
Example file tree with 2 clients
├── fm_data_dir
│ ├── 15db8cb4f1ec8e484d73b889372bec94812580f929e8148b7437d359af422cd3.db
│ ├── 412d2a9338ebeee5957382eb06eac07fa5235087b5a7d5d0a6e18c635394e9ed.db
│ ├── multimint.db
When you create a new MultiMint
instance you pass it a path to the top
level directory for all its data. If the directory does not exist it will be
created. If the directory already has data from a previous run, it will be
loaded.
Example:
use MultiMint;
use PathBuf;
async
The MultiMint
struct provides methods for adding, removing, and updating
clients, as well as getting information about the clients and their
balances.