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

オープン
#18 コメント 16 件 リアクション 0 件 担当者 0 名 GitHub で見る

@r9jdp がすでに取り組んでいます。

2025年12月13日 から。

  • #21 @r9jdp による — オープン
  • #30 @dark-Invincible による — オープン

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
JavaScript
スター
16
フォーク
29
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

StabilityNexus/StablePay のほかの issue

StabilityNexus/StablePay の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。