Swap
This document mainly explains the technical implementation details and contract logic of the SUN.io protocol. It is intended to help SUN.io developers contribute to the open-source codebase and allow third-party developers to integrate SUN.io functionalities into their own applications.
NOTE:
All code lines beginning with $
are meant to be executed in a terminal.
Lines starting with >>>
are meant to run in a Node.js environment.
Some code examples in this document use TronWeb and assume the reader has basic knowledge of TronWeb.
Last updated