You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(user) — user-facing content: guides, tutorials, concept explanations, etc.
docs(api) — interfaces: contracts, SDKs, plugin APIs, etc.
docs(code) — code examples, templates, scripts, tests, etc.
docs(misc) — structure, navigation, styling, feedback, housekeeping, etc.
Context / Background
It's not clearly mentioned how to perform decryption in a web application that is not running inside the HardhatRuntimeEnvironment.
The only workaround i've found for now is to spawn a webserver that internally uses CLI commands to run hardhat tasks that run the encryption/decryption, and return the stdout to the webserver, which returns it to the calling website.
Category
Context / Background
It's not clearly mentioned how to perform decryption in a web application that is not running inside the HardhatRuntimeEnvironment.
The only workaround i've found for now is to spawn a webserver that internally uses CLI commands to run hardhat tasks that run the encryption/decryption, and return the stdout to the webserver, which returns it to the calling website.