Filfox
Step-by-step guide for verifying smart contracts on the Filecoin network using the Filfox explorer's web interface.
The following guide walks you through the process of contract verification using the Filfox explorer.
Prerequisites
A deployed smart contract on Filecoin
Your contract's source code (
.sol
file)Remix IDE for flattening contracts
Contract deployment details (address, compiler version, license)
Step-by-Step Verification Process
Step 1: Prepare Your Contract Source Code
Open Remix IDE:

Flatten your contract:
In the File Explorer sidebar, under contracts, right-click on your contract
Select Flatten from the menu
This creates a
<contract-name>_flattened.sol
file with all dependencies included
Verify contract details:
Ensure the license and Solidity version match your original contract
Click Save to save the flattened contract
Download the flattened contract:
Right-click on
<contract-name>_flattened.sol
Select Download to save the file locally
Gather required information:
Contract deployment address
Contract license type (if any)
Solidity compiler version used for deployment
Step 2: Submit for Verification
Access Filfox verification page:
Navigate to the Filfox Contract Verification page
Fill in contract information:
Enter your contract's deployment address
Select the appropriate license type
Choose the compiler version used for deployment

Upload source code:
Click Continue to proceed
Click Select .sol files
Choose your flattened
.sol
fileClick Verify and Publish to submit
Step 3: Verification Complete
Once submitted, Filfox will process your verification request. Upon successful verification, you'll see a success message confirming your contract is now verified.

Viewing Your Verified Contract
Navigate to your contract:
Enter your contract address in the Filfox search bar
This will take you to your contract's page

View verification status:
Scroll down and select the Contract tab
Look for the Contract Source Code Verified banner
Your contract's source code and ABI will now be publicly visible
Explore verified contracts:
Learn from verified contract examples in the ecosystem

Last updated
Was this helpful?