aere-quantum/agents/x402/dovezi-28001/rpc-inregistrat-2026-09-29-21-42-10.json
Liviu 8b608fe57f agents/x402: a 2-of-2 contract wallet (ERC-1271) that neither the agent nor its owner can spend from alone
AereAgentWallet2of2 holds the agent's tokens and accepts only the agent's signature followed by the policy
service's, over the same digest. In the new cosign mode the wallet service signs only its half, after every
check it already made, and the agent adds its half only after it recomputes the payment itself (payer,
recipient, amount, the nonce of its own ledger entry, validity, digest, declared policy signer).
verifica-plati.mjs requires the wallet's code on chain to be exactly the compiled contract with the two
signers; recompileaza-contract.mjs recompiles the published artifact byte for byte with solc 0.8.23.

Tests: co-signing 16/16, payment verifier 14/14, negative control 30/30, wallet 25/25. On the public
testnet 28001 on 2026-09-29: 13/13 with the 2-of-2 wallet (the agent alone and the policy signer alone
refused by the facilitator and by the token asked on chain) and 9/9 with the wallet key. Evidence in
dovezi-28001/. Nothing here has been run on the Aere Network mainnet.
2026-09-30 00:48:10 +03:00

206 lines
9.7 KiB
JSON

{
"v": 1,
"recordedAt": "2026-09-29T21:42:19.343Z",
"rpc": "https://testnet-rpc.aere.network",
"chainId": "0x6d61",
"receipts": {
"0xd00d81dbeac63874f11146b10008eb614a0c8c550176ed1e46a5989de41f2d20": {
"blockHash": "0x2b37241d2181dadfaa03f8a07d84cc268556782a8c73b14435b82b6e0415b6bd",
"blockNumber": "0x3d80f9",
"contractAddress": null,
"cumulativeGasUsed": "0x144b8",
"from": "0x50f2a153be2c248b7050914a08f4f6f4498c4e48",
"gasUsed": "0x144b8",
"effectiveGasPrice": "0x3b9aca00",
"logs": [
{
"address": "0x8215ba247a3574af8ebc36606eb437811e318fbd",
"topics": [
"0x98de503528ee59b575ef0c0a2576a82497bfc029a5685b209e9ec333479b10a5",
"0x000000000000000000000000d07ff8b519edf9c2ebecfe230602fb4598334a37",
"0xa97a7a593a9badd25da8eec3c1cb9c277748c213179ccbbaa15ffc12e916581c"
],
"data": "0x",
"blockNumber": "0x3d80f9",
"transactionHash": "0xd00d81dbeac63874f11146b10008eb614a0c8c550176ed1e46a5989de41f2d20",
"transactionIndex": "0x0",
"blockHash": "0x2b37241d2181dadfaa03f8a07d84cc268556782a8c73b14435b82b6e0415b6bd",
"blockTimestamp": "0x6abc30a2",
"logIndex": "0x0",
"removed": false
},
{
"address": "0x8215ba247a3574af8ebc36606eb437811e318fbd",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x000000000000000000000000d07ff8b519edf9c2ebecfe230602fb4598334a37",
"0x0000000000000000000000007bdf94f6de68720a494917fec1114745da71cb9e"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000002710",
"blockNumber": "0x3d80f9",
"transactionHash": "0xd00d81dbeac63874f11146b10008eb614a0c8c550176ed1e46a5989de41f2d20",
"transactionIndex": "0x0",
"blockHash": "0x2b37241d2181dadfaa03f8a07d84cc268556782a8c73b14435b82b6e0415b6bd",
"blockTimestamp": "0x6abc30a2",
"logIndex": "0x1",
"removed": false
}
],
"logsBloom": "0x00000000000000000080000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000200000000008000000000000000000008000000000000000000000080000000002000000000000000000080000000000000000000000000000000000000000010000200000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000004000000000000020000000020000000000002000000000000000000000000000000000000000000000000000000000000000000000000000180000000000000001000000000000000000000000000",
"status": "0x1",
"to": "0x8215ba247a3574af8ebc36606eb437811e318fbd",
"transactionHash": "0xd00d81dbeac63874f11146b10008eb614a0c8c550176ed1e46a5989de41f2d20",
"transactionIndex": "0x0",
"type": "0x2"
},
"0xdc654e77fb993a7434b1146fdb94a45ad592eaa42e7099bf0df7db1eae3271ec": {
"blockHash": "0x4b82db2558d02fecb52d54d41c78082505dcaf4d7dd92f65d91d68d568e93da0",
"blockNumber": "0x3d8101",
"contractAddress": null,
"cumulativeGasUsed": "0x101f8",
"from": "0x50f2a153be2c248b7050914a08f4f6f4498c4e48",
"gasUsed": "0x101f8",
"effectiveGasPrice": "0x3b9aca00",
"logs": [
{
"address": "0x8215ba247a3574af8ebc36606eb437811e318fbd",
"topics": [
"0x98de503528ee59b575ef0c0a2576a82497bfc029a5685b209e9ec333479b10a5",
"0x000000000000000000000000d07ff8b519edf9c2ebecfe230602fb4598334a37",
"0x8285c4690c836b1196d71a44dbca6859a603e8a66baf993c542c58c5f243c8de"
],
"data": "0x",
"blockNumber": "0x3d8101",
"transactionHash": "0xdc654e77fb993a7434b1146fdb94a45ad592eaa42e7099bf0df7db1eae3271ec",
"transactionIndex": "0x0",
"blockHash": "0x4b82db2558d02fecb52d54d41c78082505dcaf4d7dd92f65d91d68d568e93da0",
"blockTimestamp": "0x6abc30a6",
"logIndex": "0x0",
"removed": false
},
{
"address": "0x8215ba247a3574af8ebc36606eb437811e318fbd",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x000000000000000000000000d07ff8b519edf9c2ebecfe230602fb4598334a37",
"0x0000000000000000000000007bdf94f6de68720a494917fec1114745da71cb9e"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000002710",
"blockNumber": "0x3d8101",
"transactionHash": "0xdc654e77fb993a7434b1146fdb94a45ad592eaa42e7099bf0df7db1eae3271ec",
"transactionIndex": "0x0",
"blockHash": "0x4b82db2558d02fecb52d54d41c78082505dcaf4d7dd92f65d91d68d568e93da0",
"blockTimestamp": "0x6abc30a6",
"logIndex": "0x1",
"removed": false
}
],
"logsBloom": "0x00000000000000000080000000000000000000000100000000000000000000000000000000000000200000000000000000000000000000000000000200000000008000000000200000000008000000000000000000000080000000002000000000000000000080000000000000000000000000000000000000000010000000000000000000000000000000000000000004000000000000004000000000000000000000000000000000000000000000000004000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000180000000000000001000000000000000000000000000",
"status": "0x1",
"to": "0x8215ba247a3574af8ebc36606eb437811e318fbd",
"transactionHash": "0xdc654e77fb993a7434b1146fdb94a45ad592eaa42e7099bf0df7db1eae3271ec",
"transactionIndex": "0x0",
"type": "0x2"
},
"0xe01fe7e8cf63237a2fc1fd58a416c84ce051bb372a806bcf228f843f87699a55": {
"blockHash": "0x53e86d6e001807b5b02bde5c3bf1378e9a724035e63779390a4af904aaedaf8b",
"blockNumber": "0x3d810a",
"contractAddress": null,
"cumulativeGasUsed": "0x101f8",
"from": "0x50f2a153be2c248b7050914a08f4f6f4498c4e48",
"gasUsed": "0x101f8",
"effectiveGasPrice": "0x3b9aca00",
"logs": [
{
"address": "0x8215ba247a3574af8ebc36606eb437811e318fbd",
"topics": [
"0x98de503528ee59b575ef0c0a2576a82497bfc029a5685b209e9ec333479b10a5",
"0x000000000000000000000000d07ff8b519edf9c2ebecfe230602fb4598334a37",
"0x6eb5c75028a636c1fa1cde1bb84b1bd4552b0ddebf254f75cbfd9b0279ce91a6"
],
"data": "0x",
"blockNumber": "0x3d810a",
"transactionHash": "0xe01fe7e8cf63237a2fc1fd58a416c84ce051bb372a806bcf228f843f87699a55",
"transactionIndex": "0x0",
"blockHash": "0x53e86d6e001807b5b02bde5c3bf1378e9a724035e63779390a4af904aaedaf8b",
"blockTimestamp": "0x6abc30ab",
"logIndex": "0x0",
"removed": false
},
{
"address": "0x8215ba247a3574af8ebc36606eb437811e318fbd",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x000000000000000000000000d07ff8b519edf9c2ebecfe230602fb4598334a37",
"0x0000000000000000000000007bdf94f6de68720a494917fec1114745da71cb9e"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000002710",
"blockNumber": "0x3d810a",
"transactionHash": "0xe01fe7e8cf63237a2fc1fd58a416c84ce051bb372a806bcf228f843f87699a55",
"transactionIndex": "0x0",
"blockHash": "0x53e86d6e001807b5b02bde5c3bf1378e9a724035e63779390a4af904aaedaf8b",
"blockTimestamp": "0x6abc30ab",
"logIndex": "0x1",
"removed": false
}
],
"logsBloom": "0x00000000000000000080000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000200000000008000000000000000000008000000000000000000000080000000002000000000000001000080000000000000000000000000000000000000000010000000000000000000000000000000000000008000000000000000004020000000000000000000000000000000000000000000000004000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000180000000000000001000000000000000000000000000",
"status": "0x1",
"to": "0x8215ba247a3574af8ebc36606eb437811e318fbd",
"transactionHash": "0xe01fe7e8cf63237a2fc1fd58a416c84ce051bb372a806bcf228f843f87699a55",
"transactionIndex": "0x0",
"type": "0x2"
}
},
"transfersOut": [
{
"logIndex": "0x1",
"removed": false,
"blockNumber": "0x3d80f9",
"blockHash": "0x2b37241d2181dadfaa03f8a07d84cc268556782a8c73b14435b82b6e0415b6bd",
"blockTimestamp": "0x6abc30a2",
"transactionHash": "0xd00d81dbeac63874f11146b10008eb614a0c8c550176ed1e46a5989de41f2d20",
"transactionIndex": "0x0",
"address": "0x8215ba247a3574af8ebc36606eb437811e318fbd",
"data": "0x0000000000000000000000000000000000000000000000000000000000002710",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x000000000000000000000000d07ff8b519edf9c2ebecfe230602fb4598334a37",
"0x0000000000000000000000007bdf94f6de68720a494917fec1114745da71cb9e"
]
},
{
"logIndex": "0x1",
"removed": false,
"blockNumber": "0x3d8101",
"blockHash": "0x4b82db2558d02fecb52d54d41c78082505dcaf4d7dd92f65d91d68d568e93da0",
"blockTimestamp": "0x6abc30a6",
"transactionHash": "0xdc654e77fb993a7434b1146fdb94a45ad592eaa42e7099bf0df7db1eae3271ec",
"transactionIndex": "0x0",
"address": "0x8215ba247a3574af8ebc36606eb437811e318fbd",
"data": "0x0000000000000000000000000000000000000000000000000000000000002710",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x000000000000000000000000d07ff8b519edf9c2ebecfe230602fb4598334a37",
"0x0000000000000000000000007bdf94f6de68720a494917fec1114745da71cb9e"
]
},
{
"logIndex": "0x1",
"removed": false,
"blockNumber": "0x3d810a",
"blockHash": "0x53e86d6e001807b5b02bde5c3bf1378e9a724035e63779390a4af904aaedaf8b",
"blockTimestamp": "0x6abc30ab",
"transactionHash": "0xe01fe7e8cf63237a2fc1fd58a416c84ce051bb372a806bcf228f843f87699a55",
"transactionIndex": "0x0",
"address": "0x8215ba247a3574af8ebc36606eb437811e318fbd",
"data": "0x0000000000000000000000000000000000000000000000000000000000002710",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x000000000000000000000000d07ff8b519edf9c2ebecfe230602fb4598334a37",
"0x0000000000000000000000007bdf94f6de68720a494917fec1114745da71cb9e"
]
}
]
}