Commit Graph

358 Commits

Author SHA1 Message Date
sripwoud
6f8d9bdc24 feat(ui): define ErrorContainer component 2024-03-06 13:40:04 +01:00
sripwoud
36cdeea553 test(cli): add unit tests for akli 2024-03-04 14:14:11 +01:00
sripwoud
59016371bc refactor: rewrite CLI with Rust (#378)
* Scaffold akli cli built with clap

* chore: delete remaining *.json files from node CLI

* feat: implement (sub)commands signatures

query, prove, verify...
address, min, id, choice args

* feat(cli): fetch eth balance anonset

* pretty print

* refactor

* refactor: define generic get_anonset function

* feat: query erc20 anonset with CLI

* feat(cli): fetch cryptopunks anonset

* feat(cli): fetch beacon and punks anonset

* feat(cli): fetch nft anon set

* feat(cli): fetch ens dao anonset
2024-03-01 16:15:22 +01:00
sripwoud
332d27fc5f feat: change warning closing button text in 'OK' 2024-02-15 13:27:26 +01:00
sripwoud
2c8e89b2c3 feat: display time log only in development 2024-02-15 13:27:15 +01:00
sripwoud
aca0710ba2 chore: bump pnpm-lock.yaml 2024-02-13 18:10:34 +01:00
sripwoud
2078bce814 chore(ui): bump @anonklub/spartan-ecdsa-worker 2024-02-13 18:09:35 +01:00
sripwoud
78ce53c464 Version Packages (#376) @anonklub/spartan-ecdsa-worker@1.1.1 2024-02-13 18:06:03 +01:00
sripwoud
25bfc7bdfa chore: changeset 2024-02-13 17:59:35 +01:00
sripwoud
5ed6adf712 fix: add package.json files to path trigger of release workflow 2024-02-13 17:56:59 +01:00
github-actions[bot]
e4a73cb5a7 Version Packages (#375)
* Version Packages

* do not bump spartan worker

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: sripwoud <me@sripwoud.xyz>
2024-02-13 17:49:23 +01:00
sripwoud
0803dc2666 chore: format 2024-02-13 17:37:23 +01:00
sripwoud
d04e2954c7 chore:fix: trigger release worklfow only on .md files changes in .changeset 2024-02-13 17:37:14 +01:00
sripwoud
fd09423639 chore: changeset 2024-02-13 17:36:42 +01:00
sripwoud
6d84829aa5 chore: lint, shorten imports 2024-02-13 17:30:34 +01:00
i
45d6d65841 feat: build spartan-ecdsa-wasm pkg with --release profile option (#373) 2024-02-13 17:24:11 +01:00
sripwoud
746f6bf7a2 feat(ui): show <Loader /> during merkle proof generation (#371)
* feat: reset proof request on submit proof request screen first render

* feat: show Loader during merkle proof generation

* chore: lint
2024-02-12 15:39:44 +01:00
sripwoud
f8b17f0ef0 chore: bump next 2024-02-12 14:32:03 +01:00
sripwoud
3c87a10ab7 Update LICENSE from MIT to AGPLv3 (#369) 2024-02-11 17:24:24 +01:00
sripwoud
1a1a8d8de1 style: increase font weight & change bg color of buttons 2024-02-09 16:17:08 +01:00
sripwoud
cf11899113 feat: add chatbot (#367) (#368)
* feat: add chatbot

* format
2024-02-09 10:28:04 +01:00
sripwoud
c1aded9389 style: adjust buttons and modal colors & layout (#364)
* set primary button bg to black on hover

* center question header and reduce buttons horizontal spacing

* chore: remove log

* set proof result text color to grey

* adjust vertical alignment in prove result page

* remove focus color for buttons

* Revert "set primary button bg to black on hover"

This reverts commit 64bc91645b.

* adjust buttons colors, remove transition effect

* adjust modal style

* increase horizontal body margins

* feat: render help button next to connect button

* adjust margins and paddings

* adjust title of verify result page
2024-02-08 17:15:36 +01:00
sripwoud
3e366ab7c4 fix(ui): check against web worker initialization before having them "work" (#362)
* fix(ui): execute useAsync callback immediately by default (#361)

* fix(ui): execute useAsync callback immediately by default

* fix(ui): guard against multiple execution of useAsync callback

* chore: add TODOS

* chore:fix: remove execImmediately from hook deps

* chore: fix eslint error

* chore: remove TODO

* chore: fix eslint error

* fix: use `useAsync` from `react-use` instead of custom hook

* chore: fix eslint error

* refactor: use `useAsync` from `react-use` in `useVerifyProof` instead of custom hook

* chore: Add comments

* fix: check against web workers readiness

Not doing so can lead to race conditions where the worker function is attempted to be executed, but the worker itself has completed the `prepare` step yet

* refactor imports
2024-02-08 14:59:01 +01:00
i
16c3372961 feat: can verify proof client side (#347) 2024-02-08 11:06:26 +01:00
sripwoud
5b670b189a refactor: rename Start component to CheckMark 2024-02-08 09:38:53 +01:00
sripwoud
fbcba677bd refactor: rename CustomButton component to ConnectButton 2024-02-08 09:38:11 +01:00
sripwoud
ab4bad7b3f fix(ui): disable submit proof request button if warning not read yet (#359) 2024-02-08 09:07:42 +01:00
sripwoud
021ba45c02 feat(ui): remove message to sign input field (#357) 2024-02-08 09:02:29 +01:00
sripwoud
6e29ff2b62 feat(ui): display error boundary for segments that fetch data server side (#355)
`/beacon` and `/cryptopunks` are fetching data server side
2024-02-07 21:52:49 +01:00
i
8c2ba62ad7 feat: Add git precommit hook (#341)
* feat: adding git hooks

* fix: git precommit and prepush

* chore: lint issue

* fix: filter the staged changes before running pre-push

* chore: adding title in ui readme

* chore: typo in the pre-push script

* chore: revert pre-push hook

* fix: remove commit-msg linter as discussed
2024-02-07 16:40:27 +01:00
sripwoud
57b185fb79 fix(ui): remove usage of nes.css class names (#354) 2024-02-07 12:49:01 +01:00
sripwoud
53b73a5210 fix: define useAsync hook for async but non-fetching functions (#352) 2024-02-07 12:37:16 +01:00
sripwoud
dff05b2940 feat(query-api): cache query results (#351)
1 day TTL
2024-02-06 22:31:00 +01:00
sripwoud
2be9340ba0 feat(ui): validate amount input in eth query form (#350) 2024-02-06 22:02:53 +01:00
sripwoud
b9fcfa5d6b feat(ui): improve address validation in forms (#349) 2024-02-06 21:55:08 +01:00
sripwoud
ab5fbe4bdb Format 2024-02-02 23:05:24 +01:00
sripwoud
65cf0d8df1 Update README 2024-02-02 22:59:30 +01:00
sripwoud
4c0b9f0f2c chore: lint 2024-02-02 22:54:55 +01:00
sripwoud
1552b0494e fix CustomButton.tsx return type 2024-02-02 22:35:44 +01:00
sripwoud
fe3876dbdb fix styles and hydration error (#346)
* fix: use background image as png instead of svg

* fix: use background image as png instead of svg

* make logo size responsive

* fix web3 connect button hydration error

* revert colors

Avoid red on red / blue on blue

* feat: close help modal on click outside event

* update cancel button style
2024-02-02 22:28:52 +01:00
sripwoud
a9e488c772 feat: use millionjs (#345)
https://million.dev/
2024-02-02 17:31:02 +01:00
sripwoud
168362e88b feat: Update progress bar and scrollable container styles
format

remove nes.css dep

fix ScrollableJsonContainer.tsx style

update progress bar style

fix alignment in result screen

fix padding in warning modal
2024-02-02 17:20:27 +01:00
sripwoud
9d6b0bea9a fix warning button css class 2024-02-02 16:35:59 +01:00
sripwoud
bcad8c26b3 fix: add padding in Modal 2024-02-02 16:35:40 +01:00
sripwoud
602cf486b2 feat(ui): Update CSS (font, color palette, elements...) (#344)
* fix link to query/dao/ens

* update buttons styles

* update question box style

* update input elements style

* update footer

* align form fields

* move svg

* remove unecessary selected attributed of option element

Already controlled by select state value

* Update styles

* format

* replace star icon by check mark font awesome svg
2024-02-02 16:26:16 +01:00
sripwoud
4968a93440 feat: Add AnonKlub logo and improve background img 2024-02-02 09:36:29 +01:00
sripwoud
e69f82df27 feat(ui): update color palette and font (#340) 2024-02-01 23:19:25 +01:00
sripwoud
bc3022254c feat: add eth balance query screen (#338) 2024-02-01 21:50:56 +01:00
sripwoud
4dcd8473a3 feat: show addresses count in ScrollableJsonContainer.tsx (#335)
* Add rust to `.tool-versions`

* feat: show addresses count in `ScrollableJsonContainer.tsx`
2024-02-01 21:06:37 +01:00
github-actions[bot]
26cf281743 Version Packages (#334)
* Version Packages

* do not bump workers pkgs

* do not bump workers pkgs

* do not bump workers pkgs

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: sripwoud <me@sripwoud.xyz>
@anonklub/merkle-tree-wasm@1.1.2 @anonklub/spartan-ecdsa-wasm@1.0.2
2024-02-01 16:32:54 +01:00