Skip to content

[Request]: Storage Handling #1269

Open
Open
@drtwodog

Description

@drtwodog

Hello,
I hope you can help me.

Description

I create some UI examples based on your nodejs examples.
Here I want to first of all create a DID with a specific verification method

In different steps I want to use that method to create VCs. But I need to have the storage (..the private keys)
In your example you have the direct access to the storage and could you it directly.

Could you help me to understand how I access that storage to create VCs.
I tried to use
var keyStorage = storage.keyStorage();
var keyIdStorage = storage.keyIdStorage();

But when I try :
const storage: Storage = new Storage(keyStorage , keyIdStorage);

I gives me the error:
identity-wasm/node/identity_wasm.js:9339
const ret = getObject(arg0).getKeyId(MethodDigest.__wrap(arg1));
^
TypeError: getObject(...).getKeyId is not a function

I know that this is an Support question, but I hope you can help me out?

By the way, is it planned to include the identity framwaork somehow to the sdk?

Regards..

Metadata

Metadata

Assignees

No one assigned

    Labels

    RequestRequest a feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions