Add full Chain 138 integration: 8 steps, chain spec, app-ethereum config, docs

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
defiQUG
2026-02-12 15:57:08 -08:00
parent 17020ba236
commit bee1d29d55
33 changed files with 1444 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
# Step 8 — Manual tests
- **test-plan.md** — Full send/receive test plan (sync, receive, balance, broadcast, operations, account). Check off each item after testing in Ledger Wallet.
- **run-checklist.sh** — Prints the checklist to the terminal. Run: `chmod +x run-checklist.sh && ./run-checklist.sh`.
Complete these tests before considering the integration done or before submitting to Ledger.

View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
# Step 8 — Manual test checklist runner (prints steps; no automation)
# Usage: ./run-checklist.sh
set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
echo "=== Ledger Chain 138 Manual Test Checklist ==="
echo "Run each item in Ledger Wallet (desktop or mobile) with Defi Oracle Meta Mainnet."
echo ""
cat "${SCRIPT_DIR}/test-plan.md"
echo ""
echo "=== End of checklist ==="

View File

@@ -0,0 +1,42 @@
# Step 8 — Send/Receive Manual Test Plan
**Source:** [Ledger Manual tests](https://developers.ledger.com/docs/ledger-live/accounts/integration/blockchain/test-plan)
Execute after Chain 138 is added to Ledger Wallet (LLD/LLM). Use a Ledger device with Ethereum app and Chain 138 configured.
---
## Synchronization
- [ ] Add an account (Defi Oracle Meta Mainnet)
- [ ] Migrate an account: Add an account in prod, dont crash using tested version
- [ ] Synchronizing manually does not throw an error (green check)
- [ ] Synchronizing of a big account (multiple pages when fetching history)
## Receive / Address verification
- [ ] Users can verify their address with the nano
- [ ] Users can verify their address without the nano
## Balance
- [ ] Available balance is right
## Broadcast
- [ ] Send max operation empties the account
- [ ] Send operation sends the right amount
- [ ] Users cannot send more than their balance
## Operations
- [ ] Optimistic operation is filled correctly
- [ ] Operation history has every transaction of the account
- [ ] Operation has the right transaction ID
- [ ] User can reach the tx details by clicking on “View on explorer”
- [ ] Operation account is right
## Account details
- [ ] Fiat value fetched from countervalues is right (if enabled)
- [ ] Users can favorite their account and it is shown