Skip to content

2.1 Verify the Split Contract ​

On EVM chains the split contract is verified automatically after deployment, so if you deployed on an EVM chain you can skip this step.

Tronscan does not expose an API for automatic contract verification, so for Tron we recommend verifying manually. The steps are:

  • Download the source of the HashNut Tron split contract
https://github.com/nuttybounty/tron-contracts/tree/main/flatten

You only need to download ServiceProxy.flat.sol.

Use these values:

ParameterValue
Contract AddressThe split contract address, taken from your account info
Main ContractServiceProxy
Solidity Compiler Versiontron_v0.8.24+commit.7d902c6
LicenseMIT License(MIT)
OptimizationActived
Runs200
ViaIRNo — skip if the option is not shown
VM versionshanghai(default for >=v0.8.20)
  • Upload the contract source img

Click Upload Contract File(s), select ServiceProxy.flat.sol and upload it.

  • Complete the captcha img

  • Click Verify And Publish img

  • Verification succeeded — click View Contract details img

  • The contract code page img

Note that Read As Proxy takes a while to appear. Wait a moment and it will show up.

  • Click Read as proxy img

2.1.2 Check the contract parameters ​

After the split contract is deployed, check that its parameters are what you expect. If anything looks wrong, contact HashNut before going any further.

  • Check that the split rate is correct img

  • Check that the receipt addresses were added to the contract img