guardian-shared 0.18.0

Shared types and utilities for Guardian
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
## GUARDIAN Shared Crate

This crate contains shared types and utilities for the GUARDIAN project.

### Features

- `auth`: Authentication utilities for Miden Falcon RPO-512
- `hex`: Hex utilities for converting between types and hex strings
- `auth_request_eip712`: EIP-712 digests for Guardian request and account lookup authentication
- `retry`: Transient-failure classification, jittered backoff, and the retry
  policy types shared by the Guardian server and the Miden SDK clients
- `account_delta`: Applying a Miden `AccountDelta` to an account, with or
  without an additional storage patch, and reconstructing an account from the
  delta that created it. A delta that carries account code creates an account
  only while the account is new (nonce zero); on an existing account it is a
  code upgrade. Shared so the server and the multisig client agree
  byte-for-byte on the resulting state commitment