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.
Last updated
Instructions and examples for calling the smart contract functions that would allow third party projects to transfer assets across EVM networks.
Last updated
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 .
Deposits are initiated from contracts called "SpokePools" deployed on any supported EVM. For example, on Ethereum the contract is named "Ethereum_SpokePool.sol"_, and on Optimism the contract is named "Optimism_SpokePool.sol".
Spoke pool addresses can be found .
Deposits are triggered via the SpokePool contract's deposit
function, whose parameters are explained in detail . This documentation also explains how to populate parameters like relayerFeePct
and quoteTime.
is a deposit sent on Optimism. is a deposit on Ethereum
Deposit and corresponding fill events are conveniently scraped by a database and displayed .
The database implementation can be found in this .
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 .
Not yet, working on it!
We using the API for the easiest way to query suggested deposit params.
Can I use the to submit contract transactions?