Integrating Across into your application
Instructions and examples for calling the smart contract functions that would allow third party projects to transfer assets across EVM networks.
Across was designed as a platform on which third party projects enabling cross chain asset transfer could be built. We are very excited to build together and we've put together this guide which should contain everything you need to integrate with Across.
If you have further questions or suggestions for this guide, please send a message to the #developer-questions channel in the Across Discord.
Deposits are initiated from contracts called "SpokePools" deployed on any supported EVM. For example, on Ethereum the contract is named "EthereumSpokePool.sol", and on Optimism the contract is named "Optimism_SpokePool.sol".
Deposits are triggered via the SpokePool contract's
deposit
function, whose parameters are explained in detail here. This documentation also explains how to populate parameters like relayerFeePct
and quoteTime.
The lower a deposit's relayer fee %, the less relayers are incentivized to fulfill it. While a deposit is not fully filled, its relayer fee % can be increased by calling
speedUpDeposit
.- Not yet, working on it!
Last modified 10mo ago