Create a new IPFS KV store with default settings.
Port of IpfsKv::new() from ipfs/kv.rs lines 73-81.
IPFS RPC endpoint (e.g., "http://127.0.0.1:5001")
Set the maximum envelope size (default: 10 MB).
Port of IpfsKv::with_max_size() from ipfs/kv.rs lines 84-87.
Set the IPNS resolve timeout (default: 30 seconds).
Port of IpfsKv::with_resolve_timeout() from ipfs/kv.rs lines 90-93.
Timeout in milliseconds
Set whether to pin content (default: false).
Port of IpfsKv::with_pin_content() from ipfs/kv.rs lines 96-99.
Store an envelope at the given ARID.
Port of KvStore::put() implementation from ipfs/kv.rs lines 289-367.
OptionalttlSeconds: numberOptionalverbose: booleanRetrieve an envelope for the given ARID.
Port of KvStore::get() implementation from ipfs/kv.rs lines 370-450.
OptionaltimeoutSeconds: numberOptionalverbose: booleanCheck if an envelope exists at the given ARID.
Port of KvStore::exists() implementation from ipfs/kv.rs lines 453-481.
IPFS-backed key-value store using IPNS for ARID-based addressing.
This implementation uses:
Port of
struct IpfsKvfrom ipfs/kv.rs lines 54-60.Requirements
Requires a running Kubo daemon (or compatible IPFS node) with RPC API available at the configured endpoint (default: http://127.0.0.1:5001).
Example