Repository navigation
v1.2.0 — Ergo Testnet Kit (Auto-Failover, Stale-Indexer Alert, 0-Sig Finalize) & Block #670,037 PQ Proofs
Ergo Testnet & Nautilus EIP-12 JS Kit v1.2.0 + Block #670,037 Post-Quantum Zero-Fork Proofs
What's New in ergo-testnet-kit.js v1.2.0
- Smart Multi-Endpoint Auto-Failover (
fetchBestNetworkState): probes local Ergo node (http://127.0.0.1:9052) and public Testnet Explorer (https://api-testnet.ergoplatform.com) in parallel and automatically selects the highest live chain tip. - Stale-Indexer Lag Detection (
lagMinutes,isStale): detects when a public Explorer lags >30 minutes behind chain tip so dApps can alert users cleanly instead of silently showing stale UTXO heights. - Permissionless 0-Signature Recovery Finalize (
buildEip12SocialFinalizeTx): buildsSocialRecoveryWalletmode = 3Ltransactions verified directly on ScalaSigmaPropVerifier 6.0.3withproofBytes = 0 B(cost = 328). - 14/14 Byte-for-Byte Sigma
ValueSerializer+ Base58Check Parity verified against Scalasigma-state 6.0.3in Node.js CI, plus 4/4 Social Recovery / DailyLimit and 3/3 PTLC / HTLC EIP-12 spend builders verified onSigmaPropVerifier.
Mined On-Chain Ergo Testnet Proofs (11 / 11 Confirmed)
- Block
#670,037— Post-Quantum Zero-Fork WOTS+ (0 BSchnorr, Zerosecp256k1):- PQ-1 Mint Singleton NFT & Lock:
ab2dba212b174aefcc46fc51fdfe2bf2b844fad8fd8c8504af374b2d30943351 - PQ-2 WOTS+ Leaf
#0Partial Spend (proofBytes = 0 B,cost = 11,537/1.15%):bb4162a3dee977eb3f9f9b6f4d5a9e11e8d8d342cc8b9e5fd878c2f98cf55675 - PQ-3 WOTS+ Leaf
#1Consecutive Spend (proofBytes = 0 B,cost = 11,742/1.17%):ef77a6837eb867e6a2692314fcdd728799137c14b4b6dd6681aae3fe566c241b
- PQ-1 Mint Singleton NFT & Lock:
- Blocks
#669,944ʝ,946— 8/8 Confirmed Social Recovery, Daily Limit & Atomic Swap Proofs (linked on a-shannon.github.io).
Drop-In Usage
<script src="https://a-shannon.github.io/lib/ergo-testnet-kit.js"></script>