-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add example localImplementationsConfig to root dir & update README.
- Loading branch information
Showing
2 changed files
with
39 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Rename this file to .localImplementationsConfig.cjs | ||
// you can specify a BASE_URL before running the tests such as: | ||
// BASE_URL=http://localhost:40443/zDdfsdfs npm test | ||
const baseUrl = process.env.BASE_URL || 'https://localhost:40443/id'; | ||
module.exports = [{ | ||
name: 'My Company', | ||
implementation: 'My Implementation Name', | ||
issuers: [{ | ||
id: 'did:myMethod:implementation:issuer:id', | ||
endpoint: `${baseUrl}/credentials/issue`, | ||
tags: ['eddsa-rdfc-2022', 'localhost'] | ||
}], | ||
verifiers: [{ | ||
id: 'did:myMethod:implementation:verifier:id', | ||
endpoint: `${baseUrl}/credentials/verify`, | ||
tags: ['eddsa-rdfc-2022', 'localhost'] | ||
}] | ||
}]; |