Skip to content
Available on private testnetTestnet: configuration only (not executed)Mainnet: Not availableSoftware: Core bad4a06ea · protocol pqwerai-v8-testnet/1Updated

Hardhat

Not executed for this release

This configuration is derived from the verified chain parameters but was not run (Hardhat was not installed on the test machine). Report problems with the link at the bottom of the page.

hardhat.config.ts
import type { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";

const config: HardhatUserConfig = {
  solidity: {
    version: "0.8.26",
    settings: { evmVersion: "cancun", optimizer: { enabled: true, runs: 200 }, metadata: { bytecodeHash: "none" } },
  },
  networks: {
    pqwerai: {
      url: process.env.PQWERAI_RPC ?? "http://127.0.0.1:8545",
      chainId: 77240,
      accounts: process.env.DEPLOYER_KEY ? [process.env.DEPLOYER_KEY] : [], // prefer a hardware wallet or keystore plugin
    },
  },
};
export default config;
npx hardhat compile
npx hardhat run scripts/deploy.ts --network pqwerai
  • Do not commit private keys or .env files; never reuse a mainnet key.
  • Hardhat's "finalized" helpers do not understand PQWERAI finality; check g4_status (finality).
  • Contract verification plugins (Etherscan) do not apply; use byte-for-byte verification.

Sources at 72057fe3ec: testnet/release/network/network.json

Found a problem? Report a documentation issue · Build testnet-rc1+72057fe3ec