Add Ethereum Classic Mainnet Support and Rename Testnet to Mordor in StablePay SDK

Open
#18 16 comments 0 reactions 0 assignees View on GitHub

@r9jdp is already working on this.

Since Dec 13, 2025.

  • #21 by @r9jdp — open
  • #30 by @dark-Invincible — open

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript

Research direction

Start with the network configuration in src/utils/[networkConfig] and compare its existing entries to establish the fields and format used. The issue asks for Ethereum Classic mainnet configuration and a Mordor testnet rename; verify the chain IDs and RPC and explorer endpoints against reliable network references. Done means both networks appear in the SDK and the issue’s build, integration, and transaction checks pass, with the requested screenshots.

Written by the indexing model from the issue text.

Description

difficulty:hard hackathon

Description

Overview

Add support for Ethereum Classic mainnet network to the StablePay SDK and rename the existing Ethereum Classic testnet from "ethereum classic" to "mordor testnet" for better clarity and standardization.


Tasks

1. SDK Configuration Updates
  • Add Ethereum Classic mainnet network configuration details to the SDK utilities
  • Rename existing Ethereum Classic testnet from "ethereum classic" to "mordor testnet"
  • Review and match configuration parameters based on existing network configurations (RPC URL, Chain ID, Block Explorer, etc.)
  • Update the utils file with the new network configurations
2. Local Testing & Integration
  • Package the SDK locally using npm pack or npm link
  • Navigate to the StablePay Merchant Demo website repository
  • Update package.json to use the locally packed/linked SDK
  • Test the dropdown menu and transactions
3. Documentation & Screenshots

Capture screenshots of:

  • Network selection UI showing both networks
  • Successful transaction flow on ETC mainnet
  • Successful transaction flow on Mordor testnet
  • Console logs showing correct network configuration

Record a screen recording demonstrating the complete workflow (optional but recommended)


Files to be Modified

  • src/utils/[networkConfig] - Add ETC mainnet, rename ETC testnet

Acceptance Criteria

  • Ethereum Classic mainnet configuration added successfully
  • Mordor testnet properly renamed and functional
  • SDK packages locally without errors
  • Merchant demo website integrates with updated SDK
  • Both networks available in network selection dropdown
  • Transactions work on both ETC mainnet and Mordor testnet
  • Screenshots/recordings provided as evidence
  • No breaking changes to existing networks

Testing Checklist

  • SDK builds without errors
  • Network dropdown displays both ETC networks
  • RPC endpoints are correctly configured
  • Test transaction on Ethereum Classic mainnet
  • Test transaction on Mordor testnet
  • Verify network switching functionality
  • Console logs show correct chain IDs and endpoints

Dominant language
JavaScript
Stars
16
Forks
29
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from StabilityNexus/StablePay

All issues in StabilityNexus/StablePay

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.