powerhouse-inc / powerhouse

https://powerhouse-design-system-six.vercel.app
0 stars 0 forks source link

Create an in-memory cache of the renown/ceramic credentials in switchboard. #208

Open CallmeT-ty opened 3 months ago

CallmeT-ty commented 3 months ago

Api call to renown to check if the user is active on renown. Currently we're doing an extra roundtrip once an add_operation comes in. Ideally all of the credentials are cached. Potentially the ceramic node is enough as a cache. Would still require a webrequest. We'd want to make an in-memory check of the credentials. We subscribe the cache to ceramic and listen to updates.

Ideally this cache is available through the documetn drive package for connect & switchboard. (Renown KYC service, there is an existing method. ) (Ceramic also has an endpoint to subscribed to )

This feature can't be merged to arbitrum.

CallmeT-ty commented 2 months ago

Move this functionality to document drive so it can be used by connect & switchboard

CallmeT-ty commented 1 month ago

@froid1911 will create a package (Renown SDK) in the mono repo with the Renown / Ceramic stuff. This package can be used in the document drive to verify credentials & credentials.