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

Abierto
#18 16 comentarios 0 reacciones 0 asignados Ver en GitHub

@r9jdp ya está trabajando en esto.

Desde el 13/12/2025.

  • #21 de @r9jdp — abierto
  • #30 de @dark-Invincible — abierto

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
javascript

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
JavaScript
Estrellas
16
Forks
29
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de StabilityNexus/StablePay

Todos los issues de StabilityNexus/StablePay

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.