encodeDelivery
encodeDelivery(
chain,grant):Uint8Array
Defined in: packages/keysmith/src/claims.ts:1190
A delivery: sent once to a new bearer, never to a provider. Carries the v2 grant that wraps the key.
The grant must name the chain’s final node, owner and group key; that the wrapped key matches the
link’s commitment is checked by openDelivery, which holds the private key to unwrap it.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
chain |
ClaimChain |
grant |
Grant |