Custom templates and interactive #56
-
I have imported a custom template to the SSI kit: Then when I go to issue this VC using the SSIKit and --interactive I was expecting to be prompted for the name and age but it simply creates the VC with the default values.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @rukshanfonseka A solution that might work is running the ssikit with the serve command, this will start a server locally and expose several endpoints on localhost. You can use the credentials/issue endpoint of the Signatory API hosted at http://127.0.0.1:7001/ and pass the credential with the desired values:
Check the Signatory-API documentation for more details. |
Beta Was this translation helpful? Give feedback.
Hi @rukshanfonseka
Interactive mode is intended for demo purposes only, thus it can be used only with the pre-built templates. In this case, you're using a custom template, so it won't work. You'll have to implement a data provider for that custom credential.
A solution that might work is running the ssikit with the serve command, this will start a server locally and expose several endpoints on localhost.
You can use the credentials/issue endpoint of the Signatory API hosted at http://127.0.0.1:7001/ and pass the credential with the desired values: