Skip to content

Add did:bid (Xinghuo BIF) support to the TypeScript SDK - #70

Open
caict-develop-zhangbo wants to merge 1 commit into
agent-network-protocol:masterfrom
caict-develop-zhangbo:master
Open

caict-develop-zhangbo wants to merge 1 commit into
agent-network-protocol:masterfrom
caict-develop-zhangbo:master

Conversation

@caict-develop-zhangbo

Copy link
Copy Markdown
  • Resolve did:bid documents via the BID parser service and map them to the SDK DID document shape (Ed25519 publicKeyHex -> publicKeyMultibase).
  • Sign legacy DIDWba headers and HTTP Message Signatures with a pre-provisioned did:bid ED25519 identity.
  • Route did:bid through the shared resolver; accept did:bid Bearer subjects in DidWbaVerifier.
  • ED25519 only and read-only (no chain writes). The BID SDK is loaded lazily so the main entry stays dependency-free.
  • Add docs (docs/did-bid.md), an example, and opt-in live tests (parser + signing).

Verification: typecheck, build, and unit tests pass; live parser resolution and bidirectional Ed25519 signature interop verified against a real identity. Two pre-existing Windows-only im-client mode assertions remain failing (unrelated).

- Resolve did:bid documents via the BID parser service and map them to the SDK
  DID document shape (Ed25519 publicKeyHex -> publicKeyMultibase).
- Sign legacy DIDWba headers and HTTP Message Signatures with a pre-provisioned
  did:bid ED25519 identity.
- Route did:bid through the shared resolver; accept did:bid Bearer subjects in
  DidWbaVerifier.
- ED25519 only and read-only (no chain writes). The BID SDK is loaded lazily so
  the main entry stays dependency-free.
- Add docs (docs/did-bid.md), an example, and opt-in live tests (parser + signing).

Verification: typecheck, build, and unit tests pass; live parser resolution and
bidirectional Ed25519 signature interop verified against a real identity. Two
pre-existing Windows-only im-client mode assertions remain failing (unrelated).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant