Skip to content

Commit 1c64b12

Browse files
committed
readme
Signed-off-by: Samuel Hellawell <sshellawell@gmail.com>
1 parent de01b8a commit 1c64b12

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
API_KEY=yourapikey.here
22
ISSUER_DID=registeradidanduseit
33
RECIPIENT_DID=walletholderrecipient
4-
API_URL=https://api-testnet.dock.io
4+
API_URL=https://api-testnet.dock.io

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Dock API sample apps & scripts
2+
3+
## Setup
4+
5+
Create a `.env` file with the following values:
6+
```
7+
API_KEY=<INSERT YOUR KEY HERE>
8+
ISSUER_DID=did:dock:myissuerdid
9+
RECIPIENT_DID=did:key:walletholderrecipient
10+
API_URL=https://api-testnet.dock.io
11+
```
12+
13+
For some examples you may need to register an issuer DID, [view the documentation](https://docs.api.dock.io/#create-did).
14+
15+
`RECIPIENT_DID` typically will be a DID from a wallet application

0 commit comments

Comments
 (0)