https://github.com/docknetwork/api-samples
Dock API sample apps
https://github.com/docknetwork/api-samples
Last synced: over 1 year ago
JSON representation
Dock API sample apps
- Host: GitHub
- URL: https://github.com/docknetwork/api-samples
- Owner: docknetwork
- Created: 2023-03-13T22:19:45.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-09-13T14:28:10.000Z (almost 2 years ago)
- Last Synced: 2024-09-14T05:24:35.705Z (almost 2 years ago)
- Language: JavaScript
- Size: 112 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dock API sample apps & scripts
## Setup
Create a `.env` file with the following values:
```
API_KEY=
ISSUER_DID=did:dock:myissuerdid
RECIPIENT_DID=did:key:walletholderrecipient
API_URL=https://api-testnet.dock.io
```
For some examples you may need to register an issuer DID, [view the documentation](https://docs.dock.io/developer-documentation/dock-api/dids).
`RECIPIENT_DID` typically will be a DID from a wallet application