Skip to content

chore: remove unused ethers dependency and dead service code - #1332

Merged
RUKAYAT-CODER merged 1 commit into
mainfrom
chore/remove-unused-ethers
Sep 8, 2026
Merged

chore: remove unused ethers dependency and dead service code#1332
RUKAYAT-CODER merged 1 commit into
mainfrom
chore/remove-unused-ethers

Conversation

@RUKAYAT-CODER

Copy link
Copy Markdown
Contributor

Removes the unused ethers dependency and its dead service modules.

Why

ethersService and serviceAccount are not imported anywhere in the app — only their own tests referenced them. TeachLink settles on-chain actions through the backend and the Stellar/Soroban contract, so the EVM-oriented ethers library is unused. Removing it trims install size and reduces dependency-audit noise.

What changed

  • Deleted src/services/ethersService.ts, src/services/serviceAccount.ts, and their test files.
  • Dropped ethers from package.json and refreshed pnpm-lock.yaml (removes ethers and its exclusive transitive deps only).
  • Removed leftover ethers references in next.config.ts (optimizePackageImports entry and the webpack splitChunks cache group).

No application code imports the removed modules, so behavior is unchanged.

closes #1331

Nothing in the application imports ethersService or serviceAccount; the
ethers package was only referenced by its own tests. On-chain actions are
mediated by the backend and the Stellar/Soroban contract, so the EVM-oriented
ethers library is unused.

- Delete src/services/ethersService.ts and src/services/serviceAccount.ts
  and their test files.
- Drop the ethers dependency from package.json and refresh pnpm-lock.yaml.
- Remove leftover ethers references in next.config.ts (optimizePackageImports
  and the webpack splitChunks cache group).
@RUKAYAT-CODER
RUKAYAT-CODER merged commit 1e1853a into main Sep 8, 2026
6 checks passed
@RUKAYAT-CODER
RUKAYAT-CODER deleted the chore/remove-unused-ethers branch September 8, 2026 10:49
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.

Remove unused ethers dependency and dead service code

1 participant