Skip to content

feat: replaced siwe to complete remove ethers - #149

Merged
anthony23991 merged 3 commits into
developfrom
feat/siwe-removal-ethers-free
Jul 3, 2026
Merged

anthony23991 merged 3 commits into
developfrom
feat/siwe-removal-ethers-free

Conversation

@anthony23991

Copy link
Copy Markdown
Contributor

No description provided.

@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
console Ready Ready Preview Jul 3, 2026 11:03am

Request Review

@justalab-agents justalab-agents Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This PR migrates the codebase away from ethers and siwe dependencies in favor of viem, removing both as peer/root dependencies and updating all documentation examples to use viem/accounts equivalents (privateKeyToAccount, generatePrivateKey) with the correct signMessage({ message }) call signature. The most significant functional change is in the SignIn feature, where the previous custom verificationFallback logic (including manual EIP-1271 and signature v-value normalization via viem) has been replaced with a direct call to siwens.verify(), assuming that library now handles all verification paths internally. Note that the lockfile was not updated alongside the package.json dependency changes.

✅ No blocking issues found by the automated review — this is not a substitute for human review.

@Ghadi8
Ghadi8 requested a review from AngeloAyranji July 2, 2026 13:51
@Ghadi8 Ghadi8 changed the title fix: replaced siwe to complete remove ethers feat: replaced siwe to complete remove ethers Jul 3, 2026
env:
COMMIT_MSG: ${{ github.event.head_commit.message }}
run: |
TITLE=$(printf '%s' "$COMMIT_MSG" | head -n1)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[WARNING] agentic/bug

The regex '^feat(\(.+\))?!?:' matches both feat: (new feature) and feat!: (breaking change) and maps both to minor. Per Conventional Commits, feat!: (or fix!: below) signals a breaking change and should bump major. The ! case needs to be tested separately before the non-breaking path.

Suggested fix:

Split the conditional so breaking changes are caught first:
```yaml
if printf '%s' "$TITLE" | grep -qE '^(feat|fix)(\(.+\))?!:'; then
  SPECIFIER=major
elif printf '%s' "$TITLE" | grep -qE '^feat(\(.+\))?:'; then
  SPECIFIER=minor
else
  SPECIFIER=patch
fi

<!-- justalab-agents:hash:cc8a6785b8bb -->

@anthony23991
anthony23991 merged commit 2498d63 into develop Jul 3, 2026
2 checks passed
@anthony23991
anthony23991 deleted the feat/siwe-removal-ethers-free branch July 3, 2026 11:39
anthony23991 added a commit that referenced this pull request Jul 3, 2026
* fix(console): removed dapps, removed ethers, and enhancements (#144)

* fix(console): deprecated dapps, removed ethers, and enhancements

* fix: yarn

* fix: ci build

* fix: removed fully mapps

* fix: yarn

* fix: vercel build

* fix: posthog enabled, enhanced events

* feat: replaced siwe to complete remove ethers (#149)

This branch was successfully deployed

1 active deployment
Preview 05dd39a1 Deployed Jul 3, 2026 by vercel[bot]
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.

3 participants