e/accDocs Build X
Docs  /  Elysium knowledge base

Deploying and verifying

The standard Foundry and Hardhat flows work on Elysium with a few chain-specific details, covered below.

Before you deploy

Foundry

foundry.toml

[profile.default]
src = "src"
out = "out"
libs = ["lib"]

[rpc_endpoints]
elysium_testnet = "${ELYSIUM_TESTNET_RPC}"

Deploy

forge create src/MyContract.sol:MyContract \
  --rpc-url elysium_testnet --private-key $PRIVATE_KEY --broadcast
Remember --broadcastWithout --broadcast, forge create only simulates and nothing is deployed.

Verify

forge verify-contract <address> src/MyContract.sol:MyContract \
  --chain 99801 --verifier blockscout \
  --verifier-url https://elysium.kinetiq.xyz/api/

The explorer link Foundry prints is missing /testnet-explorer in its path; add it yourself to open the page.

The verification access code

On 28 October 2026 the official verification service replied that it needs a partner access code, passed as the explorer key. Some older guides say no key is needed; the live service says otherwise. Ask Kinetiq for an access code, then:

Hardhat 3 (viem toolbox)

Add a chain descriptor for chain 99801 that points at the Blockscout API, read the RPC URL and access code with configVariable, then run npx hardhat verify blockscout with your network and address. Check the descriptor keys against the Hardhat 3 docs for your version.

With the build agent

The agent prepares unsigned deploy transactions with live gas estimates, and writes the exact Foundry and Hardhat verification commands with your constructor values already encoded. See Launching.

Last updated 28 October 2026. Elysium mainnet details are added here as soon as Kinetiq publishes them.