ACLChainConfig
Defined in: packages/core/src/acl-chain.ts:175
Configuration for an ACLChain.
Type Parameters
Section titled “Type Parameters”ChangesType
Section titled “ChangesType”ChangesType
PrivateKey
Section titled “PrivateKey”PrivateKey
PublicKey
Section titled “PublicKey”PublicKey
Properties
Section titled “Properties”auth:
AuthProvider<PrivateKey,PublicKey,unknown>
Defined in: packages/core/src/acl-chain.ts:181
Auth provider used for sign / verify operations on entries. The chain uses the same signing primitive as the rest of Peerborne so applications do not need to manage a second key.
genesisAuthorizedKeys
Section titled “genesisAuthorizedKeys”genesisAuthorizedKeys:
PublicKey[]
Defined in: packages/core/src/acl-chain.ts:204
Set of public keys authorized to author the genesis entry (i.e. the first change in the chain). Without a bootstrap root, every chain would be vacuously verifiable.
In practice this is the set of founding members for the document. After the genesis entry is applied, subsequent entries are authorized against the ACL state produced by the chain itself.
ops:
ACLChainOps<ChangesType,PublicKey>
Defined in: packages/core/src/acl-chain.ts:193
Adapter that knows how to apply ACL changes and check writer authority for a specific backend (Yjs, Automerge, etc.).
serializeKey
Section titled “serializeKey”serializeKey:
SerializePublicKey<PublicKey>
Defined in: packages/core/src/acl-chain.ts:187
Serializer that produces a canonical byte representation of a public key. The same key must always produce the same bytes.