Understand how to handle protocol fees and executor payments in cross-chain messages
OutMessageV1
structure contains all the fields needed for cross-chain messages:
settings.getTrustedTVMExecutors()
or use an empty array for default executors.
toBridge: List of ERC20 tokens you want to bridge to the TON network and transfer to tvmTarget.
toBridgeNFT: List of NFTs you want to bridge to the TON network and transfer to tvmTarget.
You can retrieve the list of default trusted executors by calling settings.getTrustedTVMExecutors() on the Settings contract.Key Points:
tvmProtocolFee: 0
and tvmExecutorFee: 0
shardsKey
from incoming headertvmValidExecutors
to empty array - executors already defined in original TON message