Foundry

Once your smart contract is deployed to Neura Testnet, you can verify it on Neura Explorer (Blockscout-based) to make the source code publicly viewable and auditable.

Contract verification uploads the source code and metadata used during compilation so the bytecode can be matched against what's deployed on-chain.

Network Details

  • Chain ID: 267

  • RPC URL: https://testnet.rpc.neuraprotocol.io

  • Blockscout Verifier URL: https://testnet-blockscout.infra.neuraprotocol.io/api/

  • Explorer URL: https://testnet-blockscout.infra.neuraprotocol.io/

  • Verification Standard: blockscout

Verification Command

forge verify-contract \
    <contract_address> \
    <contract_path>:<contract_name> \
    --chain <chain_id> \
    --verifier blockscout \
    --verifier-url <verifier_url>

Example Command

Example Output

Check the verified contract on Neura Blockscout Explorer.


Last updated