Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldboyd committed Dec 11, 2019
1 parent 1958104 commit 45af7d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -46,10 +46,11 @@ Here are 32 ascii characters, replace some characters to make it unique.
1. Click on your organization's Show Keys button.
1. Navigate to the [`POST /definitions/credentials/{SchemaId}`](https://app.swaggerhub.com/apis-docs/Streetcred/agency/v1#/Definitions/CreateCredentialDefinitionForSchemaId) endpoint
1. Click the lock button on the right hand side and authorize swaggerhub by pasting "bearer " + your access token in the access token field & your subscription key into its field
1. Add the subscription key and access token to the .env file in the respective fields.
1. Click the `Try it out` button to prepare the API call to write the credential definition to the ledger
1. In the .env file, find the ledger you're using and remove the `#` from before that SCHEMA_ID line.
1. Copy that schema ID into the `schema_id` field in swagger hub.
1. Click "execute" and after a couple seconds you will see "curl", "request URL", and "server response". Copy the `id` value from the "server response" section and add it to your .env file for the CRED_DEF_ID value
1. Click "execute" and after a couple seconds you will see "curl", "request URL", and "server response". Copy the `definitionId` value from the "server response" section and add it to your .env file for the CRED_DEF_ID value
1. If you get a 504 Gateway Timeout error, go to the [GET /definitions/credentials](https://app.swaggerhub.com/apis-docs/Streetcred/agency/v1#/Definitions/ListCredentialDefinitions) endpoint, click `try it out` and then `execute` to get your newly minted credential definition.

### Running the application
Expand Down

0 comments on commit 45af7d8

Please sign in to comment.