Skip to content

feat(frontend): implement pow protector ui #5891

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

DecentAgeCoder
Copy link
Collaborator

@DecentAgeCoder DecentAgeCoder commented Apr 16, 2025

Motivation

Adding a new Svelte component to manage Proof-of-Work (PoW) protection functionality.

Changes

  • Introduced a new PowProtector.svelte component in the frontend. Includes logic to initialize, start, and stop a PoW protection worker when POW_ENABLED is true

Tests

No specific tests are provided in this PR for the new component.

@DecentAgeCoder DecentAgeCoder marked this pull request as ready for review April 25, 2025 14:45
@DecentAgeCoder DecentAgeCoder requested a review from a team as a code owner April 25, 2025 14:45
@DecentAgeCoder DecentAgeCoder enabled auto-merge (squash) April 25, 2025 14:47
}
</script>

<slot />
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you do it in Svelte 5 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants