Developer Guides
Code Samples To Get You Started
Last updated
Code Samples To Get You Started
Last updated
The guides in the following section are targeted at application developers as well as smart contract integrators that are interested in building on top of the KyberSwap Aggregator ecosystem.
To cater for varying integration complexities, KyberSwap Aggregator offers developers 2 options for integration:
KyberSwap Widget: An endlessly customizable widget that can be seamlessly integrated with a few lines of code. Refer to Integrating The KyberSwap Widget for instructions on how to install and add the widget to your frontend.
Aggregator API: For developers that require more fine-tuned control when integrating swap functionality within their app. If you're just getting started with the KyberSwap Aggregator, you can refer to our Execute A Swap With The Aggregator API dev guide for information and code samples on how to query and execute swaps at the favourable rates.
The EVM swap API has been upgraded for more performant queries and the details behind the enhancement as well as the updated swap flows can be viewed on Upgrading To APIv1.
KyberSwap Aggregator implements a router contract which handles the complexity of routing and executing swaps atomically. Please refer to Aggregator Contract Addresses for the full list of contracts which have been deployed across the supported chains.