Paznicul StateWindowReader exista din 2026-08-01 si are 12 teste. Testele ruleaza pe un nod fals. Un nod fals dovedeste ca acel cod face ce a crezut autorul; nu dovedeste ca punctul public se mai poarta cum a masurat autorul. state-window-live.ts inchide golul. Nu e in `npm test`, fiindca o suita care cade cand pica internetul invata oamenii sa ignore rosul. Ruleaza asa: npm run test:live npm run test:live -- https://rpc2.aere.network Ordinea conteaza si e deliberata: PASUL 1 ESEC PLANTAT. Apelul brut chiar intoarce zeroul fals. PASUL 2 CONTROL NEGATIV. Cu paznicii opriti, cititorul da zeroul mai departe. PASUL 3 PAZNICUL. Cu paznicii porniti, refuza. PASUL 4 MASOARA. Cauta marginea in loc sa creada constanta. Adevarul e ancorat intr-un CORP de bloc, nu in stare, deci proba nu depinde de lucrul pe care il testeaza: blocul 8.236.382 spune ca 0xbeb33d20 a semnat cu nonce 123.063. MASURAT azi pe ambele puncte, iesire 0: rpc.aere.network 511 raspunde, 512 refuzat, nonce brut la adancime "0x0" rpc2.aere.network 511 raspunde, 512 refuzat, nonce brut la adancime "0x0" Si paznicul a fost dovedit ca poate sa cada. Cu cei trei paznici inlocuiti cu cioturi care accepta tot, in dist, 5 din 12 teste trec pe rosu si suita iese cu 1. Reconstruit dupa, dist/state-window.js identic octet cu octet cu inainte. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
55 lines
1.4 KiB
JSON
55 lines
1.4 KiB
JSON
{
|
|
"name": "@aere/sdk",
|
|
"version": "0.16.12",
|
|
"description": "Official AERE Network SDK: typed ethers v6 clients for AERE L1 (chain ID 2800). 35+ typed clients over a 130+ contract address book, covering core DeFi, agentic x402 settlement, compliance, ERC-4337 account abstraction, t-of-n post-quantum custody, the 5 live NIST PQC precompiles (Falcon-512/1024, ML-DSA-44, SLH-DSA-128s, SHAKE256), and a seedless hybrid PQC wallet.",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"bin": {
|
|
"aere": "./dist/cli/aere-cli.js"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
},
|
|
"./addresses": {
|
|
"types": "./dist/addresses.d.ts",
|
|
"import": "./dist/addresses.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "node --test dist/test/*.js",
|
|
"test:live": "node dist/test/state-window-live.js"
|
|
},
|
|
"keywords": [
|
|
"aere",
|
|
"blockchain",
|
|
"ethereum",
|
|
"evm",
|
|
"layer-1",
|
|
"qbft",
|
|
"defi",
|
|
"sdk"
|
|
],
|
|
"homepage": "https://aere.network/docs.html",
|
|
"repository": "https://git.aere.network/aere-network/sdk-js",
|
|
"license": "MIT",
|
|
"peerDependencies": {
|
|
"ethers": "^6.13.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.5.0",
|
|
"ethers": "^6.13.4",
|
|
"typescript": "^5.6.0"
|
|
},
|
|
"dependencies": {
|
|
"@noble/post-quantum": "^0.6.1"
|
|
}
|
|
}
|