Aere Network public source. Everything here can be checked against the live chain (chain id 2800, https://rpc.aere.network). Scope note, stated up front rather than buried: consensus on chain 2800 is classical secp256k1 ECDSA QBFT. The post-quantum work in this repository is at the signature, precompile, account and transport layers. Nothing here makes the consensus post-quantum, and no document in it should be read as claiming so.
12 lines
341 B
Solidity
12 lines
341 B
Solidity
// SPDX-License-Identifier: MIT
|
|
pragma solidity ^0.8.20;
|
|
|
|
contract P256Probe {
|
|
function probe(bytes32 h, uint256 r, uint256 s, uint256 x, uint256 y)
|
|
external view returns (bool callOk, bytes memory ret)
|
|
{
|
|
bytes memory args = abi.encode(h, r, s, x, y);
|
|
(callOk, ret) = address(0x100).staticcall(args);
|
|
}
|
|
}
|