This commit implements every algorithm I have played with so far. It also allows for you to switch which algorithm you want to use at runtime.
20 lines
837 B
Markdown
20 lines
837 B
Markdown
# Impost
|
||
|
||
Impost /ˈimˌpōst/ _noun_ a tax or compulsory payment
|
||
|
||
Impost is a PoW anti-spam solution, or for short, a PoW captcha. Instead of
|
||
spying on your users and using heavy, bloated captchas, Impost uses PoW to
|
||
impose a cost on sending requests. To a single user, this is a negligable few
|
||
seconds, but at scale, it can be a significant deterrent to spam.
|
||
|
||
This is the impost monorepo, containing the following packages:
|
||
|
||
- `@impost/widget`: A web component that can be used to embed an Impost widget
|
||
in your website.
|
||
- `@impost/lib`: A library that can be used to generate, solve, and verify
|
||
proofs.
|
||
|
||
It also contains a `solver` package, which is the PoW solver written in Zig,
|
||
`@impost/lib` is built on top of, an example of how to use the solver in a
|
||
nuxt 3 project. More in-depth documentation will be added in the future.
|