Implementing a spec v1 use case (did:nuts)
Spec v1 use cases (e.g. eOverdracht) use did:nuts and the Nuts network (gRPC). Spec v2 use cases use did:web and Discovery Services: see Implementing a Nuts v2 Use Case.
Examples use eOverdracht, in eOverdracht boxes; see the eOverdracht leveranciersspecificatie. For other use cases, see their specification.
1. Set up your Nuts node
Follow the Nuts node v5.4 documentation (on Read the Docs):
- Running on Docker or natively
- Setting up your node for a network: TLS, bootstrap nodes, node DID
- Recommended deployment and production configuration
2. Implement the use case
- Set up DIDs and services: your vendor DID, a DID per care organization, endpoints
- Register, find and authorize care organizations: NutsOrganizationCredential, NutsAuthorizationCredential
- Authenticate users: login contracts, if the use case needs a user identity
- Request an access token: call another care organization's endpoint, and check incoming calls
API reference: Nuts node v5.4 API